Home
last modified time | relevance | path

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

1234

/Linux-v4.19/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-v4.19/net/phonet/
Dpn_netlink.c87 ifm = nlmsg_data(nlh); in addr_doit()
118 ifm = nlmsg_data(nlh); in fill_addr()
183 rtm = nlmsg_data(nlh); in fill_route()
254 rtm = nlmsg_data(nlh); in route_doit()
/Linux-v4.19/crypto/
Dcrypto_user.c243 ualg = nlmsg_data(nlh); in crypto_report_alg()
260 struct crypto_user_alg *p = nlmsg_data(in_nlh); in crypto_report()
331 struct crypto_user_alg *p = nlmsg_data(nlh); in crypto_update_alg()
367 struct crypto_user_alg *p = nlmsg_data(nlh); in crypto_del_alg()
406 struct crypto_user_alg *p = nlmsg_data(nlh); in crypto_add_alg()
/Linux-v4.19/net/netlink/
Ddiag.c56 rep = nlmsg_data(nlh); in sk_diag_fill()
100 req = nlmsg_data(cb->nlh); in __netlink_diag_dump()
189 req = nlmsg_data(cb->nlh); in netlink_diag_dump()
Dgenetlink.c451 hdr = nlmsg_data(nlh); in genlmsg_put()
508 struct genlmsghdr *hdr = nlmsg_data(nlh); in genl_family_rcv_msg()
588 info.genlhdr = nlmsg_data(nlh); in genl_family_rcv_msg()
589 info.userhdr = nlmsg_data(nlh) + GENL_HDRLEN; in genl_family_rcv_msg()
/Linux-v4.19/net/ieee802154/
Dnetlink.c56 void *hdr = genlmsg_data(nlmsg_data(nlh)); in ieee802154_nl_mcast()
85 void *hdr = genlmsg_data(nlmsg_data(nlh)); in ieee802154_nl_reply()
/Linux-v4.19/net/xfrm/
Dxfrm_user.c654 struct xfrm_usersa_info *p = nlmsg_data(nlh); in xfrm_add_sa()
736 struct xfrm_usersa_id *p = nlmsg_data(nlh); in xfrm_del_sa()
966 p = nlmsg_data(nlh); in dump_one_state()
1099 f = nlmsg_data(nlh); in build_spdinfo()
1186 u32 *flags = nlmsg_data(nlh); in xfrm_get_spdinfo()
1221 f = nlmsg_data(nlh); in build_sadinfo()
1245 u32 *flags = nlmsg_data(nlh); in xfrm_get_sadinfo()
1264 struct xfrm_usersa_id *p = nlmsg_data(nlh); in xfrm_get_sa()
1298 p = nlmsg_data(nlh); in xfrm_alloc_userspi()
1635 struct xfrm_userpolicy_info *p = nlmsg_data(nlh); in xfrm_add_policy()
[all …]
/Linux-v4.19/net/packet/
Ddiag.c142 rp = nlmsg_data(nlh); in sk_diag_fill()
196 req = nlmsg_data(cb->nlh); in packet_diag_dump()
232 req = nlmsg_data(h); in packet_diag_handler_dump()
/Linux-v4.19/net/vmw_vsock/
Ddiag.c34 rep = nlmsg_data(nlh); in sk_diag_fill()
66 req = nlmsg_data(cb->nlh); in vsock_diag_dump()
/Linux-v4.19/net/unix/
Ddiag.c123 rep = nlmsg_data(nlh); in sk_diag_fill()
187 req = nlmsg_data(cb->nlh); in unix_diag_dump()
309 return unix_diag_get_exact(skb, h, nlmsg_data(h)); in unix_diag_handler_dump()
/Linux-v4.19/drivers/connector/
Dconnector.c119 data = nlmsg_data(nlh); in cn_netlink_send_mult()
149 struct cn_msg *msg = nlmsg_data(nlmsg_hdr(skb)); in cn_call_callback()
/Linux-v4.19/net/ipv4/
Dinet_diag.c185 r = nlmsg_data(nlh); in inet_sk_diag_fill()
338 r = nlmsg_data(nlh); in inet_twsk_diag_fill()
374 r = nlmsg_data(nlh); in inet_req_diag_fill()
1065 return __inet_diag_dump(skb, cb, nlmsg_data(cb->nlh), bc); in inet_diag_dump()
1083 struct inet_diag_req *rc = nlmsg_data(cb->nlh); in inet_diag_dump_compat()
1103 struct inet_diag_req *rc = nlmsg_data(nlh); in inet_diag_get_exact_compat()
1174 return inet_diag_cmd_exact(h->nlmsg_type, skb, h, nlmsg_data(h)); in inet_diag_handler_cmd()
1191 r = nlmsg_data(nlh); in inet_diag_handler_get_info()
/Linux-v4.19/net/tipc/
Ddiag.c53 struct tipc_sock_diag_req *req = nlmsg_data(cb->nlh); in __tipc_add_sock_diag()
/Linux-v4.19/net/netfilter/
Dnf_conntrack_netlink.c523 nfmsg = nlmsg_data(nlh); in ctnetlink_fill_info()
715 nfmsg = nlmsg_data(nlh); in ctnetlink_conntrack_event()
886 struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in ctnetlink_dump_table()
1242 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in ctnetlink_del_conntrack()
1301 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in ctnetlink_get_conntrack()
1380 struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in ctnetlink_dump_list()
2068 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in ctnetlink_new_conntrack()
2175 nfmsg = nlmsg_data(nlh); in ctnetlink_ct_stat_cpu_fill_info()
2259 nfmsg = nlmsg_data(nlh); in ctnetlink_stat_ct_fill_info()
2762 nfmsg = nlmsg_data(nlh); in ctnetlink_exp_fill_info()
[all …]
Dnf_tables_api.c539 nfmsg = nlmsg_data(nlh); in nf_tables_fill_table_info()
589 const struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in nf_tables_dump_tables()
649 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_gettable()
806 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_newtable()
971 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_deltable()
1165 nfmsg = nlmsg_data(nlh); in nf_tables_fill_chain_info()
1248 const struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in nf_tables_dump_chains()
1296 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_getchain()
1754 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_newchain()
1838 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_delchain()
[all …]
/Linux-v4.19/drivers/scsi/
Dscsi_netlink.c73 hdr = nlmsg_data(nlh); in scsi_nl_rcv_msg()
/Linux-v4.19/net/ipv6/
Daddrlabel.c391 ifal = nlmsg_data(nlh); in ip6addrlbl_newdel()
430 struct ifaddrlblmsg *ifal = nlmsg_data(nlh); in ip6addrlbl_putmsg()
511 ifal = nlmsg_data(nlh); in ip6addrlbl_get()
/Linux-v4.19/net/core/
Ddrop_monitor.c116 struct genlmsghdr *gnlh = (struct genlmsghdr *)nlmsg_data(nlh); in reset_per_cpu_data()
173 nla = genlmsg_data(nlmsg_data(nlh)); in trace_drop_common()
/Linux-v4.19/net/decnet/netfilter/
Ddn_rtmsg.c56 rtm = (struct nf_dn_rtmsg *)nlmsg_data(nlh); in dnrmg_build_message()
/Linux-v4.19/net/smc/
Dsmc_diag.c92 r = nlmsg_data(nlh); in __smc_diag_dump()
211 rc = __smc_diag_dump(sk, skb, cb, nlmsg_data(cb->nlh), bc); in smc_diag_dump_proto()
/Linux-v4.19/fs/dlm/
Dnetlink.c53 struct genlmsghdr *genlhdr = nlmsg_data((struct nlmsghdr *)skb->data); in send_data()
/Linux-v4.19/net/bridge/
Dbr_mdb.c192 bpm = nlmsg_data(nlh); in br_mdb_dump()
228 bpm = nlmsg_data(nlh); in nlmsg_populate_mdb_fill()
426 bpm = nlmsg_data(nlh); in nlmsg_populate_rtr_fill()
520 bpm = nlmsg_data(nlh); in br_mdb_parse()
/Linux-v4.19/include/net/
Drtnetlink.h26 return ((struct rtgenmsg *) nlmsg_data(nlh))->rtgen_family; in rtnl_msg_family()
/Linux-v4.19/net/sched/
Dcls_api.c1083 tcm = nlmsg_data(nlh); in tcf_fill_node()
1220 t = nlmsg_data(n); in tc_new_tfilter()
1369 t = nlmsg_data(n); in tc_del_tfilter()
1484 t = nlmsg_data(n); in tc_get_tfilter()
1572 struct tcmsg *tcm = nlmsg_data(cb->nlh); in tcf_chain_dump()
1627 struct tcmsg *tcm = nlmsg_data(cb->nlh); in tc_dump_tfilter()
1725 tcm = nlmsg_data(nlh); in tc_chain_fill_node()
1847 t = nlmsg_data(n); in tc_ctl_chain()
1945 struct tcmsg *tcm = nlmsg_data(cb->nlh); in tc_dump_chain()
/Linux-v4.19/samples/connector/
Dcn_test.c78 msg = nlmsg_data(nlh);

1234