/net/ipv4/ |
H A D | fib_semantics.c | 393 err = fib_dump_info(skb, info->portid, seq, event, tb_id, 402 rtnl_notify(skb, info->nl_net, info->portid, RTNLGRP_IPV4_ROUTE, 995 int fib_dump_info(struct sk_buff *skb, u32 portid, u32 seq, int event, argument 1002 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*rtm), flags);
|
H A D | devinet.c | 317 int destroy, struct nlmsghdr *nlh, u32 portid) 351 rtmsg_ifa(RTM_DELADDR, ifa, nlh, portid); 388 rtmsg_ifa(RTM_DELADDR, ifa1, nlh, portid); 401 rtmsg_ifa(RTM_NEWADDR, promote, nlh, portid); 427 u32 portid) 477 rtmsg_ifa(RTM_NEWADDR, ifa, nlh, portid); 576 __inet_del_ifa(in_dev, ifap, 1, nlh, NETLINK_CB(skb).portid); 825 return __inet_insert_ifa(ifa, nlh, NETLINK_CB(skb).portid); 836 rtmsg_ifa(RTM_NEWADDR, ifa, nlh, NETLINK_CB(skb).portid); 1462 u32 portid, u3 316 __inet_del_ifa(struct in_device *in_dev, struct in_ifaddr **ifap, int destroy, struct nlmsghdr *nlh, u32 portid) argument 426 __inet_insert_ifa(struct in_ifaddr *ifa, struct nlmsghdr *nlh, u32 portid) argument 1461 inet_fill_ifaddr(struct sk_buff *skb, struct in_ifaddr *ifa, u32 portid, u32 seq, int event, unsigned int flags) argument 1576 rtmsg_ifa(int event, struct in_ifaddr *ifa, struct nlmsghdr *nlh, u32 portid) argument 1700 inet_netconf_fill_devconf(struct sk_buff *skb, int ifindex, struct ipv4_devconf *devconf, u32 portid, u32 seq, int event, unsigned int flags, int type) argument [all...] |
H A D | ipmr.c | 635 rtnl_unicast(skb, net, NETLINK_CB(skb).portid); 925 rtnl_unicast(skb, net, NETLINK_CB(skb).portid); 2255 u32 portid, u32 seq, struct mfc_cache *c, int cmd) 2261 nlh = nlmsg_put(skb, portid, seq, cmd, sizeof(*rtm), NLM_F_MULTI); 2366 NETLINK_CB(cb->skb).portid, 2380 NETLINK_CB(cb->skb).portid, 2254 ipmr_fill_mroute(struct mr_table *mrt, struct sk_buff *skb, u32 portid, u32 seq, struct mfc_cache *c, int cmd) argument
|
H A D | route.c | 2219 struct flowi4 *fl4, struct sk_buff *skb, u32 portid, 2229 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*r), flags); 2422 NETLINK_CB(in_skb).portid, nlh->nlmsg_seq, 2427 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); 2218 rt_fill_info(struct net *net, __be32 dst, __be32 src, struct flowi4 *fl4, struct sk_buff *skb, u32 portid, u32 seq, int event, int nowait, unsigned int flags) argument
|
/net/netfilter/ipset/ |
H A D | ip_set_core.c | 634 start_msg(struct sk_buff *skb, u32 portid, u32 seq, unsigned int flags, argument 640 nlh = nlmsg_put(skb, portid, seq, cmd | (NFNL_SUBSYS_IPSET << 8), 1150 unsigned int flags = NETLINK_CB(cb->skb).portid ? NLM_F_MULTI : 0; 1198 nlh = start_msg(skb, NETLINK_CB(cb->skb).portid, 1331 rep = __nlmsg_put(skb2, NETLINK_CB(skb).portid, 1346 netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, MSG_DONTWAIT); 1520 nlh2 = start_msg(skb2, NETLINK_CB(skb).portid, nlh->nlmsg_seq, 0, 1532 ret = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, MSG_DONTWAIT); 1580 nlh2 = start_msg(skb2, NETLINK_CB(skb).portid, nlh->nlmsg_seq, 0, 1593 ret = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, MSG_DONTWAI [all...] |
/net/netfilter/ |
H A D | nf_conntrack_core.c | 1264 u32 portid; member in struct:__nf_ct_flush_report 1279 fr->portid, fr->report) < 0) 1302 void nf_conntrack_flush_report(struct net *net, u32 portid, int report) argument 1305 .portid = portid,
|
H A D | nfnetlink_log.c | 153 int portid, struct user_namespace *user_ns) 186 inst->peer_portid = portid; 743 /* destroy all instances for this portid */ 751 if (n->portid == inst->peer_portid) 815 if (inst && inst->peer_portid != NETLINK_CB(skb).portid) { 829 NETLINK_CB(skb).portid, 152 instance_create(struct net *net, u_int16_t group_num, int portid, struct user_namespace *user_ns) argument
|
H A D | nfnetlink_queue_core.c | 104 int portid) 123 inst->peer_portid = portid; 825 /* destroy all instances for this portid */ 833 if (n->portid == inst->peer_portid) 911 NETLINK_CB(skb).portid); 965 NETLINK_CB(skb).portid); 1045 if (queue && queue->peer_portid != NETLINK_CB(skb).portid) { 1058 NETLINK_CB(skb).portid); 103 instance_create(struct nfnl_queue_net *q, u_int16_t queue_num, int portid) argument
|
H A D | nf_conntrack_netlink.c | 456 ctnetlink_fill_info(struct sk_buff *skb, u32 portid, u32 seq, u32 type, argument 462 unsigned int flags = portid ? NLM_F_MULTI : 0, event; 465 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nfmsg), flags); 644 nlh = nlmsg_put(skb, item->portid, 0, type, sizeof(*nfmsg), flags); 723 err = nfnetlink_send(skb, net, item->portid, group, item->report, 800 ctnetlink_fill_info(skb, NETLINK_CB(cb->skb).portid, 1012 NETLINK_CB(skb).portid, 1036 NETLINK_CB(skb).portid, 1120 err = ctnetlink_fill_info(skb2, NETLINK_CB(skb).portid, nlh->nlmsg_seq, 1127 err = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, MSG_DONTWAI 1842 ctnetlink_ct_stat_cpu_fill_info(struct sk_buff *skb, u32 portid, u32 seq, __u16 cpu, const struct ip_conntrack_stat *st) argument 1928 ctnetlink_stat_ct_fill_info(struct sk_buff *skb, u32 portid, u32 seq, u32 type, struct net *net) argument 2274 ctnetlink_exp_fill_info(struct sk_buff *skb, u32 portid, u32 seq, int event, const struct nf_conntrack_expect *exp) argument 2735 ctnetlink_create_expect(struct net *net, u16 zone, const struct nlattr * const cda[], u_int8_t u3, u32 portid, int report) argument 2909 ctnetlink_exp_stat_fill_info(struct sk_buff *skb, u32 portid, u32 seq, int cpu, const struct ip_conntrack_stat *st) argument [all...] |
/net/core/ |
H A D | rtnetlink.c | 1063 NETLINK_CB(cb->skb).portid, 1879 err = rtnl_fill_ifinfo(nskb, dev, RTM_NEWLINK, NETLINK_CB(skb).portid, 1886 err = rtnl_unicast(nskb, net, NETLINK_CB(skb).portid); 2241 u32 portid, seq; local 2243 portid = NETLINK_CB(cb->skb).portid; 2251 portid, seq, 2372 u32 portid = NETLINK_CB(cb->skb).portid; local 2390 skb, portid, se [all...] |
/net/decnet/ |
H A D | dn_route.c | 1546 static int dn_rt_fill_info(struct sk_buff *skb, u32 portid, u32 seq, argument 1554 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*r), flags); 1707 err = dn_rt_fill_info(skb, NETLINK_CB(in_skb).portid, nlh->nlmsg_seq, RTM_NEWROUTE, 0, 0); 1716 return rtnl_unicast(skb, &init_net, NETLINK_CB(in_skb).portid); 1759 if (dn_rt_fill_info(skb, NETLINK_CB(cb->skb).portid,
|
/net/ipv6/ |
H A D | ip6mr.c | 848 rtnl_unicast(skb, net, NETLINK_CB(skb).portid); 1111 rtnl_unicast(skb, net, NETLINK_CB(skb).portid); 2346 u32 portid, u32 seq, struct mfc6_cache *c, int cmd) 2352 nlh = nlmsg_put(skb, portid, seq, cmd, sizeof(*rtm), NLM_F_MULTI); 2457 NETLINK_CB(cb->skb).portid, 2471 NETLINK_CB(cb->skb).portid, 2345 ip6mr_fill_mroute(struct mr6_table *mrt, struct sk_buff *skb, u32 portid, u32 seq, struct mfc6_cache *c, int cmd) argument
|
H A D | route.c | 1840 .fc_nlinfo.portid = 0, 1891 .fc_nlinfo.portid = 0, 2237 cfg->fc_nlinfo.portid = NETLINK_CB(skb).portid; 2394 int iif, int type, u32 portid, u32 seq, 2409 nlh = nlmsg_put(skb, portid, seq, type, sizeof(*rtm), flags); 2549 NETLINK_CB(arg->cb->skb).portid, arg->cb->nlh->nlmsg_seq, 2638 RTM_NEWROUTE, NETLINK_CB(in_skb).portid, 2645 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); 2665 event, info->portid, se 2391 rt6_fill_node(struct net *net, struct sk_buff *skb, struct rt6_info *rt, struct in6_addr *dst, struct in6_addr *src, int iif, int type, u32 portid, u32 seq, int prefix, int nowait, unsigned int flags) argument [all...] |
H A D | addrconf.c | 486 struct ipv6_devconf *devconf, u32 portid, 493 nlh = nlmsg_put(skb, portid, seq, event, sizeof(struct netconfmsg), 597 NETLINK_CB(in_skb).portid, 606 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); 639 NETLINK_CB(cb->skb).portid, 656 NETLINK_CB(cb->skb).portid, 667 NETLINK_CB(cb->skb).portid, 3888 u32 portid, u32 seq, int event, unsigned int flags) 3893 nlh = nlmsg_put(skb, portid, seq, event, sizeof(struct ifaddrmsg), flags); 3931 u32 portid, u3 485 inet6_netconf_fill_devconf(struct sk_buff *skb, int ifindex, struct ipv6_devconf *devconf, u32 portid, u32 seq, int event, unsigned int flags, int type) argument 3887 inet6_fill_ifaddr(struct sk_buff *skb, struct inet6_ifaddr *ifa, u32 portid, u32 seq, int event, unsigned int flags) argument 3930 inet6_fill_ifmcaddr(struct sk_buff *skb, struct ifmcaddr6 *ifmca, u32 portid, u32 seq, int event, u16 flags) argument 3955 inet6_fill_ifacaddr(struct sk_buff *skb, struct ifacaddr6 *ifaca, u32 portid, u32 seq, int event, unsigned int flags) argument 4453 inet6_fill_ifinfo(struct sk_buff *skb, struct inet6_dev *idev, u32 portid, u32 seq, int event, unsigned int flags) argument 4565 inet6_fill_prefix(struct sk_buff *skb, struct inet6_dev *idev, struct prefix_info *pinfo, u32 portid, u32 seq, int event, unsigned int flags) argument [all...] |
/net/openvswitch/ |
H A D | datapath.c | 248 upcall.portid = p->upcall_portid; 285 if (upcall_info->portid == 0) { 443 err = genlmsg_unicast(net, user_skb, upcall_info->portid); 861 struct sk_buff *skb, u32 portid, 875 ovs_header = genlmsg_put(skb, portid, seq, &dp_flow_genl_family, flags, cmd); 944 u32 portid, u32 seq, u8 cmd) 953 retval = ovs_flow_cmd_fill_info(flow, dp, skb, portid, seq, 0, cmd); 1228 NETLINK_CB(cb->skb).portid, 1294 u32 portid, u32 seq, u32 flags, u8 cmd) 1300 ovs_header = genlmsg_put(skb, portid, se 860 ovs_flow_cmd_fill_info(struct sw_flow *flow, struct datapath *dp, struct sk_buff *skb, u32 portid, u32 seq, u32 flags, u8 cmd) argument 942 ovs_flow_cmd_build_info(struct sw_flow *flow, struct datapath *dp, u32 portid, u32 seq, u8 cmd) argument 1293 ovs_dp_cmd_fill_info(struct datapath *dp, struct sk_buff *skb, u32 portid, u32 seq, u32 flags, u8 cmd) argument 1325 ovs_dp_cmd_build_info(struct datapath *dp, u32 portid, u32 seq, u8 cmd) argument 1639 ovs_vport_cmd_fill_info(struct vport *vport, struct sk_buff *skb, u32 portid, u32 seq, u32 flags, u8 cmd) argument 1678 ovs_vport_cmd_build_info(struct vport *vport, u32 portid, u32 seq, u8 cmd) argument [all...] |
/net/sched/ |
H A D | sch_api.c | 1198 u32 portid, u32 seq, u16 flags, int event) 1206 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); 1261 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; local 1268 if (tc_fill_qdisc(skb, old, clid, portid, n->nlmsg_seq, 1273 if (tc_fill_qdisc(skb, new, clid, portid, n->nlmsg_seq, 1279 return rtnetlink_send(skb, net, portid, RTNLGRP_TC, 1302 tc_fill_qdisc(skb, q, q->parent, NETLINK_CB(cb->skb).portid, 1313 tc_fill_qdisc(skb, q, q->parent, NETLINK_CB(cb->skb).portid, 1388 u32 portid; local 1197 tc_fill_qdisc(struct sk_buff *skb, struct Qdisc *q, u32 clid, u32 portid, u32 seq, u16 flags, int event) argument 1510 tc_fill_tclass(struct sk_buff *skb, struct Qdisc *q, unsigned long cl, u32 portid, u32 seq, u16 flags, int event) argument 1560 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; local [all...] |
/net/xfrm/ |
H A D | xfrm_state.c | 169 void km_state_expired(struct xfrm_state *x, int hard, u32 portid); 1656 void km_state_expired(struct xfrm_state *x, int hard, u32 portid) argument 1662 c.portid = portid; 1708 void km_policy_expired(struct xfrm_policy *pol, int dir, int hard, u32 portid) argument 1714 c.portid = portid;
|
H A D | xfrm_user.c | 629 c.portid = nlh->nlmsg_pid; 702 c.portid = nlh->nlmsg_pid; 860 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, sp->nlmsg_seq, 940 u32 portid, u32 seq, u32 flags) 949 nlh = nlmsg_put(skb, portid, seq, XFRM_MSG_NEWSPDINFO, sizeof(u32), 0); 982 u32 sportid = NETLINK_CB(skb).portid; 1003 u32 portid, u32 seq, u32 flags) 1011 nlh = nlmsg_put(skb, portid, seq, XFRM_MSG_NEWSADINFO, sizeof(u32), 0); 1039 u32 sportid = NETLINK_CB(skb).portid; 1069 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, NETLINK_CB(skb).portid); 939 build_spdinfo(struct sk_buff *skb, struct net *net, u32 portid, u32 seq, u32 flags) argument 1002 build_sadinfo(struct sk_buff *skb, struct net *net, u32 portid, u32 seq, u32 flags) argument [all...] |
/net/netlink/ |
H A D | af_netlink.c | 109 static inline struct hlist_head *nl_portid_hashfn(struct nl_portid_hash *hash, u32 portid) argument 111 return &hash->table[jhash_1word(portid, hash->rnd) & hash->mask]; 623 NETLINK_CB(skb).portid = nlk->portid; 857 static struct sock *netlink_lookup(struct net *net, int protocol, u32 portid) argument 864 head = nl_portid_hashfn(hash, portid); 866 if (net_eq(sock_net(sk), net) && (nlk_sk(sk)->portid == portid)) { 928 __sk_add_node(sk, nl_portid_hashfn(hash, nlk_sk(sk)->portid)); 977 static int netlink_insert(struct sock *sk, struct net *net, u32 portid) argument 1189 s32 portid = task_tgid_vnr(current); local 1388 netlink_getsockbyportid(struct sock *ssk, u32 portid) argument 1550 netlink_unicast(struct sock *ssk, struct sk_buff *skb, u32 portid, int nonblock) argument 1684 u32 portid; member in struct:netlink_broadcast_data 1757 netlink_broadcast_filtered(struct sock *ssk, struct sk_buff *skb, u32 portid, u32 group, gfp_t allocation, int (*filter)(struct sock *dsk, struct sk_buff *skb, void *data), void *filter_data) argument 1808 netlink_broadcast(struct sock *ssk, struct sk_buff *skb, u32 portid, u32 group, gfp_t allocation) argument 1818 u32 portid; member in struct:netlink_set_err_data 1859 netlink_set_err(struct sock *ssk, u32 portid, u32 group, int code) argument 2386 __nlmsg_put(struct sk_buff *skb, u32 portid, u32 seq, int type, int len, int flags) argument 2636 nlmsg_notify(struct sock *sk, struct sk_buff *skb, u32 portid, unsigned int group, int report, gfp_t flags) argument [all...] |
/net/wireless/ |
H A D | nl80211.c | 557 static inline void *nl80211hdr_put(struct sk_buff *skb, u32 portid, u32 seq, argument 561 return genlmsg_put(skb, portid, seq, &nl80211_fam, flags, cmd); 1163 struct sk_buff *msg, u32 portid, u32 seq, 1179 hdr = nl80211hdr_put(msg, portid, seq, flags, NL80211_CMD_NEW_WIPHY); 1655 NETLINK_CB(cb->skb).portid, 2211 static int nl80211_send_iface(struct sk_buff *msg, u32 portid, u32 seq, int flags, argument 2218 hdr = nl80211hdr_put(msg, portid, seq, flags, NL80211_CMD_NEW_INTERFACE); 2284 if (nl80211_send_iface(skb, NETLINK_CB(cb->skb).portid, 3427 static int nl80211_send_station(struct sk_buff *msg, u32 portid, u32 seq, argument 3436 hdr = nl80211hdr_put(msg, portid, se 1162 nl80211_send_wiphy(struct cfg80211_registered_device *dev, struct sk_buff *msg, u32 portid, u32 seq, int flags, bool split, long *split_start, long *band_start, long *chan_start) argument 4176 nl80211_send_mpath(struct sk_buff *msg, u32 portid, u32 seq, int flags, struct net_device *dev, u8 *dst, u8 *next_hop, struct mpath_info *pinfo) argument 5810 nl80211_send_survey(struct sk_buff *msg, u32 portid, u32 seq, int flags, struct net_device *dev, struct survey_info *survey) argument 6490 __cfg80211_alloc_vendor_skb(struct cfg80211_registered_device *rdev, int approxlen, u32 portid, u32 seq, enum nl80211_commands cmd, enum nl80211_attrs attr, const struct nl80211_vendor_cmd_info *info, gfp_t gfp) argument 9292 nl80211_send_scan_msg(struct sk_buff *msg, struct cfg80211_registered_device *rdev, struct wireless_dev *wdev, u32 portid, u32 seq, int flags, u32 cmd) argument 9321 nl80211_send_sched_scan_msg(struct sk_buff *msg, struct cfg80211_registered_device *rdev, struct net_device *netdev, u32 portid, u32 seq, int flags, u32 cmd) argument [all...] |