Home
last modified time | relevance | path

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

1234

/linux-6.6.21/net/xfrm/
Dxfrm_compat.c150 memset(nlmsg_data(nlh_dst), 0, payload); in xfrm_nlmsg_put_compat()
165 memcpy(nlmsg_data(nlh_dst), nlmsg_data(nlh_src), src_len); in xfrm_nlmsg_put_compat()
173 memcpy(nlmsg_data(nlh_dst), nlmsg_data(nlh_src), payload); in xfrm_nlmsg_put_compat()
176 const struct xfrm_user_expire *src_ue = nlmsg_data(nlh_src); in xfrm_nlmsg_put_compat()
177 struct compat_xfrm_user_expire *dst_ue = nlmsg_data(nlh_dst); in xfrm_nlmsg_put_compat()
185 const struct xfrm_user_acquire *src_ua = nlmsg_data(nlh_src); in xfrm_nlmsg_put_compat()
186 struct compat_xfrm_user_acquire *dst_ua = nlmsg_data(nlh_dst); in xfrm_nlmsg_put_compat()
196 const struct xfrm_user_polexpire *src_upe = nlmsg_data(nlh_src); in xfrm_nlmsg_put_compat()
197 struct compat_xfrm_user_polexpire *dst_upe = nlmsg_data(nlh_dst); in xfrm_nlmsg_put_compat()
205 const struct xfrm_userspi_info *src_usi = nlmsg_data(nlh_src); in xfrm_nlmsg_put_compat()
[all …]
Dxfrm_user.c786 struct xfrm_usersa_info *p = nlmsg_data(nlh); in xfrm_add_sa()
868 struct xfrm_usersa_id *p = nlmsg_data(nlh); in xfrm_del_sa()
1206 p = nlmsg_data(nlh); in dump_one_state()
1371 f = nlmsg_data(nlh); in build_spdinfo()
1468 u32 *flags = nlmsg_data(nlh); in xfrm_get_spdinfo()
1503 f = nlmsg_data(nlh); in build_sadinfo()
1528 u32 *flags = nlmsg_data(nlh); in xfrm_get_sadinfo()
1547 struct xfrm_usersa_id *p = nlmsg_data(nlh); in xfrm_get_sa()
1583 p = nlmsg_data(nlh); in xfrm_alloc_userspi()
1969 struct xfrm_userpolicy_info *p = nlmsg_data(nlh); in xfrm_add_policy()
[all …]
/linux-6.6.21/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()
/linux-6.6.21/net/mctp/
Dneigh.c154 ndm = nlmsg_data(nlh); in mctp_rtm_newneigh()
197 ndm = nlmsg_data(nlh); in mctp_rtm_delneigh()
220 hdr = nlmsg_data(nlh); in mctp_fill_neigh()
253 ndmsg = nlmsg_data(cb->nlh); in mctp_rtm_getneigh()
Ddevice.c73 hdr = nlmsg_data(nlh); in mctp_fill_addrinfo()
125 hdr = nlmsg_data(cb->nlh); in mctp_dump_addrinfo()
208 ifm = nlmsg_data(nlh); in mctp_rtm_newaddr()
271 ifm = nlmsg_data(nlh); in mctp_rtm_deladdr()
/linux-6.6.21/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()
/linux-6.6.21/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()
Dcrypto_user_stat.c122 ualg = nlmsg_data(nlh); in crypto_reportstat_alg()
140 struct crypto_user_alg *p = nlmsg_data(in_nlh); in crypto_reportstat()
/linux-6.6.21/net/netlink/
Ddiag.c57 rep = nlmsg_data(nlh); in sk_diag_fill()
102 req = nlmsg_data(cb->nlh); in __netlink_diag_dump()
191 req = nlmsg_data(cb->nlh); in netlink_diag_dump()
/linux-6.6.21/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()
/linux-6.6.21/net/ipv6/
Daddrlabel.c399 ifal = nlmsg_data(nlh); in ip6addrlbl_newdel()
438 struct ifaddrlblmsg *ifal = nlmsg_data(nlh); in ip6addrlbl_putmsg()
480 ifal = nlmsg_data(nlh); in ip6addrlbl_valid_dump_req()
552 ifal = nlmsg_data(nlh); in ip6addrlbl_valid_get_req()
595 ifal = nlmsg_data(nlh); in ip6addrlbl_get()
/linux-6.6.21/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-6.6.21/net/vmw_vsock/
Ddiag.c26 rep = nlmsg_data(nlh); in sk_diag_fill()
58 req = nlmsg_data(cb->nlh); in vsock_diag_dump()
/linux-6.6.21/net/unix/
Ddiag.c136 rep = nlmsg_data(nlh); in sk_diag_fill()
205 req = nlmsg_data(cb->nlh); in unix_diag_dump()
321 return unix_diag_get_exact(skb, h, nlmsg_data(h)); in unix_diag_handler_dump()
/linux-6.6.21/drivers/connector/
Dconnector.c108 data = nlmsg_data(nlh); in cn_netlink_send_mult()
140 struct cn_msg *msg = nlmsg_data(nlmsg_hdr(skb)); in cn_call_callback()
/linux-6.6.21/net/xdp/
Dxsk_diag.c106 msg = nlmsg_data(nlh); in xsk_diag_fill()
153 struct xdp_diag_req *req = nlmsg_data(cb->nlh); in xsk_diag_dump()
/linux-6.6.21/net/ipv4/
Dinet_diag.c257 r = nlmsg_data(nlh); in inet_sk_diag_fill()
430 r = nlmsg_data(nlh); in inet_twsk_diag_fill()
469 r = nlmsg_data(nlh); in inet_req_diag_fill()
1198 return __inet_diag_dump(skb, cb, nlmsg_data(cb->nlh)); in inet_diag_dump()
1278 struct inet_diag_req *rc = nlmsg_data(cb->nlh); in inet_diag_dump_compat()
1293 struct inet_diag_req *rc = nlmsg_data(nlh); in inet_diag_get_exact_compat()
1346 nlmsg_data(h)); in inet_diag_handler_cmd()
1363 r = nlmsg_data(nlh); in inet_diag_handler_get_info()
/linux-6.6.21/net/tipc/
Ddiag.c53 struct tipc_sock_diag_req *req = nlmsg_data(cb->nlh); in __tipc_add_sock_diag()
/linux-6.6.21/drivers/scsi/
Dscsi_netlink.c59 hdr = nlmsg_data(nlh); in scsi_nl_rcv_msg()
/linux-6.6.21/drivers/net/vxlan/
Dvxlan_vnifilter.c317 tmsg = nlmsg_data(nlh); in vxlan_vnifilter_notify()
357 tmsg = nlmsg_data(cb->nlh); in vxlan_vnifilter_dump_dev()
364 new_tmsg = nlmsg_data(nlh); in vxlan_vnifilter_dump_dev()
414 tmsg = nlmsg_data(cb->nlh); in vxlan_vnifilter_dump()
958 tmsg = nlmsg_data(nlh); in vxlan_vnifilter_process()
/linux-6.6.21/net/core/
Drtnetlink.c1793 ifm = nlmsg_data(nlh); in rtnl_fill_ifinfo()
2138 ifm = nlmsg_data(nlh); in rtnl_valid_dump_ifinfo_req()
3159 ifm = nlmsg_data(nlh); in rtnl_setlink()
3262 ifm = nlmsg_data(nlh); in rtnl_dellink()
3559 ifm = nlmsg_data(nlh); in __rtnl_newlink()
3740 ifm = nlmsg_data(nlh); in rtnl_valid_getlink_req()
3803 ifm = nlmsg_data(nlh); in rtnl_getlink()
3898 ifm = nlmsg_data(nlh); in rtnl_linkprop()
4107 ndm = nlmsg_data(nlh); in nlmsg_populate_fdb_fill()
4242 ndm = nlmsg_data(nlh); in rtnl_fdb_add()
[all …]
/linux-6.6.21/include/linux/netfilter/
Dnfnetlink.h72 nfmsg = nlmsg_data(nlh); in nfnl_fill_hdr()
/linux-6.6.21/net/smc/
Dsmc_diag.c87 r = nlmsg_data(nlh); in __smc_diag_dump()
212 rc = __smc_diag_dump(sk, skb, cb, nlmsg_data(cb->nlh), bc); in smc_diag_dump_proto()
/linux-6.6.21/net/netfilter/
Dnfnetlink_hook.c305 struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in nfnl_hook_dump()
345 const struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in nfnl_hook_dump_start()
Dnfnetlink.c265 .nfmsg = nlmsg_data(nlh), in nfnetlink_rcv_msg()
502 .nfmsg = nlmsg_data(nlh), in nfnetlink_rcv_batch()
631 nfgenmsg = nlmsg_data(nlh); in nfnetlink_rcv_skb_batch()

1234