Home
last modified time | relevance | path

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

1234

/linux-6.15/net/xfrm/
H A Dxfrm_compat.c154 memset(nlmsg_data(nlh_dst), 0, payload); in xfrm_nlmsg_put_compat()
169 memcpy(nlmsg_data(nlh_dst), nlmsg_data(nlh_src), src_len); in xfrm_nlmsg_put_compat()
177 memcpy(nlmsg_data(nlh_dst), nlmsg_data(nlh_src), payload); in xfrm_nlmsg_put_compat()
180 const struct xfrm_user_expire *src_ue = nlmsg_data(nlh_src); in xfrm_nlmsg_put_compat()
487 memset(nlmsg_data(dst), 0, xfrm_msg_min[type]); in xfrm_xlate32()
506 memcpy(nlmsg_data(dst), nlmsg_data(src), compat_msg_min[type]); in xfrm_xlate32()
513 memcpy(nlmsg_data(dst), nlmsg_data(src), compat_msg_min[type]); in xfrm_xlate32()
517 struct xfrm_user_expire *dst_ue = nlmsg_data(dst); in xfrm_xlate32()
526 struct xfrm_user_acquire *dst_ua = nlmsg_data(dst); in xfrm_xlate32()
537 struct xfrm_user_polexpire *dst_upe = nlmsg_data(dst); in xfrm_xlate32()
[all …]
H A Dxfrm_user.c1420 p = nlmsg_data(nlh); in dump_one_state()
1585 f = nlmsg_data(nlh); in build_spdinfo()
1717 f = nlmsg_data(nlh); in build_sadinfo()
1798 p = nlmsg_data(nlh); in xfrm_alloc_userspi()
2329 p = nlmsg_data(nlh); in dump_one_policy()
2441 up = nlmsg_data(nlh); in xfrm_notify_userpolicy()
2526 p = nlmsg_data(nlh); in xfrm_get_policy()
2647 id = nlmsg_data(nlh); in build_aevent()
3583 p = nlmsg_data(nlh); in xfrm_notify_sa_flush()
3677 p = nlmsg_data(nlh); in xfrm_notify_sa()
[all …]
/linux-6.15/security/selinux/
H A 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.15/crypto/
H A Dcrypto_user.c153 ualg = nlmsg_data(nlh); in crypto_report_alg()
171 struct crypto_user_alg *p = nlmsg_data(in_nlh); in crypto_report()
247 struct crypto_user_alg *p = nlmsg_data(nlh); in crypto_update_alg()
283 struct crypto_user_alg *p = nlmsg_data(nlh); in crypto_del_alg()
323 struct crypto_user_alg *p = nlmsg_data(nlh); in crypto_add_alg()
/linux-6.15/net/mctp/
H A 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()
H A Ddevice.c72 hdr = nlmsg_data(nlh); in mctp_fill_addrinfo()
124 hdr = nlmsg_data(cb->nlh); in mctp_dump_addrinfo()
200 ifm = nlmsg_data(nlh); in mctp_rtm_newaddr()
263 ifm = nlmsg_data(nlh); in mctp_rtm_deladdr()
/linux-6.15/net/phonet/
H A Dpn_netlink.c73 ifm = nlmsg_data(nlh); in addr_doit()
112 ifm = nlmsg_data(nlh); in fill_addr()
183 rtm = nlmsg_data(nlh); in fill_route()
254 rtm = nlmsg_data(nlh); in route_doit()
/linux-6.15/net/netlink/
H A 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.15/net/ieee802154/
H A 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.15/net/packet/
H A 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.15/net/vmw_vsock/
H A Ddiag.c26 rep = nlmsg_data(nlh); in sk_diag_fill()
58 req = nlmsg_data(cb->nlh); in vsock_diag_dump()
/linux-6.15/net/unix/
H A Ddiag.c125 rep = nlmsg_data(nlh); in sk_diag_fill()
178 req = nlmsg_data(cb->nlh); in unix_diag_dump()
302 return unix_diag_get_exact(skb, h, nlmsg_data(h)); in unix_diag_handler_dump()
/linux-6.15/net/ipv6/
H A Daddrlabel.c400 ifal = nlmsg_data(nlh); in ip6addrlbl_newdel()
439 struct ifaddrlblmsg *ifal = nlmsg_data(nlh); in ip6addrlbl_putmsg()
481 ifal = nlmsg_data(nlh); in ip6addrlbl_valid_dump_req()
555 ifal = nlmsg_data(nlh); in ip6addrlbl_valid_get_req()
598 ifal = nlmsg_data(nlh); in ip6addrlbl_get()
/linux-6.15/drivers/connector/
H A Dconnector.c107 data = nlmsg_data(nlh); in cn_netlink_send_mult()
139 struct cn_msg *msg = nlmsg_data(nlmsg_hdr(skb)); in cn_call_callback()
/linux-6.15/net/xdp/
H A 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.15/net/tipc/
H A Ddiag.c53 struct tipc_sock_diag_req *req = nlmsg_data(cb->nlh); in __tipc_add_sock_diag()
/linux-6.15/net/ipv4/
H A Dinet_diag.c267 r = nlmsg_data(nlh); in inet_sk_diag_fill()
441 r = nlmsg_data(nlh); in inet_twsk_diag_fill()
480 r = nlmsg_data(nlh); in inet_req_diag_fill()
1302 return __inet_diag_dump(skb, cb, nlmsg_data(cb->nlh)); in inet_diag_dump()
1382 struct inet_diag_req *rc = nlmsg_data(cb->nlh); in inet_diag_dump_compat()
1398 struct inet_diag_req *rc = nlmsg_data(nlh); in inet_diag_get_exact_compat()
1452 nlmsg_data(h)); in inet_diag_handler_cmd()
1469 r = nlmsg_data(nlh); in inet_diag_handler_get_info()
/linux-6.15/drivers/scsi/
H A Dscsi_netlink.c59 hdr = nlmsg_data(nlh); in scsi_nl_rcv_msg()
/linux-6.15/drivers/net/vxlan/
H A 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()
419 tmsg = nlmsg_data(cb->nlh); in vxlan_vnifilter_dump()
969 tmsg = nlmsg_data(nlh); in vxlan_vnifilter_process()
/linux-6.15/net/core/
H A Drtnetlink.c2034 ifm = nlmsg_data(nlh); in rtnl_fill_ifinfo()
3912 ifm = nlmsg_data(nlh); in __rtnl_newlink()
4095 ifm = nlmsg_data(nlh); in rtnl_valid_getlink_req()
4158 ifm = nlmsg_data(nlh); in rtnl_getlink()
4261 ifm = nlmsg_data(nlh); in rtnl_linkprop()
4475 ndm = nlmsg_data(nlh); in nlmsg_populate_fdb_fill()
4610 ndm = nlmsg_data(nlh); in rtnl_fdb_add()
4733 ndm = nlmsg_data(nlh); in rtnl_fdb_del()
4891 ndm = nlmsg_data(nlh); in valid_fdb_dump_strict()
5059 ndm = nlmsg_data(nlh); in valid_fdb_get_strict()
[all …]
/linux-6.15/include/linux/netfilter/
H A Dnfnetlink.h72 nfmsg = nlmsg_data(nlh); in nfnl_fill_hdr()
/linux-6.15/net/smc/
H A Dsmc_diag.c88 r = nlmsg_data(nlh); in __smc_diag_dump()
217 rc = __smc_diag_dump(sk, skb, cb, nlmsg_data(cb->nlh), bc); in smc_diag_dump_proto()
/linux-6.15/net/netfilter/
H A 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()
H A Dnfnetlink.c265 .nfmsg = nlmsg_data(nlh), in nfnetlink_rcv_msg()
507 .nfmsg = nlmsg_data(nlh), in nfnetlink_rcv_batch()
639 nfgenmsg = nlmsg_data(nlh); in nfnetlink_rcv_skb_batch()
/linux-6.15/samples/connector/
H A Dcn_test.c65 msg = nlmsg_data(nlh);

1234