Home
last modified time | relevance | path

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

1234

/Linux-v5.4/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-v5.4/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-v5.4/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()
262 struct crypto_user_alg *p = nlmsg_data(nlh); in crypto_update_alg()
298 struct crypto_user_alg *p = nlmsg_data(nlh); in crypto_del_alg()
337 struct crypto_user_alg *p = nlmsg_data(nlh); in crypto_add_alg()
/Linux-v5.4/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()
/Linux-v5.4/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-v5.4/net/xfrm/
Dxfrm_user.c674 struct xfrm_usersa_info *p = nlmsg_data(nlh); in xfrm_add_sa()
756 struct xfrm_usersa_id *p = nlmsg_data(nlh); in xfrm_del_sa()
986 p = nlmsg_data(nlh); in dump_one_state()
1119 f = nlmsg_data(nlh); in build_spdinfo()
1206 u32 *flags = nlmsg_data(nlh); in xfrm_get_spdinfo()
1241 f = nlmsg_data(nlh); in build_sadinfo()
1265 u32 *flags = nlmsg_data(nlh); in xfrm_get_sadinfo()
1284 struct xfrm_usersa_id *p = nlmsg_data(nlh); in xfrm_get_sa()
1318 p = nlmsg_data(nlh); in xfrm_alloc_userspi()
1648 struct xfrm_userpolicy_info *p = nlmsg_data(nlh); in xfrm_add_policy()
[all …]
/Linux-v5.4/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-v5.4/net/vmw_vsock/
Ddiag.c26 rep = nlmsg_data(nlh); in sk_diag_fill()
58 req = nlmsg_data(cb->nlh); in vsock_diag_dump()
/Linux-v5.4/net/ipv6/
Daddrlabel.c391 ifal = nlmsg_data(nlh); in ip6addrlbl_newdel()
430 struct ifaddrlblmsg *ifal = nlmsg_data(nlh); in ip6addrlbl_putmsg()
471 ifal = nlmsg_data(nlh); in ip6addrlbl_valid_dump_req()
543 ifal = nlmsg_data(nlh); in ip6addrlbl_valid_get_req()
586 ifal = nlmsg_data(nlh); in ip6addrlbl_get()
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/net/ipv4/
Dinet_diag.c182 r = nlmsg_data(nlh); in inet_sk_diag_fill()
342 r = nlmsg_data(nlh); in inet_twsk_diag_fill()
378 r = nlmsg_data(nlh); in inet_req_diag_fill()
1071 return __inet_diag_dump(skb, cb, nlmsg_data(cb->nlh), bc); in inet_diag_dump()
1089 struct inet_diag_req *rc = nlmsg_data(cb->nlh); in inet_diag_dump_compat()
1109 struct inet_diag_req *rc = nlmsg_data(nlh); in inet_diag_get_exact_compat()
1180 return inet_diag_cmd_exact(h->nlmsg_type, skb, h, nlmsg_data(h)); in inet_diag_handler_cmd()
1197 r = nlmsg_data(nlh); in inet_diag_handler_get_info()
/Linux-v5.4/net/xdp/
Dxsk_diag.c93 msg = nlmsg_data(nlh); in xsk_diag_fill()
133 struct xdp_diag_req *req = nlmsg_data(cb->nlh); in xsk_diag_dump()
/Linux-v5.4/net/tipc/
Ddiag.c53 struct tipc_sock_diag_req *req = nlmsg_data(cb->nlh); in __tipc_add_sock_diag()
/Linux-v5.4/net/netfilter/
Dnf_conntrack_netlink.c524 nfmsg = nlmsg_data(nlh); in ctnetlink_fill_info()
719 nfmsg = nlmsg_data(nlh); in ctnetlink_conntrack_event()
864 struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in ctnetlink_start()
1261 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in ctnetlink_del_conntrack()
1322 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in ctnetlink_get_conntrack()
1401 struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in ctnetlink_dump_list()
2105 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in ctnetlink_new_conntrack()
2212 nfmsg = nlmsg_data(nlh); in ctnetlink_ct_stat_cpu_fill_info()
2296 nfmsg = nlmsg_data(nlh); in ctnetlink_stat_ct_fill_info()
2811 nfmsg = nlmsg_data(nlh); in ctnetlink_exp_fill_info()
[all …]
Dnf_tables_api.c582 nfmsg = nlmsg_data(nlh); in nf_tables_fill_table_info()
632 const struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in nf_tables_dump_tables()
692 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_gettable()
877 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_newtable()
1042 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_deltable()
1241 nfmsg = nlmsg_data(nlh); in nf_tables_fill_chain_info()
1327 const struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in nf_tables_dump_chains()
1375 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_getchain()
1846 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_newchain()
1937 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_delchain()
[all …]
/Linux-v5.4/drivers/scsi/
Dscsi_netlink.c59 hdr = nlmsg_data(nlh); in scsi_nl_rcv_msg()
/Linux-v5.4/net/bridge/
Dbr_mdb.c195 bpm = nlmsg_data(nlh); in br_mdb_valid_dump_req()
241 bpm = nlmsg_data(nlh); in br_mdb_dump()
277 bpm = nlmsg_data(nlh); in nlmsg_populate_mdb_fill()
473 bpm = nlmsg_data(nlh); in nlmsg_populate_rtr_fill()
567 bpm = nlmsg_data(nlh); in br_mdb_parse()
/Linux-v5.4/net/core/
Drtnetlink.c1602 ifm = nlmsg_data(nlh); in rtnl_fill_ifinfo()
1897 ifm = nlmsg_data(nlh); in rtnl_valid_dump_ifinfo_req()
2772 ifm = nlmsg_data(nlh); in rtnl_setlink()
2874 ifm = nlmsg_data(nlh); in rtnl_dellink()
3046 ifm = nlmsg_data(nlh); in __rtnl_newlink()
3298 ifm = nlmsg_data(nlh); in rtnl_valid_getlink_req()
3364 ifm = nlmsg_data(nlh); in rtnl_getlink()
3559 ndm = nlmsg_data(nlh); in nlmsg_populate_fdb_fill()
3689 ndm = nlmsg_data(nlh); in rtnl_fdb_add()
3800 ndm = nlmsg_data(nlh); in rtnl_fdb_del()
[all …]
Dfib_rules.c494 struct fib_rule_hdr *frh = nlmsg_data(nlh); in fib_nl2rule()
727 struct fib_rule_hdr *frh = nlmsg_data(nlh); in fib_nl_newrule()
835 struct fib_rule_hdr *frh = nlmsg_data(nlh); in fib_nl_delrule()
968 frh = nlmsg_data(nlh); in fib_nl_fill_rule()
1075 frh = nlmsg_data(nlh); in fib_valid_dumprule_req()
/Linux-v5.4/net/decnet/netfilter/
Ddn_rtmsg.c54 rtm = (struct nf_dn_rtmsg *)nlmsg_data(nlh); in dnrmg_build_message()
/Linux-v5.4/net/smc/
Dsmc_diag.c92 r = nlmsg_data(nlh); in __smc_diag_dump()
211 rc = __smc_diag_dump(sk, skb, cb, nlmsg_data(cb->nlh), bc); in smc_diag_dump_proto()
/Linux-v5.4/fs/dlm/
Dnetlink.c50 struct genlmsghdr *genlhdr = nlmsg_data((struct nlmsghdr *)skb->data); in send_data()
/Linux-v5.4/include/net/
Drtnetlink.h26 return ((struct rtgenmsg *) nlmsg_data(nlh))->rtgen_family; in rtnl_msg_family()
/Linux-v5.4/samples/connector/
Dcn_test.c65 msg = nlmsg_data(nlh);

1234