Home
last modified time | relevance | path

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

/linux-4.4.14/net/ipv4/
Dudp_diag.c29 sk_user_ns(NETLINK_CB(cb->skb).sk), in sk_diag_dump()
30 NETLINK_CB(cb->skb).portid, in sk_diag_dump()
76 sk_user_ns(NETLINK_CB(in_skb).sk), in udp_dump_one()
77 NETLINK_CB(in_skb).portid, in udp_dump_one()
84 err = netlink_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid, in udp_dump_one()
Dinet_diag.c395 sk_user_ns(NETLINK_CB(in_skb).sk), in inet_diag_dump_one_icsk()
396 NETLINK_CB(in_skb).portid, in inet_diag_dump_one_icsk()
403 err = netlink_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid, in inet_diag_dump_one_icsk()
702 sk_user_ns(NETLINK_CB(cb->skb).sk), in inet_csk_diag_dump()
703 NETLINK_CB(cb->skb).portid, in inet_csk_diag_dump()
846 sk_user_ns(NETLINK_CB(cb->skb).sk), in inet_diag_dump_icsk()
847 NETLINK_CB(cb->skb).portid, in inet_diag_dump_icsk()
Ddevinet.c613 __inet_del_ifa(in_dev, ifap, 1, nlh, NETLINK_CB(skb).portid); in inet_rtm_deladdr()
876 return __inet_insert_ifa(ifa, nlh, NETLINK_CB(skb).portid); in inet_rtm_newaddr()
888 rtmsg_ifa(RTM_NEWADDR, ifa, nlh, NETLINK_CB(skb).portid); in inet_rtm_newaddr()
1602 NETLINK_CB(cb->skb).portid, in inet_dump_ifaddr()
1883 NETLINK_CB(in_skb).portid, in inet_netconf_get_devconf()
1892 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in inet_netconf_get_devconf()
1925 NETLINK_CB(cb->skb).portid, in inet_netconf_dump_devconf()
1942 NETLINK_CB(cb->skb).portid, in inet_netconf_dump_devconf()
1953 NETLINK_CB(cb->skb).portid, in inet_netconf_dump_devconf()
Dfib_frontend.c655 cfg->fc_nlinfo.portid = NETLINK_CB(skb).portid; in rtm_to_fib_config()
1095 portid = NETLINK_CB(skb).portid; /* netlink portid */ in nl_fib_input()
1096 NETLINK_CB(skb).portid = 0; /* from kernel */ in nl_fib_input()
1097 NETLINK_CB(skb).dst_group = 0; /* unicast */ in nl_fib_input()
Dipmr.c639 rtnl_unicast(skb, net, NETLINK_CB(skb).portid); in ipmr_destroy_unres()
929 rtnl_unicast(skb, net, NETLINK_CB(skb).portid); in ipmr_cache_resolve()
2374 NETLINK_CB(cb->skb).portid, in ipmr_rtm_dumproute()
2389 NETLINK_CB(cb->skb).portid, in ipmr_rtm_dumproute()
Dfou.c707 ret = fou_dump_info(fout, NETLINK_CB(cb->skb).portid, in fou_nl_dump()
Dtcp_metrics.c886 hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in tcp_metrics_dump_info()
Droute.c2614 NETLINK_CB(in_skb).portid, nlh->nlmsg_seq, in inet_rtm_getroute()
2619 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in inet_rtm_getroute()
Dfib_trie.c1919 if (fib_dump_info(skb, NETLINK_CB(cb->skb).portid, in fn_trie_dump_leaf()
/linux-4.4.14/net/netlink/
Daf_netlink.c138 NETLINK_CB(new).portid = NETLINK_CB(skb).portid; in netlink_to_full_skb()
139 NETLINK_CB(new).dst_group = NETLINK_CB(skb).dst_group; in netlink_to_full_skb()
140 NETLINK_CB(new).creds = NETLINK_CB(skb).creds; in netlink_to_full_skb()
740 NETLINK_CB(skb).flags |= NETLINK_SKB_MMAPED; in netlink_ring_setup_skb()
741 NETLINK_CB(skb).sk = sk; in netlink_ring_setup_skb()
790 NETLINK_CB(skb).portid = nlk->portid; in netlink_mmap_sendmsg()
791 NETLINK_CB(skb).dst_group = dst_group; in netlink_mmap_sendmsg()
792 NETLINK_CB(skb).creds = scm->creds; in netlink_mmap_sendmsg()
828 hdr->nm_group = NETLINK_CB(skb).dst_group; in netlink_queue_mmaped_skb()
829 hdr->nm_pid = NETLINK_CB(skb).creds.pid; in netlink_queue_mmaped_skb()
[all …]
Ddiag.c130 NETLINK_CB(cb->skb).portid, in __netlink_diag_dump()
153 NETLINK_CB(cb->skb).portid, in __netlink_diag_dump()
Daf_netlink.h66 return NETLINK_CB(skb).flags & NETLINK_SKB_MMAPED; in netlink_skb_is_mmaped()
Dgenetlink.c620 info.snd_portid = NETLINK_CB(skb).portid; in genl_family_rcv_msg()
830 if (ctrl_fill_info(rt, NETLINK_CB(cb->skb).portid, in ctrl_dumpfamily()
/linux-4.4.14/drivers/staging/gdm72xx/
Dnetlink_k.c143 NETLINK_CB(skb).portid = 0; in netlink_send()
144 NETLINK_CB(skb).dst_group = 0; in netlink_send()
/linux-4.4.14/drivers/staging/gdm724x/
Dnetlink_k.c136 NETLINK_CB(skb).portid = 0; in netlink_send()
137 NETLINK_CB(skb).dst_group = 0; in netlink_send()
/linux-4.4.14/net/netfilter/
Dnfnetlink_cttimeout.c229 if (ctnl_timeout_fill_info(skb, NETLINK_CB(cb->skb).portid, in ctnl_timeout_dump()
275 ret = ctnl_timeout_fill_info(skb2, NETLINK_CB(skb).portid, in cttimeout_get_timeout()
283 ret = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, in cttimeout_get_timeout()
492 ret = cttimeout_default_fill_info(net, skb2, NETLINK_CB(skb).portid, in cttimeout_default_get()
502 ret = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, MSG_DONTWAIT); in cttimeout_default_get()
Dnf_conntrack_netlink.c868 ctnetlink_fill_info(skb, NETLINK_CB(cb->skb).portid, in ctnetlink_dump_table()
1142 NETLINK_CB(skb).portid, in ctnetlink_del_conntrack()
1164 nf_ct_delete(ct, NETLINK_CB(skb).portid, nlmsg_report(nlh)); in ctnetlink_del_conntrack()
1234 err = ctnetlink_fill_info(skb2, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in ctnetlink_get_conntrack()
1241 err = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, MSG_DONTWAIT); in ctnetlink_get_conntrack()
1299 res = ctnetlink_fill_info(skb, NETLINK_CB(cb->skb).portid, in ctnetlink_dump_list()
1934 ct, NETLINK_CB(skb).portid, in ctnetlink_new_conntrack()
1957 ct, NETLINK_CB(skb).portid, in ctnetlink_new_conntrack()
2027 NETLINK_CB(cb->skb).portid, in ctnetlink_ct_stat_cpu_dump()
2095 err = ctnetlink_stat_ct_fill_info(skb2, NETLINK_CB(skb).portid, in ctnetlink_stat_ct()
[all …]
Dnfnetlink_acct.c210 if (nfnl_acct_fill_info(skb, NETLINK_CB(cb->skb).portid, in nfnl_acct_dump()
299 ret = nfnl_acct_fill_info(skb2, NETLINK_CB(skb).portid, in nfnl_acct_get()
307 ret = netlink_unicast(nfnl, skb2, NETLINK_CB(skb).portid, in nfnl_acct_get()
Dnfnetlink_cthelper.c483 NETLINK_CB(cb->skb).portid, in nfnl_cthelper_dump_table()
552 ret = nfnl_cthelper_fill_info(skb2, NETLINK_CB(skb).portid, in nfnl_cthelper_get()
561 ret = netlink_unicast(nfnl, skb2, NETLINK_CB(skb).portid, in nfnl_cthelper_get()
Dnfnetlink_queue.c977 NETLINK_CB(skb).portid); in nfqnl_recv_verdict_batch()
1027 NETLINK_CB(entry->skb).portid, in nfqnl_ct_parse()
1054 NETLINK_CB(skb).portid); in nfqnl_recv_verdict()
1138 if (queue && queue->peer_portid != NETLINK_CB(skb).portid) { in nfqnl_recv_config()
1151 NETLINK_CB(skb).portid); in nfqnl_recv_config()
Dnf_tables_api.c105 ctx->portid = NETLINK_CB(skb).portid; in nft_ctx_init()
527 NETLINK_CB(cb->skb).portid, in nf_tables_dump_tables()
578 err = nf_tables_fill_table_info(skb2, net, NETLINK_CB(skb).portid, in nf_tables_gettable()
584 return nlmsg_unicast(nlsk, skb2, NETLINK_CB(skb).portid); in nf_tables_gettable()
1082 NETLINK_CB(cb->skb).portid, in nf_tables_dump_chains()
1141 err = nf_tables_fill_chain_info(skb2, net, NETLINK_CB(skb).portid, in nf_tables_getchain()
1147 return nlmsg_unicast(nlsk, skb2, NETLINK_CB(skb).portid); in nf_tables_getchain()
1910 if (nf_tables_fill_rule_info(skb, net, NETLINK_CB(cb->skb).portid, in nf_tables_dump_rules()
1976 err = nf_tables_fill_rule_info(skb2, net, NETLINK_CB(skb).portid, in nf_tables_getrule()
1982 return nlmsg_unicast(nlsk, skb2, NETLINK_CB(skb).portid); in nf_tables_getrule()
[all …]
Dnfnetlink_log.c845 if (inst && inst->peer_portid != NETLINK_CB(skb).portid) { in nfulnl_recv_config()
881 NETLINK_CB(skb).portid, in nfulnl_recv_config()
882 sk_user_ns(NETLINK_CB(skb).sk)); in nfulnl_recv_config()
Dnft_compat.c575 if (nfnl_compat_fill_info(skb2, NETLINK_CB(skb).portid, in nfnl_compat_get()
585 ret = netlink_unicast(nfnl, skb2, NETLINK_CB(skb).portid, in nfnl_compat_get()
/linux-4.4.14/net/unix/
Ddiag.c207 NETLINK_CB(cb->skb).portid, in unix_diag_dump()
272 err = sk_diag_fill(sk, rep, req, NETLINK_CB(in_skb).portid, in unix_diag_get_exact()
282 err = netlink_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid, in unix_diag_get_exact()
/linux-4.4.14/include/linux/
Dnetlink.h35 #define NETLINK_CB(skb) (*(struct netlink_skb_parms*)&((skb)->cb)) macro
36 #define NETLINK_CREDS(skb) (&NETLINK_CB((skb)).creds)
/linux-4.4.14/drivers/connector/
Dconnector.c122 NETLINK_CB(skb).dst_group = group; in cn_netlink_send_mult()
149 struct netlink_skb_parms *nsp = &NETLINK_CB(skb); in cn_call_callback()
/linux-4.4.14/security/selinux/
Dnetlink.c89 NETLINK_CB(skb).dst_group = SELNLGRP_AVC; in selnl_notify()
/linux-4.4.14/net/packet/
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-4.4.14/net/netfilter/ipset/
Dip_set_core.c1275 unsigned int flags = NETLINK_CB(cb->skb).portid ? NLM_F_MULTI : 0; in ip_set_dump_start()
1338 nlh = start_msg(skb, NETLINK_CB(cb->skb).portid, in ip_set_dump_start()
1479 rep = __nlmsg_put(skb2, NETLINK_CB(skb).portid, in call_ad()
1494 netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, in call_ad()
1672 nlh2 = start_msg(skb2, NETLINK_CB(skb).portid, nlh->nlmsg_seq, 0, in ip_set_header()
1684 ret = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, MSG_DONTWAIT); in ip_set_header()
1732 nlh2 = start_msg(skb2, NETLINK_CB(skb).portid, nlh->nlmsg_seq, 0, in ip_set_type()
1745 ret = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, MSG_DONTWAIT); in ip_set_type()
1781 nlh2 = start_msg(skb2, NETLINK_CB(skb).portid, nlh->nlmsg_seq, 0, in ip_set_protocol()
1789 ret = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, MSG_DONTWAIT); in ip_set_protocol()
/linux-4.4.14/net/phonet/
Dpn_netlink.c155 NETLINK_CB(cb->skb).portid, in getaddr_dumpit()
284 if (fill_route(skb, dev, addr << 2, NETLINK_CB(cb->skb).portid, in route_dumpit()
/linux-4.4.14/net/ipv6/
Daddrlabel.c503 NETLINK_CB(cb->skb).portid, in ip6addrlbl_dump()
572 NETLINK_CB(in_skb).portid, nlh->nlmsg_seq, in ip6addrlbl_get()
583 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in ip6addrlbl_get()
Daddrconf.c615 NETLINK_CB(in_skb).portid, in inet6_netconf_get_devconf()
624 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in inet6_netconf_get_devconf()
657 NETLINK_CB(cb->skb).portid, in inet6_netconf_dump_devconf()
674 NETLINK_CB(cb->skb).portid, in inet6_netconf_dump_devconf()
685 NETLINK_CB(cb->skb).portid, in inet6_netconf_dump_devconf()
4434 NETLINK_CB(cb->skb).portid, in in6_dump_addrs()
4451 NETLINK_CB(cb->skb).portid, in in6_dump_addrs()
4466 NETLINK_CB(cb->skb).portid, in in6_dump_addrs()
4587 err = inet6_fill_ifaddr(skb, ifa, NETLINK_CB(in_skb).portid, in inet6_rtm_getaddr()
4595 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in inet6_rtm_getaddr()
[all …]
Dip6mr.c853 rtnl_unicast(skb, net, NETLINK_CB(skb).portid); in ip6mr_destroy_unres()
1116 rtnl_unicast(skb, net, NETLINK_CB(skb).portid); in ip6mr_cache_resolve()
2469 NETLINK_CB(cb->skb).portid, in ip6mr_rtm_dumproute()
2484 NETLINK_CB(cb->skb).portid, in ip6mr_rtm_dumproute()
Droute.c2740 cfg->fc_nlinfo.portid = NETLINK_CB(skb).portid; in rtm_to_fib6_config()
3220 NETLINK_CB(arg->cb->skb).portid, arg->cb->nlh->nlmsg_seq, in rt6_dump_route()
3308 RTM_NEWROUTE, NETLINK_CB(in_skb).portid, in inet6_rtm_getroute()
3315 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in inet6_rtm_getroute()
/linux-4.4.14/net/decnet/netfilter/
Ddn_rtmsg.c85 NETLINK_CB(skb2).dst_group = group; in dnrmg_send_peer()
/linux-4.4.14/net/sched/
Dcls_api.c393 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tfilter_notify()
420 return tcf_fill_node(net, a->skb, tp, n, NETLINK_CB(a->cb->skb).portid, in tcf_node_dump()
479 if (tcf_fill_node(net, skb, tp, 0, NETLINK_CB(cb->skb).portid, in tc_dump_tfilter()
Dsch_api.c1406 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in qdisc_notify()
1447 tc_fill_qdisc(skb, q, q->parent, NETLINK_CB(cb->skb).portid, in tc_dump_qdisc_root()
1458 tc_fill_qdisc(skb, q, q->parent, NETLINK_CB(cb->skb).portid, in tc_dump_qdisc_root()
1705 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_notify()
1730 return tc_fill_tclass(a->skb, q, cl, NETLINK_CB(a->cb->skb).portid, in qdisc_class_dump()
Dact_api.c970 u32 portid = skb ? NETLINK_CB(skb).portid : 0; in tc_ctl_action()
1068 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in tc_dump_action()
1092 if (NETLINK_CB(cb->skb).portid && ret) in tc_dump_action()
Dcls_flow.c417 sk_user_ns(NETLINK_CB(in_skb).sk) != &init_user_ns) in flow_change()
/linux-4.4.14/net/tipc/
Dnet.c190 msg.portid = NETLINK_CB(cb->skb).portid; in tipc_nl_net_dump()
Dbearer.c697 msg.portid = NETLINK_CB(cb->skb).portid; in tipc_nl_bearer_dump()
960 msg.portid = NETLINK_CB(cb->skb).portid; in tipc_nl_media_dump()
Dname_table.c998 msg.portid = NETLINK_CB(cb->skb).portid; in tipc_nl_name_table_dump()
Dnetlink_compat.c1137 genlmsg_unicast(msg.net, msg.rep, NETLINK_CB(skb).portid); in tipc_nl_compat_recv()
Dsocket.c2647 hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in __tipc_nl_add_sk()
2728 hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in __tipc_nl_add_sk_publ()
Dnode.c1358 msg.portid = NETLINK_CB(cb->skb).portid; in tipc_nl_node_dump()
Dlink.c1881 msg.portid = NETLINK_CB(cb->skb).portid; in tipc_nl_link_dump()
/linux-4.4.14/net/hsr/
Dhsr_netlink.c278 msg_head = genlmsg_put(skb_out, NETLINK_CB(skb_in).portid, in hsr_get_node_status()
404 msg_head = genlmsg_put(skb_out, NETLINK_CB(skb_in).portid, in hsr_get_node_list()
/linux-4.4.14/Documentation/connector/
Dcn_test.c117 NETLINK_CB(skb).dst_group = ctl->group;
/linux-4.4.14/crypto/
Dcrypto_user.c197 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, info->nlmsg_seq, in crypto_report_alg()
252 return nlmsg_unicast(crypto_nlsk, skb, NETLINK_CB(in_skb).portid); in crypto_report()
/linux-4.4.14/net/core/
Dfib_rules.c416 notify_rule_change(RTM_NEWRULE, rule, ops, nlh, NETLINK_CB(skb).portid); in fib_nl_newrule()
527 NETLINK_CB(skb).portid); in fib_nl_delrule()
641 err = fib_nl_fill_rule(skb, rule, NETLINK_CB(cb->skb).portid, in dump_rules()
Dnet_namespace.c644 err = rtnl_net_fill(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, 0, in rtnl_net_getid()
649 err = rtnl_unicast(msg, net, NETLINK_CB(skb).portid); in rtnl_net_getid()
675 ret = rtnl_net_fill(net_cb->skb, NETLINK_CB(net_cb->cb->skb).portid, in rtnl_net_dumpid_one()
Drtnetlink.c625 NETLINK_CB(skb).dst_group = group; in rtnetlink_send()
1457 NETLINK_CB(cb->skb).portid, in rtnl_dump_ifinfo()
2446 err = rtnl_fill_ifinfo(nskb, dev, RTM_NEWLINK, NETLINK_CB(skb).portid, in rtnl_getlink()
2453 err = rtnl_unicast(nskb, net, NETLINK_CB(skb).portid); in rtnl_getlink()
2871 portid = NETLINK_CB(cb->skb).portid; in nlmsg_populate_fdb()
3099 u32 portid = NETLINK_CB(cb->skb).portid; in rtnl_bridge_getlink()
Dneighbour.c2115 if (neightbl_fill_info(skb, tbl, NETLINK_CB(cb->skb).portid, in neightbl_dump_info()
2130 NETLINK_CB(cb->skb).portid, in neightbl_dump_info()
2303 if (neigh_fill_info(skb, n, NETLINK_CB(cb->skb).portid, in neigh_dump_table()
2340 if (pneigh_fill_info(skb, n, NETLINK_CB(cb->skb).portid, in pneigh_dump_table()
/linux-4.4.14/kernel/
Daudit.c618 u32 portid = NETLINK_CB(request_skb).portid; in audit_send_reply()
619 struct net *net = sock_net(NETLINK_CB(request_skb).sk); in audit_send_reply()
880 audit_nlk_portid = NETLINK_CB(skb).portid; in audit_receive_msg()
944 audit_set_portid(ab, NETLINK_CB(skb).portid); in audit_receive_msg()
959 err = audit_rule_change(msg_type, NETLINK_CB(skb).portid, in audit_receive_msg()
Dauditfilter.c1132 u32 portid = NETLINK_CB(request_skb).portid; in audit_list_rules_send()
1133 struct net *net = sock_net(NETLINK_CB(request_skb).sk); in audit_list_rules_send()
/linux-4.4.14/include/net/
Dnetlink.h471 return nlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in nlmsg_put_answer()
563 NETLINK_CB(skb).dst_group = group; in nlmsg_multicast()
/linux-4.4.14/net/netlabel/
Dnetlabel_mgmt.c442 data = genlmsg_put(cb_arg->skb, NETLINK_CB(cb_arg->nl_cb->skb).portid, in netlbl_mgmt_listall_cb()
608 data = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in netlbl_mgmt_protocols_cb()
Dnetlabel_cipso_v4.c628 data = genlmsg_put(cb_arg->skb, NETLINK_CB(cb_arg->nl_cb->skb).portid, in netlbl_cipsov4_listall_cb()
Dnetlabel_unlabeled.c1097 data = genlmsg_put(cb_arg->skb, NETLINK_CB(cb_arg->nl_cb->skb).portid, in netlbl_unlabel_staticlist_gen()
/linux-4.4.14/net/ieee802154/
Dnl-phy.c138 NETLINK_CB(data->cb->skb).portid, in ieee802154_dump_phy_iter()
Dnl802154.c642 NETLINK_CB(cb->skb).portid, in nl802154_dump_wpan_phy()
882 if (nl802154_send_iface(skb, NETLINK_CB(cb->skb).portid, in nl802154_dump_interface()
1490 NETLINK_CB(cb->skb).portid, in nl802154_dump_llsec_key()
1660 NETLINK_CB(cb->skb).portid, in nl802154_dump_llsec_dev()
1835 NETLINK_CB(cb->skb).portid, in nl802154_dump_llsec_devkey()
1997 NETLINK_CB(cb->skb).portid, in nl802154_dump_llsec_seclevel()
Dnl-mac.c458 if (ieee802154_nl_fill_iface(skb, NETLINK_CB(cb->skb).portid, in ieee802154_dump_iface()
796 data.portid = NETLINK_CB(cb->skb).portid; in ieee802154_llsec_dump_table()
/linux-4.4.14/net/decnet/
Ddn_fib.c523 return tb->delete(tb, r, attrs, nlh, &NETLINK_CB(skb)); in dn_fib_rtm_delroute()
548 return tb->insert(tb, r, attrs, nlh, &NETLINK_CB(skb)); in dn_fib_rtm_newroute()
Ddn_route.c1711 err = dn_rt_fill_info(skb, NETLINK_CB(in_skb).portid, nlh->nlmsg_seq, RTM_NEWROUTE, 0, 0); in dn_cache_getroute()
1717 return rtnl_unicast(skb, &init_net, NETLINK_CB(in_skb).portid); in dn_cache_getroute()
1760 if (dn_rt_fill_info(skb, NETLINK_CB(cb->skb).portid, in dn_cache_dump()
Ddn_table.c420 if (dn_fib_dump_info(skb, NETLINK_CB(cb->skb).portid, in dn_hash_dump_bucket()
Ddn_dev.c769 if (dn_nl_fill_ifaddr(skb, ifa, NETLINK_CB(cb->skb).portid, in dn_nl_dump_ifaddr()
/linux-4.4.14/net/xfrm/
Dxfrm_user.c876 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, sp->nlmsg_seq, in dump_one_state()
1100 u32 sportid = NETLINK_CB(skb).portid; in xfrm_get_spdinfo()
1158 u32 sportid = NETLINK_CB(skb).portid; in xfrm_get_sadinfo()
1188 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, NETLINK_CB(skb).portid); in xfrm_get_sa()
1246 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, NETLINK_CB(skb).portid); in xfrm_alloc_userspi()
1624 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, sp->nlmsg_seq, in dump_one_policy()
1762 NETLINK_CB(skb).portid); in xfrm_get_policy()
1915 err = nlmsg_unicast(net->xfrm.nlsk, r_skb, NETLINK_CB(skb).portid); in xfrm_get_ae()
/linux-4.4.14/lib/
Dkobject_uevent.c315 NETLINK_CB(skb).dst_group = 1; in kobject_uevent_env()
/linux-4.4.14/net/l2tp/
Dl2tp_netlink.c465 if (l2tp_nl_tunnel_send(skb, NETLINK_CB(cb->skb).portid, in l2tp_nl_cmd_tunnel_dump()
838 if (l2tp_nl_session_send(skb, NETLINK_CB(cb->skb).portid, in l2tp_nl_cmd_session_dump()
/linux-4.4.14/net/nfc/
Dnetlink.c80 hdr = genlmsg_put(msg, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in nfc_genl_send_target()
612 rc = nfc_genl_send_device(skb, dev, NETLINK_CB(cb->skb).portid, in nfc_genl_dump_devices()
1343 rc = nfc_genl_send_se(skb, dev, NETLINK_CB(cb->skb).portid, in nfc_genl_dump_ses()
/linux-4.4.14/net/openvswitch/
Ddatapath.c1370 NETLINK_CB(cb->skb).portid, in ovs_flow_cmd_dump()
1759 ovs_dp_cmd_fill_info(dp, skb, NETLINK_CB(cb->skb).portid, in ovs_dp_cmd_dump()
2131 NETLINK_CB(cb->skb).portid, in ovs_vport_cmd_dump()
/linux-4.4.14/net/bridge/
Dbr_mdb.c136 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, in br_mdb_dump()
Dbr_fdb.c746 NETLINK_CB(cb->skb).portid, in br_fdb_dump()
/linux-4.4.14/net/mpls/
Daf_mpls.c1139 cfg->rc_nlinfo.portid = NETLINK_CB(skb).portid; in rtm_to_route_config()
1320 if (mpls_dump_route(skb, NETLINK_CB(cb->skb).portid, in mpls_dump_routes()
/linux-4.4.14/net/switchdev/
Dswitchdev.c1026 u32 portid = NETLINK_CB(dump->cb->skb).portid; in switchdev_port_fdb_dump_cb()
/linux-4.4.14/net/can/
Dgw.c604 if (cgw_put_job(skb, gwj, RTM_NEWROUTE, NETLINK_CB(cb->skb).portid, in cgw_dump_jobs()
/linux-4.4.14/net/netfilter/ipvs/
Dip_vs_ctl.c2982 hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in ip_vs_genl_dump_service()
3180 hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in ip_vs_genl_dump_dest()
3332 hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in ip_vs_genl_dump_daemon()
/linux-4.4.14/net/wireless/
Dnl80211.c1815 NETLINK_CB(cb->skb).portid, in nl80211_dump_wiphy()
2466 if (nl80211_send_iface(skb, NETLINK_CB(cb->skb).portid, in nl80211_dump_interface()
3911 NETLINK_CB(cb->skb).portid, in nl80211_dump_station()
4664 if (nl80211_send_mpath(skb, NETLINK_CB(cb->skb).portid, in nl80211_dump_mpath()
4860 if (nl80211_send_mpath(skb, NETLINK_CB(cb->skb).portid, in nl80211_dump_mpp()
5513 void *hdr = nl80211hdr_put(msg, NETLINK_CB(cb->skb).portid, seq, flags, in nl80211_send_regdom()
6692 hdr = nl80211hdr_put(msg, NETLINK_CB(cb->skb).portid, seq, flags, in nl80211_send_bss()
6950 NETLINK_CB(cb->skb).portid, in nl80211_dump_survey()
7776 void *hdr = nl80211hdr_put(skb, NETLINK_CB(cb->skb).portid, in nl80211_testmode_dump()
10296 void *hdr = nl80211hdr_put(skb, NETLINK_CB(cb->skb).portid, in nl80211_vendor_cmd_dump()
/linux-4.4.14/net/dcb/
Ddcbnl.c1707 u32 portid = skb ? NETLINK_CB(skb).portid : 0; in dcb_doit()
/linux-4.4.14/drivers/scsi/
Dscsi_transport_iscsi.c3520 NETLINK_CB(skb).portid, in iscsi_if_recv_msg()
3533 NETLINK_CB(skb).portid, in iscsi_if_recv_msg()
/linux-4.4.14/drivers/net/wireless/
Dmac80211_hwsim.c3009 NETLINK_CB(cb->skb).portid, in hwsim_dump_radio_nl()
/linux-4.4.14/drivers/net/
Dvxlan.c930 NETLINK_CB(cb->skb).portid, in vxlan_fdb_dump()
/linux-4.4.14/drivers/block/drbd/
Ddrbd_nl.c3134 dh = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, in get_one_status()