NETLINK_CB 174 include/linux/netlink.h #define NETLINK_CREDS(skb) (&NETLINK_CB((skb)).creds) NETLINK_CB 504 include/net/netlink.h return nlmsg_put(skb, NETLINK_CB(cb->skb).pid, cb->nlh->nlmsg_seq, NETLINK_CB 598 include/net/netlink.h NETLINK_CB(skb).dst_group = group; NETLINK_CB 685 kernel/audit.c loginuid = NETLINK_CB(skb).loginuid; NETLINK_CB 686 kernel/audit.c sessionid = NETLINK_CB(skb).sessionid; NETLINK_CB 687 kernel/audit.c sid = NETLINK_CB(skb).sid; NETLINK_CB 700 kernel/audit.c audit_send_reply(NETLINK_CB(skb).pid, seq, AUDIT_GET, 0, 0, NETLINK_CB 728 kernel/audit.c audit_nlk_pid = NETLINK_CB(skb).pid; NETLINK_CB 746 kernel/audit.c err = audit_filter_user(&NETLINK_CB(skb)); NETLINK_CB 787 kernel/audit.c err = audit_receive_filter(msg_type, NETLINK_CB(skb).pid, NETLINK_CB 806 kernel/audit.c err = audit_receive_filter(msg_type, NETLINK_CB(skb).pid, NETLINK_CB 871 kernel/audit.c audit_send_reply(NETLINK_CB(skb).pid, seq, AUDIT_SIGNAL_INFO, NETLINK_CB 889 kernel/audit.c audit_send_reply(NETLINK_CB(skb).pid, seq, AUDIT_TTY_GET, 0, 0, NETLINK_CB 227 lib/kobject_uevent.c NETLINK_CB(skb).dst_group = 1; NETLINK_CB 122 net/bridge/br_netlink.c if (br_fill_ifinfo(skb, dev->br_port, NETLINK_CB(cb->skb).pid, NETLINK_CB 85 net/bridge/netfilter/ebt_ulog.c NETLINK_CB(ub->skb).dst_group = nlgroup + 1; NETLINK_CB 341 net/core/fib_rules.c notify_rule_change(RTM_NEWRULE, rule, ops, nlh, NETLINK_CB(skb).pid); NETLINK_CB 433 net/core/fib_rules.c NETLINK_CB(skb).pid); NETLINK_CB 523 net/core/fib_rules.c if (fib_nl_fill_rule(skb, rule, NETLINK_CB(cb->skb).pid, NETLINK_CB 1997 net/core/neighbour.c if (neightbl_fill_info(skb, tbl, NETLINK_CB(cb->skb).pid, NETLINK_CB 2010 net/core/neighbour.c NETLINK_CB(cb->skb).pid, NETLINK_CB 2100 net/core/neighbour.c if (neigh_fill_info(skb, n, NETLINK_CB(cb->skb).pid, NETLINK_CB 442 net/core/rtnetlink.c NETLINK_CB(skb).dst_group = group; NETLINK_CB 696 net/core/rtnetlink.c NETLINK_CB(cb->skb).pid, NETLINK_CB 1190 net/core/rtnetlink.c err = rtnl_fill_ifinfo(nskb, dev, RTM_NEWLINK, NETLINK_CB(skb).pid, NETLINK_CB 1198 net/core/rtnetlink.c err = rtnl_unicast(nskb, net, NETLINK_CB(skb).pid); NETLINK_CB 812 net/decnet/dn_dev.c if (dn_nl_fill_ifaddr(skb, ifa, NETLINK_CB(cb->skb).pid, NETLINK_CB 520 net/decnet/dn_fib.c return tb->delete(tb, r, (struct dn_kern_rta *)rta, nlh, &NETLINK_CB(skb)); NETLINK_CB 540 net/decnet/dn_fib.c return tb->insert(tb, r, (struct dn_kern_rta *)rta, nlh, &NETLINK_CB(skb)); NETLINK_CB 1582 net/decnet/dn_route.c err = dn_rt_fill_info(skb, NETLINK_CB(in_skb).pid, nlh->nlmsg_seq, RTM_NEWROUTE, 0, 0); NETLINK_CB 1591 net/decnet/dn_route.c return rtnl_unicast(skb, &init_net, NETLINK_CB(in_skb).pid); NETLINK_CB 1631 net/decnet/dn_route.c if (dn_rt_fill_info(skb, NETLINK_CB(cb->skb).pid, NETLINK_CB 398 net/decnet/dn_table.c if (dn_fib_dump_info(skb, NETLINK_CB(cb->skb).pid, NETLINK_CB 85 net/decnet/netfilter/dn_rtmsg.c NETLINK_CB(skb2).dst_group = group; NETLINK_CB 475 net/ipv4/devinet.c __inet_del_ifa(in_dev, ifap, 1, nlh, NETLINK_CB(skb).pid); NETLINK_CB 560 net/ipv4/devinet.c return __inet_insert_ifa(ifa, nlh, NETLINK_CB(skb).pid); NETLINK_CB 1184 net/ipv4/devinet.c if (inet_fill_ifaddr(skb, ifa, NETLINK_CB(cb->skb).pid, NETLINK_CB 533 net/ipv4/fib_frontend.c cfg->fc_nlinfo.pid = NETLINK_CB(skb).pid; NETLINK_CB 873 net/ipv4/fib_frontend.c pid = NETLINK_CB(skb).pid; /* pid of sending process */ NETLINK_CB 874 net/ipv4/fib_frontend.c NETLINK_CB(skb).pid = 0; /* from kernel */ NETLINK_CB 875 net/ipv4/fib_frontend.c NETLINK_CB(skb).dst_group = 0; /* unicast */ NETLINK_CB 701 net/ipv4/fib_hash.c if (fib_dump_info(skb, NETLINK_CB(cb->skb).pid, NETLINK_CB 1892 net/ipv4/fib_trie.c if (fib_dump_info(skb, NETLINK_CB(cb->skb).pid, NETLINK_CB 307 net/ipv4/inet_diag.c NETLINK_CB(in_skb).pid, NETLINK_CB 314 net/ipv4/inet_diag.c err = netlink_unicast(idiagnl, rep, NETLINK_CB(in_skb).pid, NETLINK_CB 523 net/ipv4/inet_diag.c NETLINK_CB(cb->skb).pid, NETLINK_CB 559 net/ipv4/inet_diag.c NETLINK_CB(cb->skb).pid, NETLINK_CB 684 net/ipv4/inet_diag.c NETLINK_CB(cb->skb).pid, NETLINK_CB 344 net/ipv4/ipmr.c rtnl_unicast(skb, &init_net, NETLINK_CB(skb).pid); NETLINK_CB 571 net/ipv4/ipmr.c rtnl_unicast(skb, &init_net, NETLINK_CB(skb).pid); NETLINK_CB 106 net/ipv4/netfilter/ipt_ULOG.c NETLINK_CB(ub->skb).dst_group = nlgroupnum + 1; NETLINK_CB 2827 net/ipv4/route.c err = rt_fill_info(skb, NETLINK_CB(in_skb).pid, nlh->nlmsg_seq, NETLINK_CB 2832 net/ipv4/route.c err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).pid); NETLINK_CB 2865 net/ipv4/route.c if (rt_fill_info(skb, NETLINK_CB(cb->skb).pid, NETLINK_CB 3506 net/ipv6/addrconf.c NETLINK_CB(cb->skb).pid, NETLINK_CB 3519 net/ipv6/addrconf.c NETLINK_CB(cb->skb).pid, NETLINK_CB 3532 net/ipv6/addrconf.c NETLINK_CB(cb->skb).pid, NETLINK_CB 3612 net/ipv6/addrconf.c err = inet6_fill_ifaddr(skb, ifa, NETLINK_CB(in_skb).pid, NETLINK_CB 3620 net/ipv6/addrconf.c err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).pid); NETLINK_CB 3824 net/ipv6/addrconf.c err = inet6_fill_ifinfo(skb, idev, NETLINK_CB(cb->skb).pid, NETLINK_CB 516 net/ipv6/addrlabel.c NETLINK_CB(cb->skb).pid, NETLINK_CB 588 net/ipv6/addrlabel.c NETLINK_CB(in_skb).pid, nlh->nlmsg_seq, NETLINK_CB 599 net/ipv6/addrlabel.c err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).pid); NETLINK_CB 523 net/ipv6/ip6mr.c rtnl_unicast(skb, &init_net, NETLINK_CB(skb).pid); NETLINK_CB 730 net/ipv6/ip6mr.c err = rtnl_unicast(skb, &init_net, NETLINK_CB(skb).pid); NETLINK_CB 2047 net/ipv6/route.c cfg->fc_nlinfo.pid = NETLINK_CB(skb).pid; NETLINK_CB 2263 net/ipv6/route.c NETLINK_CB(arg->cb->skb).pid, arg->cb->nlh->nlmsg_seq, NETLINK_CB 2329 net/ipv6/route.c RTM_NEWROUTE, NETLINK_CB(in_skb).pid, NETLINK_CB 2336 net/ipv6/route.c err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).pid); NETLINK_CB 2655 net/netfilter/ipvs/ip_vs_ctl.c hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).pid, cb->nlh->nlmsg_seq, NETLINK_CB 2842 net/netfilter/ipvs/ip_vs_ctl.c hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).pid, cb->nlh->nlmsg_seq, NETLINK_CB 2968 net/netfilter/ipvs/ip_vs_ctl.c hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).pid, cb->nlh->nlmsg_seq, NETLINK_CB 567 net/netfilter/nf_conntrack_netlink.c if (ctnetlink_fill_info(skb, NETLINK_CB(cb->skb).pid, NETLINK_CB 863 net/netfilter/nf_conntrack_netlink.c err = ctnetlink_fill_info(skb2, NETLINK_CB(skb).pid, nlh->nlmsg_seq, NETLINK_CB 869 net/netfilter/nf_conntrack_netlink.c err = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).pid, MSG_DONTWAIT); NETLINK_CB 1480 net/netfilter/nf_conntrack_netlink.c if (ctnetlink_exp_fill_info(skb, NETLINK_CB(cb->skb).pid, NETLINK_CB 1550 net/netfilter/nf_conntrack_netlink.c err = ctnetlink_exp_fill_info(skb2, NETLINK_CB(skb).pid, NETLINK_CB 1558 net/netfilter/nf_conntrack_netlink.c return netlink_unicast(ctnl, skb2, NETLINK_CB(skb).pid, MSG_DONTWAIT); NETLINK_CB 731 net/netfilter/nfnetlink_log.c if (inst && inst->peer_pid != NETLINK_CB(skb).pid) { NETLINK_CB 745 net/netfilter/nfnetlink_log.c NETLINK_CB(skb).pid); NETLINK_CB 629 net/netfilter/nfnetlink_queue.c if (queue->peer_pid != NETLINK_CB(skb).pid) { NETLINK_CB 714 net/netfilter/nfnetlink_queue.c if (queue && queue->peer_pid != NETLINK_CB(skb).pid) { NETLINK_CB 726 net/netfilter/nfnetlink_queue.c queue = instance_create(queue_num, NETLINK_CB(skb).pid); NETLINK_CB 644 net/netlabel/netlabel_cipso_v4.c data = genlmsg_put(cb_arg->skb, NETLINK_CB(cb_arg->nl_cb->skb).pid, NETLINK_CB 450 net/netlabel/netlabel_mgmt.c data = genlmsg_put(cb_arg->skb, NETLINK_CB(cb_arg->nl_cb->skb).pid, NETLINK_CB 616 net/netlabel/netlabel_mgmt.c data = genlmsg_put(skb, NETLINK_CB(cb->skb).pid, cb->nlh->nlmsg_seq, NETLINK_CB 1171 net/netlabel/netlabel_unlabeled.c data = genlmsg_put(cb_arg->skb, NETLINK_CB(cb_arg->nl_cb->skb).pid, NETLINK_CB 52 net/netlabel/netlabel_user.h audit_info->secid = NETLINK_CB(skb).sid; NETLINK_CB 53 net/netlabel/netlabel_user.h audit_info->loginuid = NETLINK_CB(skb).loginuid; NETLINK_CB 54 net/netlabel/netlabel_user.h audit_info->sessionid = NETLINK_CB(skb).sessionid; NETLINK_CB 1197 net/netlink/af_netlink.c info.group = NETLINK_CB(skb).dst_group; NETLINK_CB 1249 net/netlink/af_netlink.c NETLINK_CB(skb).pid = nlk->pid; NETLINK_CB 1250 net/netlink/af_netlink.c NETLINK_CB(skb).dst_group = dst_group; NETLINK_CB 1251 net/netlink/af_netlink.c NETLINK_CB(skb).loginuid = audit_get_loginuid(current); NETLINK_CB 1252 net/netlink/af_netlink.c NETLINK_CB(skb).sessionid = audit_get_sessionid(current); NETLINK_CB 1253 net/netlink/af_netlink.c security_task_getsecid(current, &(NETLINK_CB(skb).sid)); NETLINK_CB 1321 net/netlink/af_netlink.c addr->nl_pid = NETLINK_CB(skb).pid; NETLINK_CB 1322 net/netlink/af_netlink.c addr->nl_groups = netlink_group_mask(NETLINK_CB(skb).dst_group); NETLINK_CB 1605 net/netlink/af_netlink.c sk = netlink_lookup(sock_net(ssk), ssk->sk_protocol, NETLINK_CB(skb).pid); NETLINK_CB 1649 net/netlink/af_netlink.c NETLINK_CB(in_skb).pid); NETLINK_CB 1658 net/netlink/af_netlink.c rep = __nlmsg_put(skb, NETLINK_CB(in_skb).pid, nlh->nlmsg_seq, NETLINK_CB 1663 net/netlink/af_netlink.c netlink_unicast(in_skb->sk, skb, NETLINK_CB(in_skb).pid, MSG_DONTWAIT); NETLINK_CB 465 net/netlink/genetlink.c info.snd_pid = NETLINK_CB(skb).pid; NETLINK_CB 616 net/netlink/genetlink.c if (ctrl_fill_info(rt, NETLINK_CB(cb->skb).pid, NETLINK_CB 146 net/phonet/pn_netlink.c NETLINK_CB(cb->skb).pid, NETLINK_CB 914 net/sched/act_api.c NETLINK_CB(skb).dst_group = RTNLGRP_TC; NETLINK_CB 960 net/sched/act_api.c u32 pid = skb ? NETLINK_CB(skb).pid : 0; NETLINK_CB 1067 net/sched/act_api.c nlh = NLMSG_PUT(skb, NETLINK_CB(cb->skb).pid, cb->nlh->nlmsg_seq, NETLINK_CB 1089 net/sched/act_api.c if (NETLINK_CB(cb->skb).pid && ret) NETLINK_CB 364 net/sched/cls_api.c u32 pid = oskb ? NETLINK_CB(oskb).pid : 0; NETLINK_CB 390 net/sched/cls_api.c return tcf_fill_node(a->skb, tp, n, NETLINK_CB(a->cb->skb).pid, NETLINK_CB 447 net/sched/cls_api.c if (tcf_fill_node(skb, tp, 0, NETLINK_CB(cb->skb).pid, NETLINK_CB 1200 net/sched/sch_api.c u32 pid = oskb ? NETLINK_CB(oskb).pid : 0; NETLINK_CB 1243 net/sched/sch_api.c tc_fill_qdisc(skb, q, q->parent, NETLINK_CB(cb->skb).pid, NETLINK_CB 1254 net/sched/sch_api.c tc_fill_qdisc(skb, q, q->parent, NETLINK_CB(cb->skb).pid, NETLINK_CB 1487 net/sched/sch_api.c u32 pid = oskb ? NETLINK_CB(oskb).pid : 0; NETLINK_CB 1512 net/sched/sch_api.c return tc_fill_tclass(a->skb, q, cl, NETLINK_CB(a->cb->skb).pid, NETLINK_CB 65 net/tipc/netlink.c genlmsg_unicast(rep_buf, NETLINK_CB(skb).pid); NETLINK_CB 231 net/wireless/nl80211.c if (nl80211_send_wiphy(skb, NETLINK_CB(cb->skb).pid, NETLINK_CB 333 net/wireless/nl80211.c if (nl80211_send_iface(skb, NETLINK_CB(cb->skb).pid, NETLINK_CB 1045 net/wireless/nl80211.c NETLINK_CB(cb->skb).pid, NETLINK_CB 1403 net/wireless/nl80211.c if (nl80211_send_mpath(skb, NETLINK_CB(cb->skb).pid, NETLINK_CB 1317 net/wireless/wext.c NETLINK_CB(skb).dst_group = RTNLGRP_LINK; NETLINK_CB 398 net/xfrm/xfrm_user.c uid_t loginuid = NETLINK_CB(skb).loginuid; NETLINK_CB 399 net/xfrm/xfrm_user.c u32 sessionid = NETLINK_CB(skb).sessionid; NETLINK_CB 400 net/xfrm/xfrm_user.c u32 sid = NETLINK_CB(skb).sid; NETLINK_CB 471 net/xfrm/xfrm_user.c uid_t loginuid = NETLINK_CB(skb).loginuid; NETLINK_CB 472 net/xfrm/xfrm_user.c u32 sessionid = NETLINK_CB(skb).sessionid; NETLINK_CB 473 net/xfrm/xfrm_user.c u32 sid = NETLINK_CB(skb).sid; NETLINK_CB 590 net/xfrm/xfrm_user.c nlh = nlmsg_put(skb, NETLINK_CB(in_skb).pid, sp->nlmsg_seq, NETLINK_CB 708 net/xfrm/xfrm_user.c u32 spid = NETLINK_CB(skb).pid; NETLINK_CB 761 net/xfrm/xfrm_user.c u32 spid = NETLINK_CB(skb).pid; NETLINK_CB 790 net/xfrm/xfrm_user.c err = nlmsg_unicast(xfrm_nl, resp_skb, NETLINK_CB(skb).pid); NETLINK_CB 866 net/xfrm/xfrm_user.c err = nlmsg_unicast(xfrm_nl, resp_skb, NETLINK_CB(skb).pid); NETLINK_CB 1118 net/xfrm/xfrm_user.c uid_t loginuid = NETLINK_CB(skb).loginuid; NETLINK_CB 1119 net/xfrm/xfrm_user.c u32 sessionid = NETLINK_CB(skb).sessionid; NETLINK_CB 1120 net/xfrm/xfrm_user.c u32 sid = NETLINK_CB(skb).sid; NETLINK_CB 1234 net/xfrm/xfrm_user.c nlh = nlmsg_put(skb, NETLINK_CB(in_skb).pid, sp->nlmsg_seq, NETLINK_CB 1365 net/xfrm/xfrm_user.c NETLINK_CB(skb).pid); NETLINK_CB 1368 net/xfrm/xfrm_user.c uid_t loginuid = NETLINK_CB(skb).loginuid; NETLINK_CB 1369 net/xfrm/xfrm_user.c u32 sessionid = NETLINK_CB(skb).sessionid; NETLINK_CB 1370 net/xfrm/xfrm_user.c u32 sid = NETLINK_CB(skb).sid; NETLINK_CB 1398 net/xfrm/xfrm_user.c audit_info.loginuid = NETLINK_CB(skb).loginuid; NETLINK_CB 1399 net/xfrm/xfrm_user.c audit_info.sessionid = NETLINK_CB(skb).sessionid; NETLINK_CB 1400 net/xfrm/xfrm_user.c audit_info.secid = NETLINK_CB(skb).sid; NETLINK_CB 1489 net/xfrm/xfrm_user.c err = nlmsg_unicast(xfrm_nl, r_skb, NETLINK_CB(skb).pid); NETLINK_CB 1546 net/xfrm/xfrm_user.c audit_info.loginuid = NETLINK_CB(skb).loginuid; NETLINK_CB 1547 net/xfrm/xfrm_user.c audit_info.sessionid = NETLINK_CB(skb).sessionid; NETLINK_CB 1548 net/xfrm/xfrm_user.c audit_info.secid = NETLINK_CB(skb).sid; NETLINK_CB 1606 net/xfrm/xfrm_user.c uid_t loginuid = NETLINK_CB(skb).loginuid; NETLINK_CB 1607 net/xfrm/xfrm_user.c uid_t sessionid = NETLINK_CB(skb).sessionid; NETLINK_CB 1608 net/xfrm/xfrm_user.c u32 sid = NETLINK_CB(skb).sid; NETLINK_CB 1644 net/xfrm/xfrm_user.c uid_t loginuid = NETLINK_CB(skb).loginuid; NETLINK_CB 1645 net/xfrm/xfrm_user.c uid_t sessionid = NETLINK_CB(skb).sessionid; NETLINK_CB 1646 net/xfrm/xfrm_user.c u32 sid = NETLINK_CB(skb).sid; NETLINK_CB 32 security/commoncap.c NETLINK_CB(skb).eff_cap = current->cap_effective; NETLINK_CB 38 security/commoncap.c if (!cap_raised(NETLINK_CB(skb).eff_cap, cap)) NETLINK_CB 4761 security/selinux/hooks.c return avc_has_perm(NETLINK_CB(skb).sid, NETLINK_CB(skb).sid, NETLINK_CB 84 security/selinux/netlink.c NETLINK_CB(skb).dst_group = SELNLGRP_AVC;