| /Linux-v5.4/net/ipv4/ |
| D | raw_diag.c | 112 sk_user_ns(NETLINK_CB(in_skb).sk), in raw_diag_dump_one() 113 NETLINK_CB(in_skb).portid, in raw_diag_dump_one() 124 NETLINK_CB(in_skb).portid, in raw_diag_dump_one() 140 sk_user_ns(NETLINK_CB(cb->skb).sk), in sk_diag_dump() 141 NETLINK_CB(cb->skb).portid, in sk_diag_dump()
|
| D | udp_diag.c | 25 sk_user_ns(NETLINK_CB(cb->skb).sk), in sk_diag_dump() 26 NETLINK_CB(cb->skb).portid, in sk_diag_dump() 74 sk_user_ns(NETLINK_CB(in_skb).sk), in udp_dump_one() 75 NETLINK_CB(in_skb).portid, in udp_dump_one() 83 err = netlink_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid, in udp_dump_one()
|
| D | inet_diag.c | 486 sk_user_ns(NETLINK_CB(in_skb).sk), in inet_diag_dump_one_icsk() 487 NETLINK_CB(in_skb).portid, in inet_diag_dump_one_icsk() 494 err = netlink_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid, in inet_diag_dump_one_icsk() 864 sk_user_ns(NETLINK_CB(cb->skb).sk), in inet_csk_diag_dump() 865 NETLINK_CB(cb->skb).portid, in inet_csk_diag_dump() 1020 sk_user_ns(NETLINK_CB(cb->skb).sk), in inet_diag_dump_icsk() 1021 NETLINK_CB(cb->skb).portid, in inet_diag_dump_icsk()
|
| /Linux-v5.4/net/sctp/ |
| D | diag.c | 280 sk_user_ns(NETLINK_CB(in_skb).sk), in sctp_tsp_dump_one() 281 NETLINK_CB(in_skb).portid, in sctp_tsp_dump_one() 291 err = netlink_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid, in sctp_tsp_dump_one() 324 sk_user_ns(NETLINK_CB(cb->skb).sk), in sctp_sock_dump() 325 NETLINK_CB(cb->skb).portid, in sctp_sock_dump() 335 sk_user_ns(NETLINK_CB(cb->skb).sk), in sctp_sock_dump() 336 NETLINK_CB(cb->skb).portid, in sctp_sock_dump() 405 sk_user_ns(NETLINK_CB(cb->skb).sk), in sctp_ep_dump() 406 NETLINK_CB(cb->skb).portid, in sctp_ep_dump()
|
| /Linux-v5.4/net/netlink/ |
| D | af_netlink.c | 164 NETLINK_CB(new).portid = NETLINK_CB(skb).portid; in netlink_to_full_skb() 165 NETLINK_CB(new).dst_group = NETLINK_CB(skb).dst_group; in netlink_to_full_skb() 166 NETLINK_CB(new).creds = NETLINK_CB(skb).creds; in netlink_to_full_skb() 874 return __netlink_ns_capable(&NETLINK_CB(skb), user_ns, cap); in netlink_ns_capable() 1300 NETLINK_CB(skb).sk = ssk; in netlink_unicast_kernel() 1368 const struct netlink_sock *nlk = nlk_sk(NETLINK_CB(skb).sk); in netlink_strict_get_check() 1463 NETLINK_CB(p->skb2).nsid = peernet2id(sock_net(sk), p->net); in do_one_broadcast() 1464 if (NETLINK_CB(p->skb2).nsid != NETNSA_NSID_NOT_ASSIGNED) in do_one_broadcast() 1465 NETLINK_CB(p->skb2).nsid_is_set = true; in do_one_broadcast() 1828 info.group = NETLINK_CB(skb).dst_group; in netlink_cmsg_recv_pktinfo() [all …]
|
| D | diag.c | 137 NETLINK_CB(cb->skb).portid, in __netlink_diag_dump() 167 NETLINK_CB(cb->skb).portid, in __netlink_diag_dump()
|
| /Linux-v5.4/drivers/infiniband/core/ |
| D | nldev.c | 823 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_get_doit() 834 return rdma_nl_unicast(sock_net(skb->sk), msg, NETLINK_CB(skb).portid); in nldev_get_doit() 903 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in _nldev_get_dumpit() 963 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_port_get_doit() 974 return rdma_nl_unicast(sock_net(skb->sk), msg, NETLINK_CB(skb).portid); in nldev_port_get_doit() 1021 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, in nldev_port_get_dumpit() 1066 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_res_get_doit() 1076 return rdma_nl_unicast(sock_net(skb->sk), msg, NETLINK_CB(skb).portid); in nldev_res_get_doit() 1096 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in _nldev_res_get_dumpit() 1236 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in res_get_common_doit() [all …]
|
| /Linux-v5.4/drivers/staging/gdm724x/ |
| D | netlink_k.c | 113 NETLINK_CB(skb).portid = 0; in netlink_send() 114 NETLINK_CB(skb).dst_group = 0; in netlink_send()
|
| /Linux-v5.4/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-v5.4/net/netfilter/ |
| D | nfnetlink_cttimeout.c | 227 if (ctnl_timeout_fill_info(skb, NETLINK_CB(cb->skb).portid, in ctnl_timeout_dump() 274 ret = ctnl_timeout_fill_info(skb2, NETLINK_CB(skb).portid, in cttimeout_get_timeout() 282 ret = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, in cttimeout_get_timeout() 493 ret = cttimeout_default_fill_info(net, skb2, NETLINK_CB(skb).portid, in cttimeout_default_get() 503 ret = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, MSG_DONTWAIT); in cttimeout_default_get()
|
| D | nf_conntrack_netlink.c | 958 ctnetlink_fill_info(skb, NETLINK_CB(cb->skb).portid, in ctnetlink_dump_table() 1279 NETLINK_CB(skb).portid, in ctnetlink_del_conntrack() 1306 nf_ct_delete(ct, NETLINK_CB(skb).portid, nlmsg_report(nlh)); in ctnetlink_del_conntrack() 1368 err = ctnetlink_fill_info(skb2, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in ctnetlink_get_conntrack() 1375 err = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, MSG_DONTWAIT); in ctnetlink_get_conntrack() 1433 res = ctnetlink_fill_info(skb, NETLINK_CB(cb->skb).portid, in ctnetlink_dump_list() 2167 ct, NETLINK_CB(skb).portid, in ctnetlink_new_conntrack() 2189 ct, NETLINK_CB(skb).portid, in ctnetlink_new_conntrack() 2256 NETLINK_CB(cb->skb).portid, in ctnetlink_ct_stat_cpu_dump() 2328 err = ctnetlink_stat_ct_fill_info(skb2, NETLINK_CB(skb).portid, in ctnetlink_stat_ct() [all …]
|
| D | nfnetlink_acct.c | 213 if (nfnl_acct_fill_info(skb, NETLINK_CB(cb->skb).portid, in nfnl_acct_dump() 303 ret = nfnl_acct_fill_info(skb2, NETLINK_CB(skb).portid, in nfnl_acct_get() 311 ret = netlink_unicast(nfnl, skb2, NETLINK_CB(skb).portid, in nfnl_acct_get()
|
| /Linux-v5.4/net/unix/ |
| D | diag.c | 221 NETLINK_CB(cb->skb).portid, in unix_diag_dump() 288 err = sk_diag_fill(sk, rep, req, NETLINK_CB(in_skb).portid, in unix_diag_get_exact() 298 err = netlink_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid, in unix_diag_get_exact()
|
| /Linux-v5.4/lib/ |
| D | kobject_uevent.c | 299 parms = &NETLINK_CB(skb); in alloc_uevent_skb() 356 struct netlink_skb_parms *parms = &NETLINK_CB(skb); in uevent_net_broadcast_tagged() 713 NETLINK_CB(skbc).portid = 0; in uevent_net_broadcast() 714 NETLINK_CB(skbc).dst_group = 1; in uevent_net_broadcast() 738 net = sock_net(NETLINK_CB(skb).sk); in uevent_net_rcv_skb()
|
| /Linux-v5.4/drivers/connector/ |
| 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-v5.4/net/netfilter/ipset/ |
| D | ip_set_core.c | 1344 unsigned int flags = NETLINK_CB(cb->skb).portid ? NLM_F_MULTI : 0; in ip_set_dump_start() 1407 nlh = start_msg(skb, NETLINK_CB(cb->skb).portid, in ip_set_dump_start() 1550 rep = __nlmsg_put(skb2, NETLINK_CB(skb).portid, in call_ad() 1569 netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, in call_ad() 1711 nlh2 = start_msg(skb2, NETLINK_CB(skb).portid, nlh->nlmsg_seq, 0, in ip_set_header() 1723 ret = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, MSG_DONTWAIT); in ip_set_header() 1771 nlh2 = start_msg(skb2, NETLINK_CB(skb).portid, nlh->nlmsg_seq, 0, in ip_set_type() 1784 ret = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, MSG_DONTWAIT); in ip_set_type() 1820 nlh2 = start_msg(skb2, NETLINK_CB(skb).portid, nlh->nlmsg_seq, 0, in ip_set_protocol() 1830 ret = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, MSG_DONTWAIT); in ip_set_protocol() [all …]
|
| /Linux-v5.4/net/xdp/ |
| D | xsk_diag.c | 147 sk_user_ns(NETLINK_CB(cb->skb).sk), in xsk_diag_dump() 148 NETLINK_CB(cb->skb).portid, in xsk_diag_dump()
|
| /Linux-v5.4/include/linux/ |
| D | netlink.h | 33 #define NETLINK_CB(skb) (*(struct netlink_skb_parms*)&((skb)->cb)) macro 34 #define NETLINK_CREDS(skb) (&NETLINK_CB((skb)).creds)
|
| /Linux-v5.4/security/selinux/ |
| D | netlink.c | 86 NETLINK_CB(skb).dst_group = SELNLGRP_AVC; in selnl_notify()
|
| /Linux-v5.4/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-v5.4/net/phonet/ |
| 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-v5.4/net/decnet/netfilter/ |
| D | dn_rtmsg.c | 83 NETLINK_CB(skb2).dst_group = group; in dnrmg_send_peer()
|
| /Linux-v5.4/net/ipv6/ |
| D | addrlabel.c | 505 NETLINK_CB(cb->skb).portid, in ip6addrlbl_dump() 611 NETLINK_CB(in_skb).portid, in ip6addrlbl_get() 620 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in ip6addrlbl_get()
|
| /Linux-v5.4/net/smc/ |
| D | smc_diag.c | 87 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in __smc_diag_dump() 101 user_ns = sk_user_ns(NETLINK_CB(cb->skb).sk); in __smc_diag_dump()
|
| /Linux-v5.4/net/batman-adv/ |
| D | bat_algo.c | 208 int portid = NETLINK_CB(cb->skb).portid; in batadv_algo_dump()
|