Home
last modified time | relevance | path

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

1234

/openbmc/linux/net/xfrm/
H 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 …]
H A Dxfrm_user.c1206 p = nlmsg_data(nlh); in dump_one_state()
1371 f = nlmsg_data(nlh); in build_spdinfo()
1503 f = nlmsg_data(nlh); in build_sadinfo()
1583 p = nlmsg_data(nlh); in xfrm_alloc_userspi()
2101 p = nlmsg_data(nlh); in dump_one_policy()
2213 up = nlmsg_data(nlh); in xfrm_notify_userpolicy()
2298 p = nlmsg_data(nlh); in xfrm_get_policy()
2417 id = nlmsg_data(nlh); in build_aevent()
3274 p = nlmsg_data(nlh); in xfrm_notify_sa_flush()
3357 p = nlmsg_data(nlh); in xfrm_notify_sa()
[all …]
/openbmc/linux/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()
/openbmc/linux/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.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()
/openbmc/linux/net/phonet/
H 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()
/openbmc/linux/crypto/
H 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()
H A 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()
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/linux/net/ipv6/
H 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()
/openbmc/linux/net/unix/
H 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()
/openbmc/linux/drivers/connector/
H A 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()
/openbmc/linux/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()
/openbmc/linux/net/tipc/
H A Ddiag.c53 struct tipc_sock_diag_req *req = nlmsg_data(cb->nlh); in __tipc_add_sock_diag()
/openbmc/linux/net/ipv4/
H 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()
1294 struct inet_diag_req *rc = nlmsg_data(nlh); in inet_diag_get_exact_compat()
1348 nlmsg_data(h)); in inet_diag_handler_cmd()
1365 r = nlmsg_data(nlh); in inet_diag_handler_get_info()
/openbmc/linux/drivers/scsi/
H A Dscsi_netlink.c59 hdr = nlmsg_data(nlh); in scsi_nl_rcv_msg()
/openbmc/linux/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()
414 tmsg = nlmsg_data(cb->nlh); in vxlan_vnifilter_dump()
958 tmsg = nlmsg_data(nlh); in vxlan_vnifilter_process()
/openbmc/linux/include/linux/netfilter/
H A Dnfnetlink.h72 nfmsg = nlmsg_data(nlh); in nfnl_fill_hdr()
/openbmc/linux/net/core/
H A Drtnetlink.c1793 ifm = nlmsg_data(nlh); in rtnl_fill_ifinfo()
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()
4367 ndm = nlmsg_data(nlh); in rtnl_fdb_del()
[all …]
/openbmc/linux/net/smc/
H A 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()
/openbmc/linux/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()
/openbmc/linux/samples/connector/
H A Dcn_test.c65 msg = nlmsg_data(nlh);

1234