Home
last modified time | relevance | path

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

123456

/linux/net/sctp/
A Ddiag.c272 err = inet_sctp_diag_fill(sk, assoc, rep, req, sk_user_ns(NETLINK_CB(skb).sk), in sctp_sock_dump_one()
273 NETLINK_CB(skb).portid, commp->nlh->nlmsg_seq, 0, in sctp_sock_dump_one()
281 return nlmsg_unicast(sock_net(skb->sk)->diag_nlsk, rep, NETLINK_CB(skb).portid); in sctp_sock_dump_one()
315 sk_user_ns(NETLINK_CB(cb->skb).sk), in sctp_sock_dump()
316 NETLINK_CB(cb->skb).portid, in sctp_sock_dump()
326 sk_user_ns(NETLINK_CB(cb->skb).sk), in sctp_sock_dump()
327 NETLINK_CB(cb->skb).portid, in sctp_sock_dump()
395 sk_user_ns(NETLINK_CB(cb->skb).sk), in sctp_ep_dump()
396 NETLINK_CB(cb->skb).portid, in sctp_ep_dump()
/linux/net/netlink/
A Daf_netlink.c173 NETLINK_CB(new).portid = NETLINK_CB(skb).portid; in netlink_to_full_skb()
174 NETLINK_CB(new).dst_group = NETLINK_CB(skb).dst_group; in netlink_to_full_skb()
175 NETLINK_CB(new).creds = NETLINK_CB(skb).creds; in netlink_to_full_skb()
1317 NETLINK_CB(skb).sk = ssk; in netlink_unicast_kernel()
1826 info.group = NETLINK_CB(skb).dst_group; in netlink_cmsg_recv_pktinfo()
1833 if (!NETLINK_CB(skb).nsid_is_set) in netlink_cmsg_listen_all_nsid()
1837 &NETLINK_CB(skb).nsid); in netlink_cmsg_listen_all_nsid()
1900 NETLINK_CB(skb).portid = nlk->portid; in netlink_sendmsg()
1901 NETLINK_CB(skb).dst_group = dst_group; in netlink_sendmsg()
1902 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/drivers/infiniband/core/
A Dnldev.c1041 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_get_doit()
1185 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_port_get_doit()
1243 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, in nldev_port_get_dumpit()
1288 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_res_get_doit()
1452 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in res_get_common_doit()
1794 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_get_chardev()
1851 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_sys_get_doit()
2030 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_stat_set_doit()
2099 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_stat_del_doit()
2168 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in stat_get_doit_default_counter()
[all …]
/linux/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/net/netfilter/
A Dnfnetlink_cttimeout.c236 if (ctnl_timeout_fill_info(skb, NETLINK_CB(cb->skb).portid, in ctnl_timeout_dump()
282 ret = ctnl_timeout_fill_info(skb2, NETLINK_CB(skb).portid, in cttimeout_get_timeout()
291 ret = nfnetlink_unicast(skb2, info->net, NETLINK_CB(skb).portid); in cttimeout_get_timeout()
486 NETLINK_CB(skb).portid, in cttimeout_default_get()
496 return nfnetlink_unicast(skb2, info->net, NETLINK_CB(skb).portid); in cttimeout_default_get()
A Dnf_conntrack_netlink.c1221 ctnetlink_fill_info(skb, NETLINK_CB(cb->skb).portid, in ctnetlink_dump_table()
1598 NETLINK_CB(skb).portid, in ctnetlink_del_conntrack()
1682 err = ctnetlink_fill_info(skb2, NETLINK_CB(skb).portid, in ctnetlink_get_conntrack()
2474 ct, NETLINK_CB(skb).portid, in ctnetlink_new_conntrack()
2496 ct, NETLINK_CB(skb).portid, in ctnetlink_new_conntrack()
2561 NETLINK_CB(cb->skb).portid, in ctnetlink_ct_stat_cpu_dump()
3195 NETLINK_CB(cb->skb).portid, in ctnetlink_exp_dump_table()
3436 nf_ct_unlink_expect_report(exp, NETLINK_CB(skb).portid, in ctnetlink_del_expect()
3448 NETLINK_CB(skb).portid, in ctnetlink_del_expect()
3453 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 Dnf_tables_api.c141 ctx->portid = NETLINK_CB(skb).portid; in nft_ctx_init()
1092 NETLINK_CB(skb).portid); in nf_tables_newtable()
1289 NETLINK_CB(skb).portid); in nf_tables_deltable()
1293 NETLINK_CB(skb).portid); in nf_tables_deltable()
2400 NETLINK_CB(skb).portid); in nf_tables_newchain()
2496 NETLINK_CB(skb).portid); in nf_tables_delchain()
3287 NETLINK_CB(skb).portid); in nf_tables_newrule()
3521 NETLINK_CB(skb).portid); in nf_tables_delrule()
4327 NETLINK_CB(skb).portid); in nf_tables_newset()
6583 NETLINK_CB(skb).portid); in nf_tables_newobj()
[all …]
/linux/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/net/unix/
A Ddiag.c221 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 = nlmsg_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid); in unix_diag_get_exact()
/linux/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/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()
1722 rep = __nlmsg_put(skb2, NETLINK_CB(skb).portid, in call_ad()
1741 nfnetlink_unicast(skb2, net, NETLINK_CB(skb).portid); in call_ad()
1874 nlh2 = start_msg(skb2, NETLINK_CB(skb).portid, info->nlh->nlmsg_seq, 0, in ip_set_header()
1886 return nfnetlink_unicast(skb2, info->net, NETLINK_CB(skb).portid); in ip_set_header()
1928 nlh2 = start_msg(skb2, NETLINK_CB(skb).portid, info->nlh->nlmsg_seq, 0, in ip_set_type()
1941 return nfnetlink_unicast(skb2, info->net, NETLINK_CB(skb).portid); in ip_set_type()
1980 return nfnetlink_unicast(skb2, info->net, NETLINK_CB(skb).portid); in ip_set_protocol()
2022 return nfnetlink_unicast(skb2, info->net, NETLINK_CB(skb).portid); in ip_set_byname()
[all …]
/linux/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/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/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/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/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/security/selinux/
A Dnetlink.c86 NETLINK_CB(skb).dst_group = SELNLGRP_AVC; in selnl_notify()
/linux/net/ipv6/
A Daddrlabel.c513 NETLINK_CB(cb->skb).portid, in ip6addrlbl_dump()
619 NETLINK_CB(in_skb).portid, in ip6addrlbl_get()
628 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in ip6addrlbl_get()
/linux/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/net/batman-adv/
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()
A Dbat_algo.c190 int portid = NETLINK_CB(cb->skb).portid; in batadv_algo_dump()
/linux/net/core/
A Dnet_namespace.c774 rtnl_net_notifyid(net, RTM_NEWNSID, err, NETLINK_CB(skb).portid, in rtnl_net_newid()
876 .portid = NETLINK_CB(skb).portid, in rtnl_net_getid()
913 target = rtnl_get_net_ns_capable(NETLINK_CB(skb).sk, id); in rtnl_net_getid()
936 err = rtnl_unicast(msg, net, NETLINK_CB(skb).portid); in rtnl_net_getid()
1026 .portid = NETLINK_CB(cb->skb).portid, in rtnl_net_dumpid()
/linux/net/decnet/netfilter/
A Ddn_rtmsg.c83 NETLINK_CB(skb2).dst_group = group; in dnrmg_send_peer()

Completed in 62 milliseconds

123456