Home
last modified time | relevance | path

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

1234

/linux-6.3-rc2/net/xfrm/
A 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()
474 memset(nlmsg_data(dst), 0, xfrm_msg_min[type]); in xfrm_xlate32()
493 memcpy(nlmsg_data(dst), nlmsg_data(src), compat_msg_min[type]); in xfrm_xlate32()
500 memcpy(nlmsg_data(dst), nlmsg_data(src), compat_msg_min[type]); in xfrm_xlate32()
504 struct xfrm_user_expire *dst_ue = nlmsg_data(dst); in xfrm_xlate32()
513 struct xfrm_user_acquire *dst_ua = nlmsg_data(dst); in xfrm_xlate32()
524 struct xfrm_user_polexpire *dst_upe = nlmsg_data(dst); in xfrm_xlate32()
[all …]
A Dxfrm_user.c1167 p = nlmsg_data(nlh); in dump_one_state()
1323 f = nlmsg_data(nlh); in build_spdinfo()
1455 f = nlmsg_data(nlh); in build_sadinfo()
1535 p = nlmsg_data(nlh); in xfrm_alloc_userspi()
2045 p = nlmsg_data(nlh); in dump_one_policy()
2157 up = nlmsg_data(nlh); in xfrm_notify_userpolicy()
2242 p = nlmsg_data(nlh); in xfrm_get_policy()
2361 id = nlmsg_data(nlh); in build_aevent()
3217 p = nlmsg_data(nlh); in xfrm_notify_sa_flush()
3300 p = nlmsg_data(nlh); in xfrm_notify_sa()
[all …]
/linux-6.3-rc2/security/selinux/
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.3-rc2/net/mctp/
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()
A 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.3-rc2/net/phonet/
A 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.3-rc2/crypto/
A 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()
/linux-6.3-rc2/net/netlink/
A 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()
/linux-6.3-rc2/net/ieee802154/
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.3-rc2/net/packet/
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.3-rc2/net/ipv6/
A 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.3-rc2/net/vmw_vsock/
A Ddiag.c26 rep = nlmsg_data(nlh); in sk_diag_fill()
58 req = nlmsg_data(cb->nlh); in vsock_diag_dump()
/linux-6.3-rc2/net/unix/
A 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.3-rc2/drivers/connector/
A 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()
/linux-6.3-rc2/net/xdp/
A 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()
/linux-6.3-rc2/net/ipv4/
A 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.3-rc2/net/tipc/
A Ddiag.c53 struct tipc_sock_diag_req *req = nlmsg_data(cb->nlh); in __tipc_add_sock_diag()
/linux-6.3-rc2/drivers/scsi/
A Dscsi_netlink.c59 hdr = nlmsg_data(nlh); in scsi_nl_rcv_msg()
/linux-6.3-rc2/drivers/net/vxlan/
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()
414 tmsg = nlmsg_data(cb->nlh); in vxlan_vnifilter_dump()
953 tmsg = nlmsg_data(nlh); in vxlan_vnifilter_process()
/linux-6.3-rc2/net/core/
A Drtnetlink.c1785 ifm = nlmsg_data(nlh); in rtnl_fill_ifinfo()
3127 ifm = nlmsg_data(nlh); in rtnl_setlink()
3226 ifm = nlmsg_data(nlh); in rtnl_dellink()
3514 ifm = nlmsg_data(nlh); in __rtnl_newlink()
3692 ifm = nlmsg_data(nlh); in rtnl_valid_getlink_req()
3755 ifm = nlmsg_data(nlh); in rtnl_getlink()
3850 ifm = nlmsg_data(nlh); in rtnl_linkprop()
4052 ndm = nlmsg_data(nlh); in nlmsg_populate_fdb_fill()
4187 ndm = nlmsg_data(nlh); in rtnl_fdb_add()
4312 ndm = nlmsg_data(nlh); in rtnl_fdb_del()
[all …]
/linux-6.3-rc2/include/linux/netfilter/
A Dnfnetlink.h73 nfmsg = nlmsg_data(nlh); in nfnl_fill_hdr()
/linux-6.3-rc2/net/netfilter/
A Dnfnetlink_hook.c250 struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in nfnl_hook_dump()
290 const struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in nfnl_hook_dump_start()
A Dnfnetlink.c265 .nfmsg = nlmsg_data(nlh), in nfnetlink_rcv_msg()
502 .nfmsg = nlmsg_data(nlh), in nfnetlink_rcv_batch()
632 nfgenmsg = nlmsg_data(nlh); in nfnetlink_rcv_skb_batch()
/linux-6.3-rc2/net/smc/
A Dsmc_diag.c87 r = nlmsg_data(nlh); in __smc_diag_dump()
213 rc = __smc_diag_dump(sk, skb, cb, nlmsg_data(cb->nlh), bc); in smc_diag_dump_proto()
/linux-6.3-rc2/fs/dlm/
A Dnetlink.c50 struct genlmsghdr *genlhdr = nlmsg_data((struct nlmsghdr *)skb->data); in send_data()

Completed in 45 milliseconds

1234