Home
last modified time | relevance | path

Searched refs:nlmsg_data (Results 1 – 71 of 71) sorted by relevance

/linux-4.4.14/drivers/staging/gdm72xx/
Dnetlink_k.c31 ((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/
Dnetlink.c50 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/
Dpn_netlink.c85 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/
Ddiag.c70 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()
Dgenetlink.c507 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()
Daf_netlink.c2771 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/
Dcrypto_user.c204 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/
Dnetlink.c64 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/
Dxfrm_user.c617 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/
Ddiag.c143 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/
Ddiag.c123 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/
Dinet_diag.c130 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()
Dfib_frontend.c645 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()
Ddevinet.c590 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()
Dipmr.c635 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()
Droute.c2426 r = nlmsg_data(nlh); in rt_fill_info()
2543 rtm = nlmsg_data(nlh); in inet_rtm_getroute()
Dfib_semantics.c1226 rtm = nlmsg_data(nlh); in fib_dump_info()
/linux-4.4.14/drivers/connector/
Dconnector.c118 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/
Dnf_conntrack_netlink.c486 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 …]
Dnf_tables_api.c454 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 …]
Dnfnetlink_cttimeout.c172 nfmsg = nlmsg_data(nlh); in ctnl_timeout_fill_info()
427 nfmsg = nlmsg_data(nlh); in cttimeout_default_fill_info()
Dnfnetlink_queue.c404 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()
Dnft_compat.c503 nfmsg = nlmsg_data(nlh); in nfnl_compat_fill_info()
542 nfmsg = nlmsg_data(nlh); in nfnl_compat_get()
Dnfnetlink_log.c421 nfmsg = nlmsg_data(nlh); in __build_packet_message()
821 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nfulnl_recv_config()
Dnfnetlink.c468 nfgenmsg = nlmsg_data(nlh); in nfnetlink_rcv()
Dnfnetlink_acct.c145 nfmsg = nlmsg_data(nlh); in nfnl_acct_fill_info()
Dnfnetlink_cthelper.c424 nfmsg = nlmsg_data(nlh); in nfnl_cthelper_fill_info()
/linux-4.4.14/drivers/scsi/
Dscsi_netlink.c73 hdr = nlmsg_data(nlh); in scsi_nl_rcv_msg()
Dscsi_transport_iscsi.c2373 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 …]
Dscsi_transport_fc.c562 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/
Dbr_mdb.c142 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()
Dbr_fdb.c643 ndm = nlmsg_data(nlh); in fdb_fill_info()
Dbr_netlink.c355 hdr = nlmsg_data(nlh); in br_fill_ifinfo()
/linux-4.4.14/net/ipv6/
Daddrlabel.c420 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()
Dip6mr.c852 ((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()
Daddrconf.c504 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()
Droute.c2718 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()
Dndisc.c1058 ndmsg = nlmsg_data(nlh); in ndisc_ra_useropt()
/linux-4.4.14/net/decnet/netfilter/
Ddn_rtmsg.c56 rtm = (struct nf_dn_rtmsg *)nlmsg_data(nlh); in dnrmg_build_message()
/linux-4.4.14/fs/dlm/
Dnetlink.c57 struct genlmsghdr *genlhdr = nlmsg_data((struct nlmsghdr *)skb->data); in send_data()
/linux-4.4.14/include/net/
Drtnetlink.h21 return ((struct rtgenmsg *) nlmsg_data(nlh))->rtgen_family; in rtnl_msg_family()
Dnetlink.h292 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/
Dcls_api.c151 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()
Dact_api.c671 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()
Dsch_api.c1113 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/
Dcn_test.c78 msg = nlmsg_data(nlh);
/linux-4.4.14/net/core/
Drtnetlink.c1209 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 …]
Dfib_rules.c271 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()
Dneighbour.c1612 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()
Dsock_diag.c220 struct sock_diag_req *req = nlmsg_data(nlh); in __sock_diag_rcv_msg()
Ddrop_monitor.c157 nla = genlmsg_data(nlmsg_data(nlh)); in trace_drop_common()
Dnet_namespace.c601 rth = nlmsg_data(nlh); in rtnl_net_fill()
/linux-4.4.14/drivers/infiniband/core/
Dnetlink.c124 return nlmsg_data(*nlh); in ibnl_put_msg()
Dsa_query.c627 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/
Dtaskstats.c112 struct genlmsghdr *genlhdr = nlmsg_data(nlmsg_hdr(skb)); in send_reply()
126 struct genlmsghdr *genlhdr = nlmsg_data(nlmsg_hdr(skb)); in send_cpu_listeners()
Daudit.c395 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/
Dgw.c495 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/
Ddn_fib.c505 struct rtmsg *r = nlmsg_data(nlh); in dn_fib_rtm_delroute()
530 struct rtmsg *r = nlmsg_data(nlh); in dn_fib_rtm_newroute()
Ddn_dev.c589 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()
Ddn_table.c310 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()
Ddn_route.c1567 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/
Daf_mpls.c1109 rtm = nlmsg_data(nlh); in rtm_to_route_config()
1231 rtm = nlmsg_data(nlh); in mpls_dump_route()
/linux-4.4.14/net/wireless/
Dwext-core.c427 r = nlmsg_data(nlh); in rtnetlink_ifinfo_prep()
Dnl80211.c10709 memset(nlmsg_data(nlh), 0, nlmsg_len(nlh)); in nl80211_post_doit()
/linux-4.4.14/net/netfilter/ipset/
Dip_set_core.c757 nfmsg = nlmsg_data(nlh); in start_msg()
1481 errmsg = nlmsg_data(rep); in call_ad()
/linux-4.4.14/net/dcb/
Ddcbnl.c210 dcb = nlmsg_data(nlh); in dcbnl_newmsg()
1705 struct dcbmsg *dcb = nlmsg_data(nlh); in dcb_doit()
/linux-4.4.14/net/switchdev/
Dswitchdev.c1039 ndm = nlmsg_data(nlh); in switchdev_port_fdb_dump_cb()
/linux-4.4.14/net/openvswitch/
Ddatapath.c1339 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/
Dnetlink_compat.c1105 msg.req = nlmsg_data(req_nlh) + GENL_HDRLEN + TIPC_GENL_HDRLEN; in tipc_nl_compat_recv()
/linux-4.4.14/drivers/net/
Dvxlan.c287 ndm = nlmsg_data(nlh); in vxlan_fdb_info()
/linux-4.4.14/drivers/block/drbd/
Ddrbd_nl.c88 genlmsg_end(skb, genlmsg_data(nlmsg_data(nlmsg_hdr(skb)))); in drbd_adm_send_reply()