Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_compat.c149 memset(nlmsg_data(nlh_dst), 0, payload); in xfrm_nlmsg_put_compat()
164 memcpy(nlmsg_data(nlh_dst), nlmsg_data(nlh_src), src_len); in xfrm_nlmsg_put_compat()
172 memcpy(nlmsg_data(nlh_dst), nlmsg_data(nlh_src), payload); in xfrm_nlmsg_put_compat()
175 const struct xfrm_user_expire *src_ue = nlmsg_data(nlh_src); in xfrm_nlmsg_put_compat()
176 struct compat_xfrm_user_expire *dst_ue = nlmsg_data(nlh_dst); in xfrm_nlmsg_put_compat()
184 const struct xfrm_user_acquire *src_ua = nlmsg_data(nlh_src); in xfrm_nlmsg_put_compat()
185 struct compat_xfrm_user_acquire *dst_ua = nlmsg_data(nlh_dst); in xfrm_nlmsg_put_compat()
195 const struct xfrm_user_polexpire *src_upe = nlmsg_data(nlh_src); in xfrm_nlmsg_put_compat()
196 struct compat_xfrm_user_polexpire *dst_upe = nlmsg_data(nlh_dst); in xfrm_nlmsg_put_compat()
204 const struct xfrm_userspi_info *src_usi = nlmsg_data(nlh_src); in xfrm_nlmsg_put_compat()
[all …]
Dxfrm_user.c688 struct xfrm_usersa_info *p = nlmsg_data(nlh); in xfrm_add_sa()
770 struct xfrm_usersa_id *p = nlmsg_data(nlh); in xfrm_del_sa()
1006 p = nlmsg_data(nlh); in dump_one_state()
1162 f = nlmsg_data(nlh); in build_spdinfo()
1249 u32 *flags = nlmsg_data(nlh); in xfrm_get_spdinfo()
1284 f = nlmsg_data(nlh); in build_sadinfo()
1308 u32 *flags = nlmsg_data(nlh); in xfrm_get_sadinfo()
1327 struct xfrm_usersa_id *p = nlmsg_data(nlh); in xfrm_get_sa()
1362 p = nlmsg_data(nlh); in xfrm_alloc_userspi()
1713 struct xfrm_userpolicy_info *p = nlmsg_data(nlh); in xfrm_add_policy()
[all …]
/kernel/linux/linux-5.10/security/selinux/
Dnetlink.c47 struct selnl_msg_setenforce *msg = nlmsg_data(nlh); in selnl_add_payload()
55 struct selnl_msg_policyload *msg = nlmsg_data(nlh); in selnl_add_payload()
/kernel/linux/linux-5.10/net/phonet/
Dpn_netlink.c74 ifm = nlmsg_data(nlh); in addr_doit()
105 ifm = nlmsg_data(nlh); in fill_addr()
170 rtm = nlmsg_data(nlh); in fill_route()
241 rtm = nlmsg_data(nlh); in route_doit()
/kernel/linux/linux-5.10/crypto/
Dcrypto_user_base.c170 ualg = nlmsg_data(nlh); in crypto_report_alg()
188 struct crypto_user_alg *p = nlmsg_data(in_nlh); in crypto_report()
264 struct crypto_user_alg *p = nlmsg_data(nlh); in crypto_update_alg()
300 struct crypto_user_alg *p = nlmsg_data(nlh); in crypto_del_alg()
340 struct crypto_user_alg *p = nlmsg_data(nlh); in crypto_add_alg()
/kernel/linux/linux-5.10/net/netlink/
Ddiag.c57 rep = nlmsg_data(nlh); in sk_diag_fill()
101 req = nlmsg_data(cb->nlh); in __netlink_diag_dump()
190 req = nlmsg_data(cb->nlh); in netlink_diag_dump()
/kernel/linux/linux-5.10/net/ieee802154/
Dnetlink.c48 void *hdr = genlmsg_data(nlmsg_data(nlh)); in ieee802154_nl_mcast()
77 void *hdr = genlmsg_data(nlmsg_data(nlh)); in ieee802154_nl_reply()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/vmw_vsock/
Ddiag.c26 rep = nlmsg_data(nlh); in sk_diag_fill()
58 req = nlmsg_data(cb->nlh); in vsock_diag_dump()
/kernel/linux/linux-5.10/net/ipv6/
Daddrlabel.c399 ifal = nlmsg_data(nlh); in ip6addrlbl_newdel()
438 struct ifaddrlblmsg *ifal = nlmsg_data(nlh); in ip6addrlbl_putmsg()
479 ifal = nlmsg_data(nlh); in ip6addrlbl_valid_dump_req()
551 ifal = nlmsg_data(nlh); in ip6addrlbl_valid_get_req()
594 ifal = nlmsg_data(nlh); in ip6addrlbl_get()
/kernel/linux/linux-5.10/net/unix/
Ddiag.c133 rep = nlmsg_data(nlh); in sk_diag_fill()
201 req = nlmsg_data(cb->nlh); in unix_diag_dump()
323 return unix_diag_get_exact(skb, h, nlmsg_data(h)); in unix_diag_handler_dump()
/kernel/linux/linux-5.10/drivers/connector/
Dconnector.c106 data = nlmsg_data(nlh); in cn_netlink_send_mult()
136 struct cn_msg *msg = nlmsg_data(nlmsg_hdr(skb)); in cn_call_callback()
/kernel/linux/linux-5.10/net/xdp/
Dxsk_diag.c106 msg = nlmsg_data(nlh); in xsk_diag_fill()
150 struct xdp_diag_req *req = nlmsg_data(cb->nlh); in xsk_diag_dump()
/kernel/linux/linux-5.10/net/ipv4/
Dinet_diag.c257 r = nlmsg_data(nlh); in inet_sk_diag_fill()
430 r = nlmsg_data(nlh); in inet_twsk_diag_fill()
463 r = nlmsg_data(nlh); in inet_req_diag_fill()
1192 return __inet_diag_dump(skb, cb, nlmsg_data(cb->nlh)); in inet_diag_dump()
1272 struct inet_diag_req *rc = nlmsg_data(cb->nlh); in inet_diag_dump_compat()
1287 struct inet_diag_req *rc = nlmsg_data(nlh); in inet_diag_get_exact_compat()
1340 nlmsg_data(h)); in inet_diag_handler_cmd()
1357 r = nlmsg_data(nlh); in inet_diag_handler_get_info()
/kernel/linux/linux-5.10/net/tipc/
Ddiag.c53 struct tipc_sock_diag_req *req = nlmsg_data(cb->nlh); in __tipc_add_sock_diag()
/kernel/linux/linux-5.10/drivers/scsi/
Dscsi_netlink.c59 hdr = nlmsg_data(nlh); in scsi_nl_rcv_msg()
/kernel/linux/linux-5.10/net/netfilter/
Dnf_conntrack_netlink.c567 nfmsg = nlmsg_data(nlh); in ctnetlink_fill_info()
748 nfmsg = nlmsg_data(nlh); in ctnetlink_conntrack_event()
998 struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in ctnetlink_start()
1538 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in ctnetlink_del_conntrack()
1599 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in ctnetlink_get_conntrack()
1676 struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in ctnetlink_dump_list()
2387 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in ctnetlink_new_conntrack()
2494 nfmsg = nlmsg_data(nlh); in ctnetlink_ct_stat_cpu_fill_info()
2579 nfmsg = nlmsg_data(nlh); in ctnetlink_stat_ct_fill_info()
3095 nfmsg = nlmsg_data(nlh); in ctnetlink_exp_fill_info()
[all …]
/kernel/linux/linux-5.10/net/decnet/netfilter/
Ddn_rtmsg.c54 rtm = (struct nf_dn_rtmsg *)nlmsg_data(nlh); in dnrmg_build_message()
/kernel/linux/linux-5.10/net/core/
Drtnetlink.c1714 ifm = nlmsg_data(nlh); in rtnl_fill_ifinfo()
2024 ifm = nlmsg_data(nlh); in rtnl_valid_dump_ifinfo_req()
2992 ifm = nlmsg_data(nlh); in rtnl_setlink()
3090 ifm = nlmsg_data(nlh); in rtnl_dellink()
3272 ifm = nlmsg_data(nlh); in __rtnl_newlink()
3514 ifm = nlmsg_data(nlh); in rtnl_valid_getlink_req()
3577 ifm = nlmsg_data(nlh); in rtnl_getlink()
3662 ifm = nlmsg_data(nlh); in rtnl_linkprop()
3864 ndm = nlmsg_data(nlh); in nlmsg_populate_fdb_fill()
3994 ndm = nlmsg_data(nlh); in rtnl_fdb_add()
[all …]
Dfib_rules.c524 struct fib_rule_hdr *frh = nlmsg_data(nlh); in fib_nl2rule()
757 struct fib_rule_hdr *frh = nlmsg_data(nlh); in fib_nl_newrule()
865 struct fib_rule_hdr *frh = nlmsg_data(nlh); in fib_nl_delrule()
998 frh = nlmsg_data(nlh); in fib_nl_fill_rule()
1105 frh = nlmsg_data(nlh); in fib_valid_dumprule_req()
/kernel/linux/linux-5.10/fs/dlm/
Dnetlink.c50 struct genlmsghdr *genlhdr = nlmsg_data((struct nlmsghdr *)skb->data); in send_data()
/kernel/linux/linux-5.10/net/bridge/
Dbr_mdb.c307 bpm = nlmsg_data(nlh); in br_mdb_valid_dump_req()
353 bpm = nlmsg_data(nlh); in br_mdb_dump()
390 bpm = nlmsg_data(nlh); in nlmsg_populate_mdb_fill()
618 bpm = nlmsg_data(nlh); in nlmsg_populate_rtr_fill()
773 bpm = nlmsg_data(nlh); in br_mdb_parse()
/kernel/linux/linux-5.10/net/smc/
Dsmc_diag.c100 r = nlmsg_data(nlh); in __smc_diag_dump()
225 rc = __smc_diag_dump(sk, skb, cb, nlmsg_data(cb->nlh), bc); in smc_diag_dump_proto()
/kernel/linux/linux-5.10/include/net/
Drtnetlink.h26 return ((struct rtgenmsg *) nlmsg_data(nlh))->rtgen_family; in rtnl_msg_family()
/kernel/linux/linux-5.10/samples/connector/
Dcn_test.c65 msg = nlmsg_data(nlh);

1234