Home
last modified time | relevance | path

Searched refs:NETLINK_CB (Results 1 – 25 of 128) sorted by relevance

123456

/linux-6.3-rc2/net/sctp/
A Ddiag.c269 err = inet_sctp_diag_fill(sk, assoc, rep, req, sk_user_ns(NETLINK_CB(skb).sk), in sctp_sock_dump_one()
270 NETLINK_CB(skb).portid, commp->nlh->nlmsg_seq, 0, in sctp_sock_dump_one()
278 return nlmsg_unicast(sock_net(skb->sk)->diag_nlsk, rep, NETLINK_CB(skb).portid); in sctp_sock_dump_one()
312 sk_user_ns(NETLINK_CB(cb->skb).sk), in sctp_sock_dump()
313 NETLINK_CB(cb->skb).portid, in sctp_sock_dump()
323 sk_user_ns(NETLINK_CB(cb->skb).sk), in sctp_sock_dump()
324 NETLINK_CB(cb->skb).portid, in sctp_sock_dump()
390 sk_user_ns(NETLINK_CB(cb->skb).sk), in sctp_ep_dump()
391 NETLINK_CB(cb->skb).portid, in sctp_ep_dump()
/linux-6.3-rc2/drivers/infiniband/core/
A Dnldev.c1043 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_get_doit()
1191 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_port_get_doit()
1253 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, in nldev_port_get_dumpit()
1298 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_res_get_doit()
1466 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in res_get_common_doit()
1808 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_get_chardev()
1869 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_sys_get_doit()
2053 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_stat_set_doit()
2122 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_stat_del_doit()
2195 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in stat_get_doit_default_counter()
[all …]
/linux-6.3-rc2/net/netlink/
A Daf_netlink.c177 NETLINK_CB(new).portid = NETLINK_CB(skb).portid; in netlink_to_full_skb()
178 NETLINK_CB(new).dst_group = NETLINK_CB(skb).dst_group; in netlink_to_full_skb()
179 NETLINK_CB(new).creds = NETLINK_CB(skb).creds; in netlink_to_full_skb()
1337 NETLINK_CB(skb).sk = ssk; in netlink_unicast_kernel()
1846 info.group = NETLINK_CB(skb).dst_group; in netlink_cmsg_recv_pktinfo()
1853 if (!NETLINK_CB(skb).nsid_is_set) in netlink_cmsg_listen_all_nsid()
1857 &NETLINK_CB(skb).nsid); in netlink_cmsg_listen_all_nsid()
1921 NETLINK_CB(skb).portid = nlk->portid; in netlink_sendmsg()
1922 NETLINK_CB(skb).dst_group = dst_group; in netlink_sendmsg()
1923 NETLINK_CB(skb).creds = scm.creds; in netlink_sendmsg()
[all …]
A Ddiag.c137 NETLINK_CB(cb->skb).portid, in __netlink_diag_dump()
167 NETLINK_CB(cb->skb).portid, in __netlink_diag_dump()
/linux-6.3-rc2/net/unix/
A Ddiag.c221 NETLINK_CB(cb->skb).portid, in unix_diag_dump()
288 err = sk_diag_fill(sk, rep, req, sk_user_ns(NETLINK_CB(in_skb).sk), in unix_diag_get_exact()
289 NETLINK_CB(in_skb).portid, in unix_diag_get_exact()
299 err = nlmsg_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid); in unix_diag_get_exact()
/linux-6.3-rc2/drivers/staging/gdm724x/
A Dnetlink_k.c114 NETLINK_CB(skb).portid = 0; in netlink_send()
115 NETLINK_CB(skb).dst_group = 0; in netlink_send()
/linux-6.3-rc2/net/vmw_vsock/
A Ddiag.c86 NETLINK_CB(cb->skb).portid, in vsock_diag_dump()
120 NETLINK_CB(cb->skb).portid, in vsock_diag_dump()
/linux-6.3-rc2/lib/
A Dkobject_uevent.c300 parms = &NETLINK_CB(skb); in alloc_uevent_skb()
357 struct netlink_skb_parms *parms = &NETLINK_CB(skb); in uevent_net_broadcast_tagged()
714 NETLINK_CB(skbc).portid = 0; in uevent_net_broadcast()
715 NETLINK_CB(skbc).dst_group = 1; in uevent_net_broadcast()
739 net = sock_net(NETLINK_CB(skb).sk); in uevent_net_rcv_skb()
/linux-6.3-rc2/net/netfilter/
A Dnfnetlink_cttimeout.c249 if (ctnl_timeout_fill_info(skb, NETLINK_CB(cb->skb).portid, in ctnl_timeout_dump()
295 ret = ctnl_timeout_fill_info(skb2, NETLINK_CB(skb).portid, in cttimeout_get_timeout()
304 ret = nfnetlink_unicast(skb2, info->net, NETLINK_CB(skb).portid); in cttimeout_get_timeout()
499 NETLINK_CB(skb).portid, in cttimeout_default_get()
509 return nfnetlink_unicast(skb2, info->net, NETLINK_CB(skb).portid); in cttimeout_default_get()
A Dnf_conntrack_netlink.c1233 ctnetlink_fill_info(skb, NETLINK_CB(cb->skb).portid, in ctnetlink_dump_table()
1616 NETLINK_CB(skb).portid, in ctnetlink_del_conntrack()
1700 err = ctnetlink_fill_info(skb2, NETLINK_CB(skb).portid, in ctnetlink_get_conntrack()
2458 ct, NETLINK_CB(skb).portid, in ctnetlink_new_conntrack()
2480 ct, NETLINK_CB(skb).portid, in ctnetlink_new_conntrack()
2545 NETLINK_CB(cb->skb).portid, in ctnetlink_ct_stat_cpu_dump()
3179 NETLINK_CB(cb->skb).portid, in ctnetlink_exp_dump_table()
3425 nf_ct_unlink_expect_report(exp, NETLINK_CB(skb).portid, in ctnetlink_del_expect()
3437 NETLINK_CB(skb).portid, in ctnetlink_del_expect()
3442 NETLINK_CB(skb).portid, in ctnetlink_del_expect()
[all …]
A Dnfnetlink_acct.c220 if (nfnl_acct_fill_info(skb, NETLINK_CB(cb->skb).portid, in nfnl_acct_dump()
309 ret = nfnl_acct_fill_info(skb2, NETLINK_CB(skb).portid, in nfnl_acct_get()
318 ret = nfnetlink_unicast(skb2, info->net, NETLINK_CB(skb).portid); in nfnl_acct_get()
A Dnfnetlink_cthelper.c598 NETLINK_CB(cb->skb).portid, in nfnl_cthelper_dump_table()
665 ret = nfnl_cthelper_fill_info(skb2, NETLINK_CB(skb).portid, in nfnl_cthelper_get()
674 ret = nfnetlink_unicast(skb2, info->net, NETLINK_CB(skb).portid); in nfnl_cthelper_get()
A Dnf_tables_api.c140 ctx->portid = NETLINK_CB(skb).portid; in nft_ctx_init()
1199 NETLINK_CB(skb).portid); in nf_tables_newtable()
1396 NETLINK_CB(skb).portid); in nf_tables_deltable()
1400 NETLINK_CB(skb).portid); in nf_tables_deltable()
2532 NETLINK_CB(skb).portid); in nf_tables_newchain()
2631 NETLINK_CB(skb).portid); in nf_tables_delchain()
3481 NETLINK_CB(skb).portid); in nf_tables_newrule()
3717 NETLINK_CB(skb).portid); in nf_tables_delrule()
4628 NETLINK_CB(skb).portid); in nf_tables_newset()
7003 NETLINK_CB(skb).portid); in nf_tables_newobj()
[all …]
/linux-6.3-rc2/drivers/connector/
A Dconnector.c110 NETLINK_CB(skb).dst_group = group; in cn_netlink_send_mult()
137 struct netlink_skb_parms *nsp = &NETLINK_CB(skb); in cn_call_callback()
/linux-6.3-rc2/net/netfilter/ipset/
A Dip_set_core.c1527 unsigned int flags = NETLINK_CB(cb->skb).portid ? NLM_F_MULTI : 0; in ip_set_dump_do()
1580 nlh = start_msg(skb, NETLINK_CB(cb->skb).portid, in ip_set_dump_do()
1723 rep = nlmsg_put(skb2, NETLINK_CB(skb).portid, in call_ad()
1744 nfnetlink_unicast(skb2, net, NETLINK_CB(skb).portid); in call_ad()
1877 nlh2 = start_msg(skb2, NETLINK_CB(skb).portid, info->nlh->nlmsg_seq, 0, in ip_set_header()
1889 return nfnetlink_unicast(skb2, info->net, NETLINK_CB(skb).portid); in ip_set_header()
1931 nlh2 = start_msg(skb2, NETLINK_CB(skb).portid, info->nlh->nlmsg_seq, 0, in ip_set_type()
1944 return nfnetlink_unicast(skb2, info->net, NETLINK_CB(skb).portid); in ip_set_type()
1983 return nfnetlink_unicast(skb2, info->net, NETLINK_CB(skb).portid); in ip_set_protocol()
2025 return nfnetlink_unicast(skb2, info->net, NETLINK_CB(skb).portid); in ip_set_byname()
[all …]
/linux-6.3-rc2/net/xdp/
A Dxsk_diag.c164 sk_user_ns(NETLINK_CB(cb->skb).sk), in xsk_diag_dump()
165 NETLINK_CB(cb->skb).portid, in xsk_diag_dump()
/linux-6.3-rc2/net/packet/
A Ddiag.c209 sk_user_ns(NETLINK_CB(cb->skb).sk), in packet_diag_dump()
210 NETLINK_CB(cb->skb).portid, in packet_diag_dump()
/linux-6.3-rc2/security/selinux/
A Dnetlink.c86 NETLINK_CB(skb).dst_group = SELNLGRP_AVC; in selnl_notify()
/linux-6.3-rc2/include/linux/
A Dnetlink.h35 #define NETLINK_CB(skb) (*(struct netlink_skb_parms*)&((skb)->cb)) macro
36 #define NETLINK_CREDS(skb) (&NETLINK_CB((skb)).creds)
/linux-6.3-rc2/net/phonet/
A Dpn_netlink.c144 NETLINK_CB(cb->skb).portid, in getaddr_dumpit()
275 if (fill_route(skb, dev, addr << 2, NETLINK_CB(cb->skb).portid, in route_dumpit()
/linux-6.3-rc2/net/ipv6/
A Daddrlabel.c514 NETLINK_CB(cb->skb).portid, in ip6addrlbl_dump()
620 NETLINK_CB(in_skb).portid, in ip6addrlbl_get()
629 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in ip6addrlbl_get()
/linux-6.3-rc2/net/batman-adv/
A Dbat_algo.c190 int portid = NETLINK_CB(cb->skb).portid; in batadv_algo_dump()
A Dbat_v.c220 int portid = NETLINK_CB(cb->skb).portid; in batadv_v_neigh_dump()
432 int portid = NETLINK_CB(cb->skb).portid; in batadv_v_orig_dump()
775 int portid = NETLINK_CB(cb->skb).portid; in batadv_v_gw_dump()
/linux-6.3-rc2/net/smc/
A Dsmc_diag.c82 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in __smc_diag_dump()
96 user_ns = sk_user_ns(NETLINK_CB(cb->skb).sk); in __smc_diag_dump()
/linux-6.3-rc2/net/core/
A Dnet_namespace.c795 rtnl_net_notifyid(net, RTM_NEWNSID, err, NETLINK_CB(skb).portid, in rtnl_net_newid()
897 .portid = NETLINK_CB(skb).portid, in rtnl_net_getid()
934 target = rtnl_get_net_ns_capable(NETLINK_CB(skb).sk, id); in rtnl_net_getid()
957 err = rtnl_unicast(msg, net, NETLINK_CB(skb).portid); in rtnl_net_getid()
1047 .portid = NETLINK_CB(cb->skb).portid, in rtnl_net_dumpid()

Completed in 77 milliseconds

123456