/linux-4.4.14/drivers/staging/gdm72xx/ |
D | netlink_k.c | 31 ((void *)((char *)nlmsg_data(nlh) + ND_IFINDEX_LEN)) 34 #define ND_NLMSG_IFIDX(nlh) nlmsg_data(nlh) 141 memcpy(nlmsg_data(nlh), msg, len); in netlink_send()
|
/linux-4.4.14/security/selinux/ |
D | netlink.c | 50 struct selnl_msg_setenforce *msg = nlmsg_data(nlh); in selnl_add_payload() 58 struct selnl_msg_policyload *msg = nlmsg_data(nlh); in selnl_add_payload()
|
/linux-4.4.14/net/phonet/ |
D | pn_netlink.c | 85 ifm = nlmsg_data(nlh); in addr_doit() 116 ifm = nlmsg_data(nlh); in fill_addr() 181 rtm = nlmsg_data(nlh); in fill_route() 250 rtm = nlmsg_data(nlh); in route_doit()
|
/linux-4.4.14/net/netlink/ |
D | diag.c | 70 rep = nlmsg_data(nlh); in sk_diag_fill() 114 req = nlmsg_data(cb->nlh); in __netlink_diag_dump() 174 req = nlmsg_data(cb->nlh); in netlink_diag_dump()
|
D | genetlink.c | 507 hdr = nlmsg_data(nlh); in genlmsg_put() 549 struct genlmsghdr *hdr = nlmsg_data(nlh); in genl_family_rcv_msg() 622 info.genlhdr = nlmsg_data(nlh); in genl_family_rcv_msg() 623 info.userhdr = nlmsg_data(nlh) + GENL_HDRLEN; in genl_family_rcv_msg()
|
D | af_netlink.c | 2771 memset(nlmsg_data(nlh) + len, 0, NLMSG_ALIGN(size) - size); in __nlmsg_put() 2856 memcpy(nlmsg_data(nlh), &len, sizeof(len)); in netlink_dump() 2985 errmsg = nlmsg_data(rep); in netlink_ack()
|
/linux-4.4.14/crypto/ |
D | crypto_user.c | 204 ualg = nlmsg_data(nlh); in crypto_report_alg() 221 struct crypto_user_alg *p = nlmsg_data(in_nlh); in crypto_report() 292 struct crypto_user_alg *p = nlmsg_data(nlh); in crypto_update_alg() 328 struct crypto_user_alg *p = nlmsg_data(nlh); in crypto_del_alg() 393 struct crypto_user_alg *p = nlmsg_data(nlh); in crypto_add_alg()
|
/linux-4.4.14/net/ieee802154/ |
D | netlink.c | 64 void *hdr = genlmsg_data(nlmsg_data(nlh)); in ieee802154_nl_mcast() 93 void *hdr = genlmsg_data(nlmsg_data(nlh)); in ieee802154_nl_reply()
|
/linux-4.4.14/net/xfrm/ |
D | xfrm_user.c | 617 struct xfrm_usersa_info *p = nlmsg_data(nlh); in xfrm_add_sa() 695 struct xfrm_usersa_id *p = nlmsg_data(nlh); in xfrm_del_sa() 881 p = nlmsg_data(nlh); in dump_one_state() 1012 f = nlmsg_data(nlh); in build_spdinfo() 1099 u32 *flags = nlmsg_data(nlh); in xfrm_get_spdinfo() 1133 f = nlmsg_data(nlh); in build_sadinfo() 1157 u32 *flags = nlmsg_data(nlh); in xfrm_get_sadinfo() 1175 struct xfrm_usersa_id *p = nlmsg_data(nlh); in xfrm_get_sa() 1208 p = nlmsg_data(nlh); in xfrm_alloc_userspi() 1505 struct xfrm_userpolicy_info *p = nlmsg_data(nlh); in xfrm_add_policy() [all …]
|
/linux-4.4.14/net/packet/ |
D | diag.c | 143 rp = nlmsg_data(nlh); in sk_diag_fill() 197 req = nlmsg_data(cb->nlh); in packet_diag_dump() 233 req = nlmsg_data(h); in packet_diag_handler_dump()
|
/linux-4.4.14/net/unix/ |
D | diag.c | 123 rep = nlmsg_data(nlh); in sk_diag_fill() 187 req = nlmsg_data(cb->nlh); in unix_diag_dump() 307 return unix_diag_get_exact(skb, h, nlmsg_data(h)); in unix_diag_handler_dump()
|
/linux-4.4.14/net/ipv4/ |
D | inet_diag.c | 130 r = nlmsg_data(nlh); in inet_sk_diag_fill() 280 r = nlmsg_data(nlh); in inet_twsk_diag_fill() 315 r = nlmsg_data(nlh); in inet_req_diag_fill() 894 return __inet_diag_dump(skb, cb, nlmsg_data(cb->nlh), bc); in inet_diag_dump() 912 struct inet_diag_req *rc = nlmsg_data(cb->nlh); in inet_diag_dump_compat() 932 struct inet_diag_req *rc = nlmsg_data(nlh); in inet_diag_get_exact_compat() 1002 return inet_diag_get_exact(skb, h, nlmsg_data(h)); in inet_diag_handler_dump() 1019 r = nlmsg_data(nlh); in inet_diag_handler_get_info()
|
D | fib_frontend.c | 645 rtm = nlmsg_data(nlh); in rtm_to_fib_config() 763 ((struct rtmsg *) nlmsg_data(cb->nlh))->rtm_flags & RTM_F_CLONED) in inet_dump_fib() 1092 frn = (struct fib_result_nl *) nlmsg_data(nlh); in nl_fib_input()
|
D | devinet.c | 590 ifm = nlmsg_data(nlh); in inet_rtm_deladdr() 760 ifm = nlmsg_data(nlh); in rtm_to_ifaddr() 1518 ifm = nlmsg_data(nlh); in inet_fill_ifaddr() 1767 ncm = nlmsg_data(nlh); in inet_netconf_fill_devconf()
|
D | ipmr.c | 635 e = nlmsg_data(nlh); in ipmr_destroy_unres() 917 if (__ipmr_fill_mroute(mrt, skb, c, nlmsg_data(nlh)) > 0) { in ipmr_cache_resolve() 924 e = nlmsg_data(nlh); in ipmr_cache_resolve() 2272 rtm = nlmsg_data(nlh); in ipmr_fill_mroute()
|
D | route.c | 2426 r = nlmsg_data(nlh); in rt_fill_info() 2543 rtm = nlmsg_data(nlh); in inet_rtm_getroute()
|
D | fib_semantics.c | 1226 rtm = nlmsg_data(nlh); in fib_dump_info()
|
/linux-4.4.14/drivers/connector/ |
D | connector.c | 118 data = nlmsg_data(nlh); in cn_netlink_send_mult() 148 struct cn_msg *msg = nlmsg_data(nlmsg_hdr(skb)); in cn_call_callback()
|
/linux-4.4.14/net/netfilter/ |
D | nf_conntrack_netlink.c | 486 nfmsg = nlmsg_data(nlh); in ctnetlink_fill_info() 676 nfmsg = nlmsg_data(nlh); in ctnetlink_conntrack_event() 832 struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in ctnetlink_dump_table() 1125 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in ctnetlink_del_conntrack() 1181 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in ctnetlink_get_conntrack() 1267 struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in ctnetlink_dump_list() 1876 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in ctnetlink_new_conntrack() 1979 nfmsg = nlmsg_data(nlh); in ctnetlink_ct_stat_cpu_fill_info() 2066 nfmsg = nlmsg_data(nlh); in ctnetlink_stat_ct_fill_info() 2559 nfmsg = nlmsg_data(nlh); in ctnetlink_exp_fill_info() [all …]
|
D | nf_tables_api.c | 454 nfmsg = nlmsg_data(nlh); in nf_tables_fill_table_info() 506 const struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in nf_tables_dump_tables() 549 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_gettable() 680 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_newtable() 817 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_deltable() 973 nfmsg = nlmsg_data(nlh); in nf_tables_fill_chain_info() 1059 const struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in nf_tables_dump_chains() 1105 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_getchain() 1227 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_newchain() 1481 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_delchain() [all …]
|
D | nfnetlink_cttimeout.c | 172 nfmsg = nlmsg_data(nlh); in ctnl_timeout_fill_info() 427 nfmsg = nlmsg_data(nlh); in cttimeout_default_fill_info()
|
D | nfnetlink_queue.c | 404 nfmsg = nlmsg_data(nlh); in nfqnl_build_packet_message() 965 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nfqnl_recv_verdict_batch() 1037 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nfqnl_recv_verdict() 1118 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nfqnl_recv_config()
|
D | nft_compat.c | 503 nfmsg = nlmsg_data(nlh); in nfnl_compat_fill_info() 542 nfmsg = nlmsg_data(nlh); in nfnl_compat_get()
|
D | nfnetlink_log.c | 421 nfmsg = nlmsg_data(nlh); in __build_packet_message() 821 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nfulnl_recv_config()
|
D | nfnetlink.c | 468 nfgenmsg = nlmsg_data(nlh); in nfnetlink_rcv()
|
D | nfnetlink_acct.c | 145 nfmsg = nlmsg_data(nlh); in nfnl_acct_fill_info()
|
D | nfnetlink_cthelper.c | 424 nfmsg = nlmsg_data(nlh); in nfnl_cthelper_fill_info()
|
/linux-4.4.14/drivers/scsi/ |
D | scsi_netlink.c | 73 hdr = nlmsg_data(nlh); in scsi_nl_rcv_msg()
|
D | scsi_transport_iscsi.c | 2373 ev = nlmsg_data(nlh); in iscsi_recv_pdu() 2403 ev = nlmsg_data(nlh); in iscsi_offload_mesg() 2442 ev = nlmsg_data(nlh); in iscsi_conn_error_event() 2477 ev = nlmsg_data(nlh); in iscsi_conn_login_event() 2507 ev = nlmsg_data(nlh); in iscsi_post_host_event() 2537 ev = nlmsg_data(nlh); in iscsi_ping_comp_event() 2568 memcpy(nlmsg_data(nlh), payload, size); in iscsi_if_send_reply() 2575 struct iscsi_uevent *ev = nlmsg_data(nlh); in iscsi_if_get_stats() 2608 evstat = nlmsg_data(nlhstat); in iscsi_if_get_stats() 2666 ev = nlmsg_data(nlh); in iscsi_session_event() [all …]
|
D | scsi_transport_fc.c | 562 event = nlmsg_data(nlh); in fc_host_post_event() 630 event = nlmsg_data(nlh); in fc_host_post_vendor_event()
|
/linux-4.4.14/net/bridge/ |
D | br_mdb.c | 142 bpm = nlmsg_data(nlh); in br_mdb_dump() 178 bpm = nlmsg_data(nlh); in nlmsg_populate_mdb_fill() 263 bpm = nlmsg_data(nlh); in nlmsg_populate_rtr_fill() 356 bpm = nlmsg_data(nlh); in br_mdb_parse()
|
D | br_fdb.c | 643 ndm = nlmsg_data(nlh); in fdb_fill_info()
|
D | br_netlink.c | 355 hdr = nlmsg_data(nlh); in br_fill_ifinfo()
|
/linux-4.4.14/net/ipv6/ |
D | addrlabel.c | 420 ifal = nlmsg_data(nlh); in ip6addrlbl_newdel() 459 struct ifaddrlblmsg *ifal = nlmsg_data(nlh); in ip6addrlbl_putmsg() 539 ifal = nlmsg_data(nlh); in ip6addrlbl_get()
|
D | ip6mr.c | 852 ((struct nlmsgerr *)nlmsg_data(nlh))->error = -ETIMEDOUT; in ip6mr_destroy_unres() 1108 if (__ip6mr_fill_mroute(mrt, skb, c, nlmsg_data(nlh)) > 0) { in ip6mr_cache_resolve() 1114 ((struct nlmsgerr *)nlmsg_data(nlh))->error = -EMSGSIZE; in ip6mr_cache_resolve() 2367 rtm = nlmsg_data(nlh); in ip6mr_fill_mroute()
|
D | addrconf.c | 504 ncm = nlmsg_data(nlh); in inet6_netconf_fill_devconf() 4092 ifm = nlmsg_data(nlh); in inet6_rtm_deladdr() 4204 ifm = nlmsg_data(nlh); in inet6_rtm_newaddr() 4257 ifm = nlmsg_data(nlh); in put_ifaddrmsg() 4571 ifm = nlmsg_data(nlh); in inet6_rtm_getaddr() 4960 hdr = nlmsg_data(nlh); in inet6_fill_ifinfo() 5075 pmsg = nlmsg_data(nlh); in inet6_fill_prefix()
|
D | route.c | 2718 rtm = nlmsg_data(nlh); in rtm_to_fib6_config() 3070 rtm = nlmsg_data(nlh); in rt6_fill_node() 3213 struct rtmsg *rtm = nlmsg_data(arg->cb->nlh); in rt6_dump_route()
|
D | ndisc.c | 1058 ndmsg = nlmsg_data(nlh); in ndisc_ra_useropt()
|
/linux-4.4.14/net/decnet/netfilter/ |
D | dn_rtmsg.c | 56 rtm = (struct nf_dn_rtmsg *)nlmsg_data(nlh); in dnrmg_build_message()
|
/linux-4.4.14/fs/dlm/ |
D | netlink.c | 57 struct genlmsghdr *genlhdr = nlmsg_data((struct nlmsghdr *)skb->data); in send_data()
|
/linux-4.4.14/include/net/ |
D | rtnetlink.h | 21 return ((struct rtgenmsg *) nlmsg_data(nlh))->rtgen_family; in rtnl_msg_family()
|
D | netlink.h | 292 static inline void *nlmsg_data(const struct nlmsghdr *nlh) in nlmsg_data() function 314 unsigned char *data = nlmsg_data(nlh); in nlmsg_attrdata()
|
/linux-4.4.14/net/sched/ |
D | cls_api.c | 151 t = nlmsg_data(n); in tc_ctl_tfilter() 364 tcm = nlmsg_data(nlh); in tcf_fill_node() 433 struct tcmsg *tcm = nlmsg_data(cb->nlh); in tc_dump_tfilter()
|
D | act_api.c | 671 t = nlmsg_data(nlh); in tca_get_fill() 813 t = nlmsg_data(nlh); in tca_action_flush() 1053 struct tcamsg *t = (struct tcamsg *) nlmsg_data(cb->nlh); in tc_dump_action() 1072 t = nlmsg_data(nlh); in tc_dump_action()
|
D | sch_api.c | 1113 struct tcmsg *tcm = nlmsg_data(n); in tc_get_qdisc() 1198 tcm = nlmsg_data(n); in tc_modify_qdisc() 1349 tcm = nlmsg_data(nlh); in tc_fill_qdisc() 1524 struct tcmsg *tcm = nlmsg_data(n); in tc_ctl_tclass() 1668 tcm = nlmsg_data(nlh); in tc_fill_tclass() 1785 struct tcmsg *tcm = nlmsg_data(cb->nlh); in tc_dump_tclass()
|
/linux-4.4.14/Documentation/connector/ |
D | cn_test.c | 78 msg = nlmsg_data(nlh);
|
/linux-4.4.14/net/core/ |
D | rtnetlink.c | 1209 ifm = nlmsg_data(nlh); in rtnl_fill_ifinfo() 1966 ifm = nlmsg_data(nlh); in rtnl_setlink() 2056 ifm = nlmsg_data(nlh); in rtnl_dellink() 2192 ifm = nlmsg_data(nlh); in rtnl_newlink() 2431 ifm = nlmsg_data(nlh); in rtnl_getlink() 2578 ndm = nlmsg_data(nlh); in nlmsg_populate_fdb_fill() 2702 ndm = nlmsg_data(nlh); in rtnl_fdb_add() 2804 ndm = nlmsg_data(nlh); in rtnl_fdb_del() 2924 struct ifinfomsg *ifm = nlmsg_data(cb->nlh); in rtnl_fdb_dump() 3015 ifm = nlmsg_data(nlh); in ndo_dflt_bridge_getlink() [all …]
|
D | fib_rules.c | 271 struct fib_rule_hdr *frh = nlmsg_data(nlh); in fib_nl_newrule() 431 struct fib_rule_hdr *frh = nlmsg_data(nlh); in fib_nl_delrule() 571 frh = nlmsg_data(nlh); in fib_nl_fill_rule()
|
D | neighbour.c | 1612 ndm = nlmsg_data(nlh); in neigh_delete() 1672 ndm = nlmsg_data(nlh); in neigh_add() 1799 ndtmsg = nlmsg_data(nlh); in neightbl_fill_info() 1890 ndtmsg = nlmsg_data(nlh); in neightbl_fill_param_info() 1955 ndtmsg = nlmsg_data(nlh); in neightbl_set() 2103 family = ((struct rtgenmsg *) nlmsg_data(cb->nlh))->rtgen_family; in neightbl_dump_info() 2160 ndm = nlmsg_data(nlh); in neigh_fill_info() 2212 ndm = nlmsg_data(nlh); in pneigh_fill_info() 2369 family = ((struct rtgenmsg *) nlmsg_data(cb->nlh))->rtgen_family; in neigh_dump_info() 2375 ((struct ndmsg *) nlmsg_data(cb->nlh))->ndm_flags == NTF_PROXY) in neigh_dump_info()
|
D | sock_diag.c | 220 struct sock_diag_req *req = nlmsg_data(nlh); in __sock_diag_rcv_msg()
|
D | drop_monitor.c | 157 nla = genlmsg_data(nlmsg_data(nlh)); in trace_drop_common()
|
D | net_namespace.c | 601 rth = nlmsg_data(nlh); in rtnl_net_fill()
|
/linux-4.4.14/drivers/infiniband/core/ |
D | netlink.c | 124 return nlmsg_data(*nlh); in ibnl_put_msg()
|
D | sa_query.c | 627 head = (const struct nlattr *) nlmsg_data(nlh); in ib_nl_process_good_resolve_rsp() 721 ret = nla_parse(tb, LS_NLA_TYPE_MAX - 1, nlmsg_data(nlh), in ib_nl_handle_set_timeout() 773 ret = nla_parse(tb, LS_NLA_TYPE_MAX - 1, nlmsg_data(nlh), in ib_nl_is_good_resolve_resp()
|
/linux-4.4.14/kernel/ |
D | taskstats.c | 112 struct genlmsghdr *genlhdr = nlmsg_data(nlmsg_hdr(skb)); in send_reply() 126 struct genlmsghdr *genlhdr = nlmsg_data(nlmsg_hdr(skb)); in send_cpu_listeners()
|
D | audit.c | 395 char *data = nlmsg_data(nlh); in audit_printk_skb() 577 data = nlmsg_data(nlh); in audit_make_reply() 761 uaf = nlmsg_data(nlmsg_hdr(skb)); in audit_set_feature() 839 data = nlmsg_data(nlh); in audit_receive_msg()
|
/linux-4.4.14/net/can/ |
D | gw.c | 495 rtcan = nlmsg_data(nlh); in cgw_put_job() 827 r = nlmsg_data(nlh); in cgw_create_job() 940 r = nlmsg_data(nlh); in cgw_remove_job()
|
/linux-4.4.14/net/decnet/ |
D | dn_fib.c | 505 struct rtmsg *r = nlmsg_data(nlh); in dn_fib_rtm_delroute() 530 struct rtmsg *r = nlmsg_data(nlh); in dn_fib_rtm_newroute()
|
D | dn_dev.c | 589 ifm = nlmsg_data(nlh); in dn_nl_deladdr() 635 ifm = nlmsg_data(nlh); in dn_nl_newaddr() 690 ifm = nlmsg_data(nlh); in dn_nl_fill_ifaddr()
|
D | dn_table.c | 310 rtm = nlmsg_data(nlh); in dn_fib_dump_info() 498 ((struct rtmsg *)nlmsg_data(cb->nlh))->rtm_flags&RTM_F_CLONED) in dn_fib_dump()
|
D | dn_route.c | 1567 r = nlmsg_data(nlh); in dn_rt_fill_info() 1646 struct rtmsg *rtm = nlmsg_data(nlh); in dn_cache_getroute() 1742 rtm = nlmsg_data(cb->nlh); in dn_cache_dump()
|
/linux-4.4.14/net/mpls/ |
D | af_mpls.c | 1109 rtm = nlmsg_data(nlh); in rtm_to_route_config() 1231 rtm = nlmsg_data(nlh); in mpls_dump_route()
|
/linux-4.4.14/net/wireless/ |
D | wext-core.c | 427 r = nlmsg_data(nlh); in rtnetlink_ifinfo_prep()
|
D | nl80211.c | 10709 memset(nlmsg_data(nlh), 0, nlmsg_len(nlh)); in nl80211_post_doit()
|
/linux-4.4.14/net/netfilter/ipset/ |
D | ip_set_core.c | 757 nfmsg = nlmsg_data(nlh); in start_msg() 1481 errmsg = nlmsg_data(rep); in call_ad()
|
/linux-4.4.14/net/dcb/ |
D | dcbnl.c | 210 dcb = nlmsg_data(nlh); in dcbnl_newmsg() 1705 struct dcbmsg *dcb = nlmsg_data(nlh); in dcb_doit()
|
/linux-4.4.14/net/switchdev/ |
D | switchdev.c | 1039 ndm = nlmsg_data(nlh); in switchdev_port_fdb_dump_cb()
|
/linux-4.4.14/net/openvswitch/ |
D | datapath.c | 1339 struct ovs_header *ovs_header = genlmsg_data(nlmsg_data(cb->nlh)); in ovs_flow_cmd_dump() 2113 struct ovs_header *ovs_header = genlmsg_data(nlmsg_data(cb->nlh)); in ovs_vport_cmd_dump()
|
/linux-4.4.14/net/tipc/ |
D | netlink_compat.c | 1105 msg.req = nlmsg_data(req_nlh) + GENL_HDRLEN + TIPC_GENL_HDRLEN; in tipc_nl_compat_recv()
|
/linux-4.4.14/drivers/net/ |
D | vxlan.c | 287 ndm = nlmsg_data(nlh); in vxlan_fdb_info()
|
/linux-4.4.14/drivers/block/drbd/ |
D | drbd_nl.c | 88 genlmsg_end(skb, genlmsg_data(nlmsg_data(nlmsg_hdr(skb)))); in drbd_adm_send_reply()
|