Searched defs:portid (Results 1 - 25 of 45) sorted by path

12

/net/bridge/
H A Dbr_fdb.c505 u32 portid, u32 seq, int type, unsigned int flags)
512 nlh = nlmsg_put(skb, portid, seq, type, sizeof(*ndm), flags);
597 NETLINK_CB(cb->skb).portid,
503 fdb_fill_info(struct sk_buff *skb, const struct net_bridge *br, const struct net_bridge_fdb_entry *fdb, u32 portid, u32 seq, int type, unsigned int flags) argument
/net/core/
H A Drtnetlink.c1063 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/dcb/
H A Ddcbnl.c1330 u32 seq, u32 portid, int dcbx_ver)
1341 skb = dcbnl_newmsg(event, cmd, portid, seq, 0, &nlh);
1364 u32 seq, u32 portid)
1366 return dcbnl_notify(dev, event, cmd, seq, portid, DCB_CAP_DCBX_VER_IEEE);
1371 u32 seq, u32 portid)
1373 return dcbnl_notify(dev, event, cmd, seq, portid, DCB_CAP_DCBX_VER_CEE);
1667 u32 portid = skb ? NETLINK_CB(skb).portid : 0; local
1701 reply_skb = dcbnl_newmsg(fn->type, dcb->cmd, portid, nlh->nlmsg_seq,
1716 ret = rtnl_unicast(reply_skb, net, portid);
1329 dcbnl_notify(struct net_device *dev, int event, int cmd, u32 seq, u32 portid, int dcbx_ver) argument
1363 dcbnl_ieee_notify(struct net_device *dev, int event, int cmd, u32 seq, u32 portid) argument
1370 dcbnl_cee_notify(struct net_device *dev, int event, int cmd, u32 seq, u32 portid) argument
[all...]
/net/decnet/
H A Ddn_dev.c676 u32 portid, u32 seq, int event, unsigned int flags)
681 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*ifm), flags);
762 if (dn_nl_fill_ifaddr(skb, ifa, NETLINK_CB(cb->skb).portid,
675 dn_nl_fill_ifaddr(struct sk_buff *skb, struct dn_ifaddr *ifa, u32 portid, u32 seq, int event, unsigned int flags) argument
H A Ddn_route.c1546 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,
H A Ddn_table.c297 static int dn_fib_dump_info(struct sk_buff *skb, u32 portid, u32 seq, int event, argument
304 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*rtm), flags);
380 u32 portid = req ? req->portid : 0; local
387 err = dn_fib_dump_info(skb, portid, nlh->nlmsg_seq, event, tb_id,
396 rtnl_notify(skb, &init_net, portid, RTNLGRP_DECnet_ROUTE, nlh, GFP_KERNEL);
417 if (dn_fib_dump_info(skb, NETLINK_CB(cb->skb).portid,
/net/ieee802154/
H A Dnl-mac.c249 static int ieee802154_nl_fill_iface(struct sk_buff *msg, u32 portid, argument
583 if (ieee802154_nl_fill_iface(skb, NETLINK_CB(cb->skb).portid,
H A Dnl-phy.c38 static int ieee802154_nl_fill_phy(struct sk_buff *msg, u32 portid, argument
141 NETLINK_CB(data->cb->skb).portid,
/net/ipv4/
H A Ddevinet.c317 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 Dfib_frontend.c560 cfg->fc_nlinfo.portid = NETLINK_CB(skb).portid;
957 u32 portid; local
975 portid = NETLINK_CB(skb).portid; /* netlink portid */
976 NETLINK_CB(skb).portid = 0; /* from kernel */
978 netlink_unicast(net->ipv4.fibnl, skb, portid, MSG_DONTWAIT);
H A Dfib_semantics.c393 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 Dinet_diag.c77 u32 portid, u32 seq, u16 nlmsg_flags,
91 nlh = nlmsg_put(skb, portid, seq, unlh->nlmsg_type, sizeof(*r),
213 u32 portid, u32 seq, u16 nlmsg_flags,
217 skb, req, user_ns, portid, seq, nlmsg_flags, unlh);
222 u32 portid, u32 seq, u16 nlmsg_flags,
229 nlh = nlmsg_put(skb, portid, seq, unlh->nlmsg_type, sizeof(*r),
272 u32 portid, u32 seq, u16 nlmsg_flags,
277 skb, r, portid, seq, nlmsg_flags,
279 return inet_csk_diag_fill(sk, skb, r, user_ns, portid, seq, nlmsg_flags, unlh);
328 NETLINK_CB(in_skb).portid,
74 inet_sk_diag_fill(struct sock *sk, struct inet_connection_sock *icsk, struct sk_buff *skb, struct inet_diag_req_v2 *req, struct user_namespace *user_ns, u32 portid, u32 seq, u16 nlmsg_flags, const struct nlmsghdr *unlh) argument
210 inet_csk_diag_fill(struct sock *sk, struct sk_buff *skb, struct inet_diag_req_v2 *req, struct user_namespace *user_ns, u32 portid, u32 seq, u16 nlmsg_flags, const struct nlmsghdr *unlh) argument
220 inet_twsk_diag_fill(struct inet_timewait_sock *tw, struct sk_buff *skb, struct inet_diag_req_v2 *req, u32 portid, u32 seq, u16 nlmsg_flags, const struct nlmsghdr *unlh) argument
269 sk_diag_fill(struct sock *sk, struct sk_buff *skb, struct inet_diag_req_v2 *r, struct user_namespace *user_ns, u32 portid, u32 seq, u16 nlmsg_flags, const struct nlmsghdr *unlh) argument
703 inet_diag_fill_req(struct sk_buff *skb, struct sock *sk, struct request_sock *req, struct user_namespace *user_ns, u32 portid, u32 seq, const struct nlmsghdr *unlh) argument
[all...]
H A Dipmr.c635 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 Droute.c2219 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/ipv6/
H A Daddrconf.c486 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...]
H A Daddrlabel.c480 u32 portid, u32 seq, int event,
483 struct nlmsghdr *nlh = nlmsg_put(skb, portid, seq, event,
512 NETLINK_CB(cb->skb).portid,
579 NETLINK_CB(in_skb).portid, nlh->nlmsg_seq,
590 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid);
477 ip6addrlbl_fill(struct sk_buff *skb, struct ip6addrlbl_entry *p, u32 lseq, u32 portid, u32 seq, int event, unsigned int flags) argument
H A Dip6mr.c848 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 Droute.c1840 .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...]
/net/l2tp/
H A Dl2tp_netlink.c239 static int l2tp_nl_tunnel_send(struct sk_buff *skb, u32 portid, u32 seq, int flags, argument
250 hdr = genlmsg_put(skb, portid, seq, &l2tp_nl_family, flags,
380 if (l2tp_nl_tunnel_send(skb, NETLINK_CB(cb->skb).portid,
600 static int l2tp_nl_session_send(struct sk_buff *skb, u32 portid, u32 seq, int flags, argument
610 hdr = genlmsg_put(skb, portid, seq, &l2tp_nl_family, flags, L2TP_CMD_SESSION_GET);
730 if (l2tp_nl_session_send(skb, NETLINK_CB(cb->skb).portid,
/net/netfilter/ipset/
H A Dip_set_core.c634 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 Dnf_conntrack_core.c1264 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 Dnf_conntrack_expect.c44 u32 portid, int report)
58 nf_ct_expect_event_report(IPEXP_DESTROY, exp, portid, report);
416 u32 portid, int report)
429 nf_ct_expect_event_report(IPEXP_NEW, expect, portid, report);
43 nf_ct_unlink_expect_report(struct nf_conntrack_expect *exp, u32 portid, int report) argument
415 nf_ct_expect_related_report(struct nf_conntrack_expect *expect, u32 portid, int report) argument
H A Dnf_conntrack_netlink.c456 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...]
H A Dnfnetlink.c122 int nfnetlink_send(struct sk_buff *skb, struct net *net, u32 portid, argument
125 return nlmsg_notify(net->nfnl, skb, portid, group, echo, flags);
129 int nfnetlink_set_err(struct net *net, u32 portid, u32 group, int error) argument
131 return netlink_set_err(net->nfnl, portid, group, error);
135 int nfnetlink_unicast(struct sk_buff *skb, struct net *net, u32 portid, argument
138 return netlink_unicast(net->nfnl, skb, portid, flags);
H A Dnfnetlink_acct.c96 nfnl_acct_fill_info(struct sk_buff *skb, u32 portid, u32 seq, u32 type, argument
101 unsigned int flags = portid ? NLM_F_MULTI : 0;
105 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nfmsg), flags);
158 if (nfnl_acct_fill_info(skb, NETLINK_CB(cb->skb).portid,
203 ret = nfnl_acct_fill_info(skb2, NETLINK_CB(skb).portid,
211 ret = netlink_unicast(nfnl, skb2, NETLINK_CB(skb).portid,

Completed in 853 milliseconds

12