/linux-6.12.1/net/sctp/ |
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.12.1/net/netlink/ |
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() 881 return __netlink_ns_capable(&NETLINK_CB(skb), user_ns, cap); in netlink_ns_capable() 1314 NETLINK_CB(skb).sk = ssk; in netlink_unicast_kernel() 1382 return nlk_test_bit(STRICT_CHK, NETLINK_CB(skb).sk); in netlink_strict_get_check() 1477 NETLINK_CB(p->skb2).nsid = peernet2id(sock_net(sk), p->net); in do_one_broadcast() 1478 if (NETLINK_CB(p->skb2).nsid != NETNSA_NSID_NOT_ASSIGNED) in do_one_broadcast() 1479 NETLINK_CB(p->skb2).nsid_is_set = true; in do_one_broadcast() 1790 info.group = NETLINK_CB(skb).dst_group; in netlink_cmsg_recv_pktinfo() [all …]
|
D | diag.c | 138 NETLINK_CB(cb->skb).portid, in __netlink_diag_dump() 168 NETLINK_CB(cb->skb).portid, in __netlink_diag_dump()
|
/linux-6.12.1/drivers/infiniband/core/ |
D | nldev.c | 1095 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_get_doit() 1110 return rdma_nl_unicast(sock_net(skb->sk), msg, NETLINK_CB(skb).portid); in nldev_get_doit() 1183 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in _nldev_get_dumpit() 1243 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_port_get_doit() 1258 return rdma_nl_unicast(sock_net(skb->sk), msg, NETLINK_CB(skb).portid); in nldev_port_get_doit() 1305 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, in nldev_port_get_dumpit() 1354 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_res_get_doit() 1368 return rdma_nl_unicast(sock_net(skb->sk), msg, NETLINK_CB(skb).portid); in nldev_res_get_doit() 1388 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in _nldev_res_get_dumpit() 1522 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in res_get_common_doit() [all …]
|
/linux-6.12.1/net/unix/ |
D | diag.c | 200 NETLINK_CB(cb->skb).portid, in unix_diag_dump() 267 err = sk_diag_fill(sk, rep, req, sk_user_ns(NETLINK_CB(in_skb).sk), in unix_diag_get_exact() 268 NETLINK_CB(in_skb).portid, in unix_diag_get_exact() 278 err = nlmsg_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid); in unix_diag_get_exact()
|
/linux-6.12.1/drivers/staging/gdm724x/ |
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.12.1/net/vmw_vsock/ |
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.12.1/net/netfilter/ |
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() 498 NETLINK_CB(skb).portid, in cttimeout_default_get() 508 return nfnetlink_unicast(skb2, info->net, NETLINK_CB(skb).portid); in cttimeout_default_get()
|
D | nf_conntrack_netlink.c | 1244 ctnetlink_fill_info(skb, NETLINK_CB(cb->skb).portid, in ctnetlink_dump_table() 1617 NETLINK_CB(skb).portid, in ctnetlink_del_conntrack() 1639 nf_ct_delete(ct, NETLINK_CB(skb).portid, nlmsg_report(info->nlh)); in ctnetlink_del_conntrack() 1696 err = ctnetlink_fill_info(skb2, NETLINK_CB(skb).portid, in ctnetlink_get_conntrack() 1706 return nfnetlink_unicast(skb2, info->net, NETLINK_CB(skb).portid); in ctnetlink_get_conntrack() 1747 res = ctnetlink_fill_info(skb, NETLINK_CB(cb->skb).portid, in ctnetlink_dump_one_entry() 2457 ct, NETLINK_CB(skb).portid, in ctnetlink_new_conntrack() 2479 ct, NETLINK_CB(skb).portid, in ctnetlink_new_conntrack() 2544 NETLINK_CB(cb->skb).portid, in ctnetlink_ct_stat_cpu_dump() 2608 err = ctnetlink_stat_ct_fill_info(skb2, NETLINK_CB(skb).portid, in ctnetlink_stat_ct() [all …]
|
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()
|
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()
|
/linux-6.12.1/lib/ |
D | kobject_uevent.c | 299 parms = &NETLINK_CB(skb); in alloc_uevent_skb() 358 struct netlink_skb_parms *parms = &NETLINK_CB(skb); in uevent_net_broadcast_tagged() 729 NETLINK_CB(skbc).portid = 0; in uevent_net_broadcast() 730 NETLINK_CB(skbc).dst_group = 1; in uevent_net_broadcast() 754 net = sock_net(NETLINK_CB(skb).sk); in uevent_net_rcv_skb()
|
/linux-6.12.1/drivers/connector/ |
D | connector.c | 111 NETLINK_CB(skb).dst_group = group; in cn_netlink_send_mult() 140 struct netlink_skb_parms *nsp = &NETLINK_CB(skb); in cn_call_callback()
|
/linux-6.12.1/net/netfilter/ipset/ |
D | ip_set_core.c | 1567 unsigned int flags = NETLINK_CB(cb->skb).portid ? NLM_F_MULTI : 0; in ip_set_dump_do() 1620 nlh = start_msg(skb, NETLINK_CB(cb->skb).portid, in ip_set_dump_do() 1771 rep = nlmsg_put(skb2, NETLINK_CB(skb).portid, in call_ad() 1792 nfnetlink_unicast(skb2, net, NETLINK_CB(skb).portid); in call_ad() 1925 nlh2 = start_msg(skb2, NETLINK_CB(skb).portid, info->nlh->nlmsg_seq, 0, in ip_set_header() 1937 return nfnetlink_unicast(skb2, info->net, NETLINK_CB(skb).portid); in ip_set_header() 1979 nlh2 = start_msg(skb2, NETLINK_CB(skb).portid, info->nlh->nlmsg_seq, 0, in ip_set_type() 1992 return nfnetlink_unicast(skb2, info->net, NETLINK_CB(skb).portid); in ip_set_type() 2021 nlh2 = start_msg(skb2, NETLINK_CB(skb).portid, info->nlh->nlmsg_seq, 0, in ip_set_protocol() 2031 return nfnetlink_unicast(skb2, info->net, NETLINK_CB(skb).portid); in ip_set_protocol() [all …]
|
/linux-6.12.1/net/xdp/ |
D | xsk_diag.c | 167 sk_user_ns(NETLINK_CB(cb->skb).sk), in xsk_diag_dump() 168 NETLINK_CB(cb->skb).portid, in xsk_diag_dump()
|
/linux-6.12.1/security/selinux/ |
D | netlink.c | 86 NETLINK_CB(skb).dst_group = SELNLGRP_AVC; in selnl_notify()
|
/linux-6.12.1/net/packet/ |
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.12.1/net/phonet/ |
D | pn_netlink.c | 144 NETLINK_CB(cb->skb).portid, in getaddr_dumpit() 277 NETLINK_CB(cb->skb).portid, in route_dumpit()
|
/linux-6.12.1/include/linux/ |
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.12.1/net/smc/ |
D | smc_diag.c | 83 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in __smc_diag_dump() 97 user_ns = sk_user_ns(NETLINK_CB(cb->skb).sk); in __smc_diag_dump()
|
/linux-6.12.1/net/batman-adv/ |
D | bat_algo.c | 190 int portid = NETLINK_CB(cb->skb).portid; in batadv_algo_dump()
|
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() 756 int portid = NETLINK_CB(cb->skb).portid; in batadv_v_gw_dump()
|
/linux-6.12.1/net/ipv6/ |
D | addrlabel.c | 517 NETLINK_CB(cb->skb).portid, in ip6addrlbl_dump() 623 NETLINK_CB(in_skb).portid, in ip6addrlbl_get() 632 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in ip6addrlbl_get()
|
/linux-6.12.1/net/core/ |
D | net_namespace.c | 811 rtnl_net_notifyid(net, RTM_NEWNSID, err, NETLINK_CB(skb).portid, in rtnl_net_newid() 913 .portid = NETLINK_CB(skb).portid, in rtnl_net_getid() 950 target = rtnl_get_net_ns_capable(NETLINK_CB(skb).sk, id); in rtnl_net_getid() 973 err = rtnl_unicast(msg, net, NETLINK_CB(skb).portid); in rtnl_net_getid() 1063 .portid = NETLINK_CB(cb->skb).portid, in rtnl_net_dumpid()
|
/linux-6.12.1/net/devlink/ |
D | sb.c | 247 NETLINK_CB(cb->skb).portid, in devlink_nl_sb_get_dump_one() 383 NETLINK_CB(cb->skb).portid, in devlink_nl_sb_pool_get_dump_one() 591 NETLINK_CB(cb->skb).portid, in devlink_nl_sb_port_pool_get_dump_one() 828 NETLINK_CB(cb->skb).portid, in devlink_nl_sb_tc_pool_bind_get_dump_one()
|