/linux-2.4.37.9/net/netlink/ |
D | af_netlink.c | 825 NETLINK_CB(skb).pid = sk->protinfo.af_netlink->pid; in netlink_sendmsg() 826 NETLINK_CB(skb).groups = sk->protinfo.af_netlink->groups; in netlink_sendmsg() 827 NETLINK_CB(skb).dst_pid = dst_pid; in netlink_sendmsg() 828 NETLINK_CB(skb).dst_groups = dst_groups; in netlink_sendmsg() 836 NETLINK_CB(skb).eff_cap = current->cap_effective; in netlink_sendmsg() 887 addr->nl_pid = NETLINK_CB(skb).pid; in netlink_recvmsg() 888 addr->nl_groups = NETLINK_CB(skb).dst_groups; in netlink_recvmsg() 996 nlh = __nlmsg_put(skb, NETLINK_CB(cb->skb).pid, cb->nlh->nlmsg_seq, NLMSG_DONE, sizeof(int)); in netlink_dump() 1030 sk = netlink_lookup(ssk->protocol, NETLINK_CB(skb).pid); in netlink_dump_start() 1067 NETLINK_CB(in_skb).pid); in netlink_ack() [all …]
|
/linux-2.4.37.9/include/linux/ |
D | netlink.h | 100 #define NETLINK_CB(skb) (*(struct netlink_skb_parms*)&((skb)->cb)) macro 101 #define NETLINK_CREDS(skb) (&NETLINK_CB((skb)).creds)
|
/linux-2.4.37.9/net/core/ |
D | rtnetlink.c | 123 NETLINK_CB(skb).dst_groups = group; in rtnetlink_send() 216 …if (rtnetlink_fill_ifinfo(skb, dev, RTM_NEWLINK, NETLINK_CB(cb->skb).pid, cb->nlh->nlmsg_seq, 0) <… in rtnetlink_dump_ifinfo() 262 NETLINK_CB(skb).dst_groups = RTMGRP_LINK; in rtmsg_ifinfo() 321 if (kind != 2 && !cap_raised(NETLINK_CB(skb).eff_cap, CAP_NET_ADMIN)) { in rtnetlink_rcv_msg()
|
D | neighbour.c | 1530 if (neigh_fill_info(skb, n, NETLINK_CB(cb->skb).pid, in neigh_dump_table() 1944 NETLINK_CB(skb).dst_groups = RTMGRP_NEIGH; in neigh_app_ns() 1963 NETLINK_CB(skb).dst_groups = RTMGRP_NEIGH; in neigh_app_notify()
|
D | wireless.c | 933 NETLINK_CB(skb).dst_groups = RTMGRP_LINK; in rtmsg_iwinfo()
|
/linux-2.4.37.9/net/ipv4/ |
D | tcp_diag.c | 264 NETLINK_CB(in_skb).pid, in tcpdiag_get_exact() 268 err = netlink_unicast(tcpnl, rep, NETLINK_CB(in_skb).pid, MSG_DONTWAIT); in tcpdiag_get_exact() 483 NETLINK_CB(cb->skb).pid, in tcpdiag_dump() 522 NETLINK_CB(cb->skb).pid, in tcpdiag_dump() 544 NETLINK_CB(cb->skb).pid, in tcpdiag_dump()
|
D | fib_frontend.c | 362 return tb->tb_delete(tb, r, (struct kern_rta*)rta, nlh, &NETLINK_CB(skb)); in inet_rtm_delroute() 377 return tb->tb_insert(tb, r, (struct kern_rta*)rta, nlh, &NETLINK_CB(skb)); in inet_rtm_newroute()
|
D | route.c | 2256 NETLINK_CB(skb).dst_pid = NETLINK_CB(in_skb).pid; in inet_rtm_getroute() 2258 err = rt_fill_info(skb, NETLINK_CB(in_skb).pid, nlh->nlmsg_seq, in inet_rtm_getroute() 2267 err = netlink_unicast(rtnl, skb, NETLINK_CB(in_skb).pid, MSG_DONTWAIT); in inet_rtm_getroute() 2295 if (rt_fill_info(skb, NETLINK_CB(cb->skb).pid, in ip_rt_dump()
|
D | fib_hash.c | 828 if (fib_dump_info(skb, NETLINK_CB(cb->skb).pid, cb->nlh->nlmsg_seq, in fn_hash_dump_bucket() 904 NETLINK_CB(skb).dst_groups = RTMGRP_IPV4_ROUTE; in rtmsg_fib()
|
D | devinet.c | 1033 if (inet_fill_ifaddr(skb, ifa, NETLINK_CB(cb->skb).pid, in inet_dump_ifaddr() 1067 NETLINK_CB(skb).dst_groups = RTMGRP_IPV4_IFADDR; in rtmsg_ifa()
|
D | ipmr.c | 306 netlink_unicast(rtnl, skb, NETLINK_CB(skb).dst_pid, MSG_DONTWAIT); in ipmr_destroy_unres() 520 err = netlink_unicast(rtnl, skb, NETLINK_CB(skb).dst_pid, MSG_DONTWAIT); in ipmr_cache_resolve()
|
/linux-2.4.37.9/net/sched/ |
D | cls_api.c | 320 u32 pid = oskb ? NETLINK_CB(oskb).pid : 0; in tfilter_notify() 345 return tcf_fill_node(a->skb, tp, n, NETLINK_CB(a->cb->skb).pid, in tcf_node_dump() 400 if (tcf_fill_node(skb, tp, 0, NETLINK_CB(cb->skb).pid, in tc_dump_tfilter()
|
D | sch_api.c | 774 u32 pid = oskb ? NETLINK_CB(oskb).pid : 0; in qdisc_notify() 819 if (tc_fill_qdisc(skb, q, q->parent, NETLINK_CB(cb->skb).pid, in tc_dump_qdisc() 993 u32 pid = oskb ? NETLINK_CB(oskb).pid : 0; in tclass_notify() 1018 return tc_fill_tclass(a->skb, q, cl, NETLINK_CB(a->cb->skb).pid, in qdisc_class_dump()
|
/linux-2.4.37.9/net/ipv6/ |
D | route.c | 483 &NETLINK_CB(skb)); in ip6_route_input() 1560 return ip6_route_del(&rtmsg, nlh, &NETLINK_CB(skb)); in inet6_rtm_delroute() 1570 return ip6_route_add(&rtmsg, nlh, &NETLINK_CB(skb)); in inet6_rtm_newroute() 1680 NETLINK_CB(arg->cb->skb).pid, arg->cb->nlh->nlmsg_seq, in rt6_dump_route() 1826 NETLINK_CB(skb).dst_pid = NETLINK_CB(in_skb).pid; in inet6_rtm_getroute() 1831 RTM_NEWROUTE, NETLINK_CB(in_skb).pid, in inet6_rtm_getroute() 1838 err = netlink_unicast(rtnl, skb, NETLINK_CB(in_skb).pid, MSG_DONTWAIT); in inet6_rtm_getroute() 1871 NETLINK_CB(skb).dst_groups = RTMGRP_IPV6_ROUTE; in inet6_rt_notify()
|
D | addrconf.c | 1950 if (inet6_fill_ifaddr(skb, ifa, NETLINK_CB(cb->skb).pid, in inet6_dump_ifaddr() 1980 NETLINK_CB(skb).dst_groups = RTMGRP_IPV6_IFADDR; in inet6_ifa_notify() 2075 NETLINK_CB(cb->skb).pid, cb->nlh->nlmsg_seq); in inet6_dump_ifinfo()
|
/linux-2.4.37.9/net/decnet/ |
D | dn_route.c | 1126 NETLINK_CB(skb).dst_pid = NETLINK_CB(in_skb).pid; in dn_cache_getroute() 1128 err = dn_rt_fill_info(skb, NETLINK_CB(in_skb).pid, nlh->nlmsg_seq, RTM_NEWROUTE, 0); in dn_cache_getroute() 1137 err = netlink_unicast(rtnl, skb, NETLINK_CB(in_skb).pid, MSG_DONTWAIT); in dn_cache_getroute() 1173 if (dn_rt_fill_info(skb, NETLINK_CB(cb->skb).pid, in dn_cache_dump()
|
D | dn_fib.c | 447 return tb->delete(tb, r, (struct dn_kern_rta *)rta, nlh, &NETLINK_CB(skb)); in dn_fib_rtm_delroute() 463 return tb->insert(tb, r, (struct dn_kern_rta *)rta, nlh, &NETLINK_CB(skb)); in dn_fib_rtm_newroute()
|
D | dn_table.c | 349 NETLINK_CB(skb).dst_groups = RTMGRP_DECnet_ROUTE; in dn_rtmsg_fib() 371 if (dn_fib_dump_info(skb, NETLINK_CB(cb->skb).pid, in dn_hash_dump_bucket()
|
D | dn_dev.c | 612 NETLINK_CB(skb).dst_groups = RTMGRP_DECnet_IFADDR; in rtmsg_ifa() 642 if (dn_dev_fill_ifaddr(skb, ifa, NETLINK_CB(cb->skb).pid, cb->nlh->nlmsg_seq, RTM_NEWADDR) <= 0) in dn_dev_dump_ifaddr()
|
/linux-2.4.37.9/net/ipv4/netfilter/ |
D | ipt_ULOG.c | 110 NETLINK_CB(ub->skb).dst_groups = (1 << nlgroupnum); in ulog_send()
|
D | ip_queue.c | 505 if(!cap_raised(NETLINK_CB(skb).eff_cap, CAP_NET_ADMIN)) in ipq_rcv_skb()
|
/linux-2.4.37.9/net/ipv6/netfilter/ |
D | ip6_queue.c | 509 if(!cap_raised(NETLINK_CB(skb).eff_cap, CAP_NET_ADMIN)) in ipq_rcv_skb()
|