/linux-6.3-rc2/net/sctp/ |
A D | diag.c | 269 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 D | nldev.c | 1043 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 D | af_netlink.c | 177 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 D | diag.c | 137 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 D | diag.c | 221 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 D | netlink_k.c | 114 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 D | diag.c | 86 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 D | kobject_uevent.c | 300 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 D | nfnetlink_cttimeout.c | 249 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 D | nf_conntrack_netlink.c | 1233 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 D | nfnetlink_acct.c | 220 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 D | nfnetlink_cthelper.c | 598 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 D | nf_tables_api.c | 140 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 D | connector.c | 110 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 D | ip_set_core.c | 1527 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 D | xsk_diag.c | 164 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 D | diag.c | 209 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 D | netlink.c | 86 NETLINK_CB(skb).dst_group = SELNLGRP_AVC; in selnl_notify()
|
/linux-6.3-rc2/include/linux/ |
A D | netlink.h | 35 #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 D | pn_netlink.c | 144 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 D | addrlabel.c | 514 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 D | bat_algo.c | 190 int portid = NETLINK_CB(cb->skb).portid; in batadv_algo_dump()
|
A D | bat_v.c | 220 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 D | smc_diag.c | 82 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 D | net_namespace.c | 795 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()
|