Home
last modified time | relevance | path

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

/linux-4.1.27/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.c391 sk_user_ns(NETLINK_CB(in_skb).sk), in inet_diag_dump_one_icsk()
392 NETLINK_CB(in_skb).portid, in inet_diag_dump_one_icsk()
399 err = netlink_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid, in inet_diag_dump_one_icsk()
698 sk_user_ns(NETLINK_CB(cb->skb).sk), in inet_csk_diag_dump()
699 NETLINK_CB(cb->skb).portid, in inet_csk_diag_dump()
783 NETLINK_CB(cb->skb).portid, in inet_diag_dump_reqs()
922 sk_user_ns(NETLINK_CB(cb->skb).sk), in inet_diag_dump_icsk()
923 NETLINK_CB(cb->skb).portid, in inet_diag_dump_icsk()
Ddevinet.c609 __inet_del_ifa(in_dev, ifap, 1, nlh, NETLINK_CB(skb).portid); in inet_rtm_deladdr()
872 return __inet_insert_ifa(ifa, nlh, NETLINK_CB(skb).portid); in inet_rtm_newaddr()
884 rtmsg_ifa(RTM_NEWADDR, ifa, nlh, NETLINK_CB(skb).portid); in inet_rtm_newaddr()
1599 NETLINK_CB(cb->skb).portid, in inet_dump_ifaddr()
1871 NETLINK_CB(in_skb).portid, in inet_netconf_get_devconf()
1880 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in inet_netconf_get_devconf()
1913 NETLINK_CB(cb->skb).portid, in inet_netconf_dump_devconf()
1930 NETLINK_CB(cb->skb).portid, in inet_netconf_dump_devconf()
1941 NETLINK_CB(cb->skb).portid, in inet_netconf_dump_devconf()
Dfib_frontend.c619 cfg->fc_nlinfo.portid = NETLINK_CB(skb).portid; in rtm_to_fib_config()
1040 portid = NETLINK_CB(skb).portid; /* netlink portid */ in nl_fib_input()
1041 NETLINK_CB(skb).portid = 0; /* from kernel */ in nl_fib_input()
1042 NETLINK_CB(skb).dst_group = 0; /* unicast */ in nl_fib_input()
Dipmr.c648 rtnl_unicast(skb, net, NETLINK_CB(skb).portid); in ipmr_destroy_unres()
938 rtnl_unicast(skb, net, NETLINK_CB(skb).portid); in ipmr_cache_resolve()
2382 NETLINK_CB(cb->skb).portid, in ipmr_rtm_dumproute()
2397 NETLINK_CB(cb->skb).portid, in ipmr_rtm_dumproute()
Dfou.c711 ret = fou_dump_info(fout, NETLINK_CB(cb->skb).portid, in fou_nl_dump()
Dtcp_metrics.c902 hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in tcp_metrics_dump_info()
Droute.c2537 NETLINK_CB(in_skb).portid, nlh->nlmsg_seq, in inet_rtm_getroute()
2542 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in inet_rtm_getroute()
Dfib_trie.c1899 if (fib_dump_info(skb, NETLINK_CB(cb->skb).portid, in fn_trie_dump_leaf()
/linux-4.1.27/net/netlink/
Daf_netlink.c136 NETLINK_CB(new).portid = NETLINK_CB(skb).portid; in netlink_to_full_skb()
137 NETLINK_CB(new).dst_group = NETLINK_CB(skb).dst_group; in netlink_to_full_skb()
138 NETLINK_CB(new).creds = NETLINK_CB(skb).creds; in netlink_to_full_skb()
726 NETLINK_CB(skb).flags |= NETLINK_SKB_MMAPED; in netlink_ring_setup_skb()
727 NETLINK_CB(skb).sk = sk; in netlink_ring_setup_skb()
776 NETLINK_CB(skb).portid = nlk->portid; in netlink_mmap_sendmsg()
777 NETLINK_CB(skb).dst_group = dst_group; in netlink_mmap_sendmsg()
778 NETLINK_CB(skb).creds = scm->creds; in netlink_mmap_sendmsg()
814 hdr->nm_group = NETLINK_CB(skb).dst_group; in netlink_queue_mmaped_skb()
815 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.1.27/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.1.27/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.1.27/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()
463 ret = cttimeout_default_fill_info(net, skb2, NETLINK_CB(skb).portid, in cttimeout_default_get()
473 ret = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, MSG_DONTWAIT); in cttimeout_default_get()
Dnf_conntrack_netlink.c836 ctnetlink_fill_info(skb, NETLINK_CB(cb->skb).portid, in ctnetlink_dump_table()
1074 NETLINK_CB(skb).portid, in ctnetlink_del_conntrack()
1096 nf_ct_delete(ct, NETLINK_CB(skb).portid, nlmsg_report(nlh)); in ctnetlink_del_conntrack()
1164 err = ctnetlink_fill_info(skb2, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in ctnetlink_get_conntrack()
1171 err = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, MSG_DONTWAIT); in ctnetlink_get_conntrack()
1229 res = ctnetlink_fill_info(skb, NETLINK_CB(cb->skb).portid, in ctnetlink_dump_list()
1860 ct, NETLINK_CB(skb).portid, in ctnetlink_new_conntrack()
1883 ct, NETLINK_CB(skb).portid, in ctnetlink_new_conntrack()
1953 NETLINK_CB(cb->skb).portid, in ctnetlink_ct_stat_cpu_dump()
2021 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()
298 ret = nfnl_acct_fill_info(skb2, NETLINK_CB(skb).portid, in nfnl_acct_get()
306 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_core.c945 NETLINK_CB(skb).portid); in nfqnl_recv_verdict_batch()
999 NETLINK_CB(skb).portid); in nfqnl_recv_verdict()
1017 NETLINK_CB(skb).portid, in nfqnl_recv_verdict()
1084 if (queue && queue->peer_portid != NETLINK_CB(skb).portid) { in nfqnl_recv_config()
1097 NETLINK_CB(skb).portid); in nfqnl_recv_config()
Dnf_tables_api.c104 ctx->portid = NETLINK_CB(skb).portid; in nft_ctx_init()
489 NETLINK_CB(cb->skb).portid, in nf_tables_dump_tables()
540 err = nf_tables_fill_table_info(skb2, net, NETLINK_CB(skb).portid, in nf_tables_gettable()
546 return nlmsg_unicast(nlsk, skb2, NETLINK_CB(skb).portid); in nf_tables_gettable()
1039 NETLINK_CB(cb->skb).portid, in nf_tables_dump_chains()
1098 err = nf_tables_fill_chain_info(skb2, net, NETLINK_CB(skb).portid, in nf_tables_getchain()
1104 return nlmsg_unicast(nlsk, skb2, NETLINK_CB(skb).portid); in nf_tables_getchain()
1839 if (nf_tables_fill_rule_info(skb, net, NETLINK_CB(cb->skb).portid, in nf_tables_dump_rules()
1905 err = nf_tables_fill_rule_info(skb2, net, NETLINK_CB(skb).portid, in nf_tables_getrule()
1911 return nlmsg_unicast(nlsk, skb2, NETLINK_CB(skb).portid); in nf_tables_getrule()
[all …]
Dnfnetlink_log.c826 if (inst && inst->peer_portid != NETLINK_CB(skb).portid) { in nfulnl_recv_config()
840 NETLINK_CB(skb).portid, in nfulnl_recv_config()
841 sk_user_ns(NETLINK_CB(skb).sk)); in nfulnl_recv_config()
Dnft_compat.c573 if (nfnl_compat_fill_info(skb2, NETLINK_CB(skb).portid, in nfnl_compat_get()
583 ret = netlink_unicast(nfnl, skb2, NETLINK_CB(skb).portid, in nfnl_compat_get()
/linux-4.1.27/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.1.27/include/linux/
Dnetlink.h33 #define NETLINK_CB(skb) (*(struct netlink_skb_parms*)&((skb)->cb)) macro
34 #define NETLINK_CREDS(skb) (&NETLINK_CB((skb)).creds)
/linux-4.1.27/drivers/connector/
Dconnector.c122 NETLINK_CB(skb).dst_group = group; in cn_netlink_send_mult()
148 struct netlink_skb_parms *nsp = &NETLINK_CB(skb); in cn_call_callback()
/linux-4.1.27/security/selinux/
Dnetlink.c89 NETLINK_CB(skb).dst_group = SELNLGRP_AVC; in selnl_notify()
/linux-4.1.27/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.1.27/net/netfilter/ipset/
Dip_set_core.c1251 unsigned int flags = NETLINK_CB(cb->skb).portid ? NLM_F_MULTI : 0; in ip_set_dump_start()
1301 nlh = start_msg(skb, NETLINK_CB(cb->skb).portid, in ip_set_dump_start()
1435 rep = __nlmsg_put(skb2, NETLINK_CB(skb).portid, in call_ad()
1450 netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, MSG_DONTWAIT); in call_ad()
1627 nlh2 = start_msg(skb2, NETLINK_CB(skb).portid, nlh->nlmsg_seq, 0, in ip_set_header()
1639 ret = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, MSG_DONTWAIT); in ip_set_header()
1687 nlh2 = start_msg(skb2, NETLINK_CB(skb).portid, nlh->nlmsg_seq, 0, in ip_set_type()
1700 ret = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, MSG_DONTWAIT); in ip_set_type()
1736 nlh2 = start_msg(skb2, NETLINK_CB(skb).portid, nlh->nlmsg_seq, 0, in ip_set_protocol()
1744 ret = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, MSG_DONTWAIT); in ip_set_protocol()
/linux-4.1.27/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.1.27/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.c601 NETLINK_CB(in_skb).portid, in inet6_netconf_get_devconf()
610 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in inet6_netconf_get_devconf()
643 NETLINK_CB(cb->skb).portid, in inet6_netconf_dump_devconf()
660 NETLINK_CB(cb->skb).portid, in inet6_netconf_dump_devconf()
671 NETLINK_CB(cb->skb).portid, in inet6_netconf_dump_devconf()
4351 NETLINK_CB(cb->skb).portid, in in6_dump_addrs()
4368 NETLINK_CB(cb->skb).portid, in in6_dump_addrs()
4383 NETLINK_CB(cb->skb).portid, in in6_dump_addrs()
4504 err = inet6_fill_ifaddr(skb, ifa, NETLINK_CB(in_skb).portid, in inet6_rtm_getaddr()
4512 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in inet6_rtm_getaddr()
[all …]
Dip6mr.c858 rtnl_unicast(skb, net, NETLINK_CB(skb).portid); in ip6mr_destroy_unres()
1121 rtnl_unicast(skb, net, NETLINK_CB(skb).portid); in ip6mr_cache_resolve()
2474 NETLINK_CB(cb->skb).portid, in ip6mr_rtm_dumproute()
2489 NETLINK_CB(cb->skb).portid, in ip6mr_rtm_dumproute()
Droute.c2458 cfg->fc_nlinfo.portid = NETLINK_CB(skb).portid; in rtm_to_fib6_config()
2914 NETLINK_CB(arg->cb->skb).portid, arg->cb->nlh->nlmsg_seq, in rt6_dump_route()
2997 RTM_NEWROUTE, NETLINK_CB(in_skb).portid, in inet6_rtm_getroute()
3004 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in inet6_rtm_getroute()
/linux-4.1.27/net/decnet/netfilter/
Ddn_rtmsg.c85 NETLINK_CB(skb2).dst_group = group; in dnrmg_send_peer()
/linux-4.1.27/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.c1404 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in qdisc_notify()
1445 tc_fill_qdisc(skb, q, q->parent, NETLINK_CB(cb->skb).portid, in tc_dump_qdisc_root()
1456 tc_fill_qdisc(skb, q, q->parent, NETLINK_CB(cb->skb).portid, in tc_dump_qdisc_root()
1703 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_notify()
1728 return tc_fill_tclass(a->skb, q, cl, NETLINK_CB(a->cb->skb).portid, in qdisc_class_dump()
Dact_api.c952 u32 portid = skb ? NETLINK_CB(skb).portid : 0; in tc_ctl_action()
1050 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in tc_dump_action()
1074 if (NETLINK_CB(cb->skb).portid && ret) in tc_dump_action()
Dcls_flow.c404 sk_user_ns(NETLINK_CB(in_skb).sk) != &init_user_ns) in flow_change()
/linux-4.1.27/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.1.27/Documentation/connector/
Dcn_test.c117 NETLINK_CB(skb).dst_group = ctl->group;
/linux-4.1.27/net/tipc/
Dnet.c193 msg.portid = NETLINK_CB(cb->skb).portid; in tipc_nl_net_dump()
Dbearer.c651 msg.portid = NETLINK_CB(cb->skb).portid; in tipc_nl_bearer_dump()
914 msg.portid = NETLINK_CB(cb->skb).portid; in tipc_nl_media_dump()
Dnode.c575 msg.portid = NETLINK_CB(cb->skb).portid; in tipc_nl_node_dump()
Dname_table.c1008 msg.portid = NETLINK_CB(cb->skb).portid; in tipc_nl_name_table_dump()
Dnetlink_compat.c1046 genlmsg_unicast(net, msg.rep, NETLINK_CB(skb).portid); in tipc_nl_compat_recv()
Dsocket.c2637 hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in __tipc_nl_add_sk()
2718 hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in __tipc_nl_add_sk_publ()
Dlink.c2119 msg.portid = NETLINK_CB(cb->skb).portid; in tipc_nl_link_dump()
/linux-4.1.27/crypto/
Dcrypto_user.c175 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, info->nlmsg_seq, in crypto_report_alg()
230 return nlmsg_unicast(crypto_nlsk, skb, NETLINK_CB(in_skb).portid); in crypto_report()
/linux-4.1.27/net/core/
Dnet_namespace.c603 err = rtnl_net_fill(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, 0, in rtnl_net_getid()
608 err = rtnl_unicast(msg, net, NETLINK_CB(skb).portid); in rtnl_net_getid()
634 ret = rtnl_net_fill(net_cb->skb, NETLINK_CB(net_cb->cb->skb).portid, in rtnl_net_dumpid_one()
Dfib_rules.c410 notify_rule_change(RTM_NEWRULE, rule, ops, nlh, NETLINK_CB(skb).portid); in fib_nl_newrule()
514 NETLINK_CB(skb).portid); in fib_nl_delrule()
625 err = fib_nl_fill_rule(skb, rule, NETLINK_CB(cb->skb).portid, in dump_rules()
Drtnetlink.c624 NETLINK_CB(skb).dst_group = group; in rtnetlink_send()
1354 NETLINK_CB(cb->skb).portid, in rtnl_dump_ifinfo()
2314 err = rtnl_fill_ifinfo(nskb, dev, RTM_NEWLINK, NETLINK_CB(skb).portid, in rtnl_getlink()
2321 err = rtnl_unicast(nskb, net, NETLINK_CB(skb).portid); in rtnl_getlink()
2739 portid = NETLINK_CB(cb->skb).portid; in nlmsg_populate_fdb()
2955 u32 portid = NETLINK_CB(cb->skb).portid; in rtnl_bridge_getlink()
Dneighbour.c2107 if (neightbl_fill_info(skb, tbl, NETLINK_CB(cb->skb).portid, in neightbl_dump_info()
2122 NETLINK_CB(cb->skb).portid, in neightbl_dump_info()
2252 if (neigh_fill_info(skb, n, NETLINK_CB(cb->skb).portid, in neigh_dump_table()
2289 if (pneigh_fill_info(skb, n, NETLINK_CB(cb->skb).portid, in pneigh_dump_table()
/linux-4.1.27/kernel/
Daudit.c601 u32 portid = NETLINK_CB(request_skb).portid; in audit_send_reply()
602 struct net *net = sock_net(NETLINK_CB(request_skb).sk); in audit_send_reply()
866 audit_nlk_portid = NETLINK_CB(skb).portid; in audit_receive_msg()
930 audit_set_portid(ab, NETLINK_CB(skb).portid); in audit_receive_msg()
945 err = audit_rule_change(msg_type, NETLINK_CB(skb).portid, in audit_receive_msg()
Dauditfilter.c1093 u32 portid = NETLINK_CB(request_skb).portid; in audit_list_rules_send()
1094 struct net *net = sock_net(NETLINK_CB(request_skb).sk); in audit_list_rules_send()
/linux-4.1.27/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.1.27/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.1.27/net/ieee802154/
Dnl-phy.c138 NETLINK_CB(data->cb->skb).portid, in ieee802154_dump_phy_iter()
Dnl802154.c395 NETLINK_CB(cb->skb).portid, in nl802154_dump_wpan_phy()
525 if (nl802154_send_iface(skb, NETLINK_CB(cb->skb).portid, in nl802154_dump_interface()
Dnl-mac.c459 if (ieee802154_nl_fill_iface(skb, NETLINK_CB(cb->skb).portid, in ieee802154_dump_iface()
801 data.portid = NETLINK_CB(cb->skb).portid; in ieee802154_llsec_dump_table()
/linux-4.1.27/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.c1706 err = dn_rt_fill_info(skb, NETLINK_CB(in_skb).portid, nlh->nlmsg_seq, RTM_NEWROUTE, 0, 0); in dn_cache_getroute()
1712 return rtnl_unicast(skb, &init_net, NETLINK_CB(in_skb).portid); in dn_cache_getroute()
1755 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.1.27/net/xfrm/
Dxfrm_user.c851 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, sp->nlmsg_seq, in dump_one_state()
1077 u32 sportid = NETLINK_CB(skb).portid; in xfrm_get_spdinfo()
1135 u32 sportid = NETLINK_CB(skb).portid; in xfrm_get_sadinfo()
1165 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, NETLINK_CB(skb).portid); in xfrm_get_sa()
1223 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, NETLINK_CB(skb).portid); in xfrm_alloc_userspi()
1601 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, sp->nlmsg_seq, in dump_one_policy()
1739 NETLINK_CB(skb).portid); in xfrm_get_policy()
1892 err = nlmsg_unicast(net->xfrm.nlsk, r_skb, NETLINK_CB(skb).portid); in xfrm_get_ae()
/linux-4.1.27/lib/
Dkobject_uevent.c315 NETLINK_CB(skb).dst_group = 1; in kobject_uevent_env()
/linux-4.1.27/net/nfc/
Dnetlink.c72 hdr = genlmsg_put(msg, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in nfc_genl_send_target()
604 rc = nfc_genl_send_device(skb, dev, NETLINK_CB(cb->skb).portid, in nfc_genl_dump_devices()
1337 rc = nfc_genl_send_se(skb, dev, NETLINK_CB(cb->skb).portid, in nfc_genl_dump_ses()
/linux-4.1.27/net/mpls/
Daf_mpls.c717 cfg->rc_nlinfo.portid = NETLINK_CB(skb).portid; in rtm_to_route_config()
880 if (mpls_dump_route(skb, NETLINK_CB(cb->skb).portid, in mpls_dump_routes()
/linux-4.1.27/net/l2tp/
Dl2tp_netlink.c465 if (l2tp_nl_tunnel_send(skb, NETLINK_CB(cb->skb).portid, in l2tp_nl_cmd_tunnel_dump()
831 if (l2tp_nl_session_send(skb, NETLINK_CB(cb->skb).portid, in l2tp_nl_cmd_session_dump()
/linux-4.1.27/net/bridge/
Dbr_mdb.c135 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, in br_mdb_dump()
Dbr_fdb.c716 NETLINK_CB(cb->skb).portid, in br_fdb_dump()
/linux-4.1.27/net/openvswitch/
Ddatapath.c1322 NETLINK_CB(cb->skb).portid, in ovs_flow_cmd_dump()
1711 ovs_dp_cmd_fill_info(dp, skb, NETLINK_CB(cb->skb).portid, in ovs_dp_cmd_dump()
2083 NETLINK_CB(cb->skb).portid, in ovs_vport_cmd_dump()
/linux-4.1.27/net/can/
Dgw.c598 if (cgw_put_job(skb, gwj, RTM_NEWROUTE, NETLINK_CB(cb->skb).portid, in cgw_dump_jobs()
/linux-4.1.27/net/dsa/
Dslave.c291 NETLINK_CB(cb->skb).portid, in dsa_slave_fdb_dump()
/linux-4.1.27/net/netfilter/ipvs/
Dip_vs_ctl.c2961 hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in ip_vs_genl_dump_service()
3158 hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in ip_vs_genl_dump_dest()
3295 hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in ip_vs_genl_dump_daemon()
/linux-4.1.27/net/wireless/
Dnl80211.c1802 NETLINK_CB(cb->skb).portid, in nl80211_dump_wiphy()
2441 if (nl80211_send_iface(skb, NETLINK_CB(cb->skb).portid, in nl80211_dump_interface()
3886 NETLINK_CB(cb->skb).portid, in nl80211_dump_station()
4626 if (nl80211_send_mpath(skb, NETLINK_CB(cb->skb).portid, in nl80211_dump_mpath()
4822 if (nl80211_send_mpath(skb, NETLINK_CB(cb->skb).portid, in nl80211_dump_mpp()
5525 void *hdr = nl80211hdr_put(msg, NETLINK_CB(cb->skb).portid, seq, flags, in nl80211_send_regdom()
6530 hdr = nl80211hdr_put(msg, NETLINK_CB(cb->skb).portid, seq, flags, in nl80211_send_bss()
6783 NETLINK_CB(cb->skb).portid, in nl80211_dump_survey()
7608 void *hdr = nl80211hdr_put(skb, NETLINK_CB(cb->skb).portid, in nl80211_testmode_dump()
/linux-4.1.27/net/dcb/
Ddcbnl.c1710 u32 portid = skb ? NETLINK_CB(skb).portid : 0; in dcb_doit()
/linux-4.1.27/drivers/scsi/
Dscsi_transport_iscsi.c3516 NETLINK_CB(skb).portid, in iscsi_if_recv_msg()
3529 NETLINK_CB(skb).portid, in iscsi_if_recv_msg()
/linux-4.1.27/drivers/net/wireless/
Dmac80211_hwsim.c3011 NETLINK_CB(cb->skb).portid, in hwsim_dump_radio_nl()
/linux-4.1.27/drivers/net/
Dvxlan.c971 NETLINK_CB(cb->skb).portid, in vxlan_fdb_dump()
/linux-4.1.27/drivers/block/drbd/
Ddrbd_nl.c3134 dh = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, in get_one_status()
/linux-4.1.27/drivers/net/ethernet/rocker/
Drocker.c4130 NETLINK_CB(cb->skb).portid, in rocker_port_fdb_dump()