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

12

/net/ieee802154/
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,
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,
/net/netlink/
H A Ddiag.c58 u32 portid, u32 seq, u32 flags, int sk_ino)
64 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep),
76 rep->ndiag_portid = nlk->portid;
122 NETLINK_CB(cb->skb).portid,
145 NETLINK_CB(cb->skb).portid,
56 sk_diag_fill(struct sock *sk, struct sk_buff *skb, struct netlink_diag_req *req, u32 portid, u32 seq, u32 flags, int sk_ino) argument
H A Daf_netlink.h26 u32 portid; member in struct:netlink_sock
H A Dgenetlink.c519 * @portid: netlink portid the message is addressed to
527 void *genlmsg_put(struct sk_buff *skb, u32 portid, u32 seq, argument
533 nlh = nlmsg_put(skb, portid, seq, family->id, GENL_HDRLEN +
605 info.snd_portid = NETLINK_CB(skb).portid;
670 static int ctrl_fill_info(struct genl_family *family, u32 portid, u32 seq, argument
675 hdr = genlmsg_put(skb, portid, seq, &genl_ctrl, flags, cmd);
745 static int ctrl_fill_mcgrp_info(struct genl_multicast_group *grp, u32 portid, argument
753 hdr = genlmsg_put(skb, portid, seq, &genl_ctrl, flags, cmd);
800 if (ctrl_fill_info(rt, NETLINK_CB(cb->skb).portid,
816 ctrl_build_family_msg(struct genl_family *family, u32 portid, int seq, u8 cmd) argument
835 ctrl_build_mcgrp_msg(struct genl_multicast_group *grp, u32 portid, int seq, u8 cmd) argument
1014 genlmsg_mcast(struct sk_buff *skb, u32 portid, unsigned long group, gfp_t flags) argument
1043 genlmsg_multicast_allns(struct sk_buff *skb, u32 portid, unsigned int group, gfp_t flags) argument
1050 genl_notify(struct sk_buff *skb, struct net *net, u32 portid, u32 group, struct nlmsghdr *nlh, gfp_t flags) argument
[all...]
/net/openvswitch/
H A Ddatapath.h111 u32 portid; member in struct:dp_upcall_info
/net/packet/
H A Ddiag.c131 u32 portid, u32 seq, u32 flags, int sk_ino)
137 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rp), flags);
203 NETLINK_CB(cb->skb).portid,
128 sk_diag_fill(struct sock *sk, struct sk_buff *skb, struct packet_diag_req *req, struct user_namespace *user_ns, u32 portid, u32 seq, u32 flags, int sk_ino) argument
/net/phonet/
H A Dpn_netlink.c36 u32 portid, u32 seq, int event);
107 u32 portid, u32 seq, int event)
112 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*ifm), 0);
154 NETLINK_CB(cb->skb).portid,
171 u32 portid, u32 seq, int event)
176 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*rtm), 0);
285 if (fill_route(skb, dev, addr << 2, NETLINK_CB(cb->skb).portid,
106 fill_addr(struct sk_buff *skb, struct net_device *dev, u8 addr, u32 portid, u32 seq, int event) argument
170 fill_route(struct sk_buff *skb, struct net_device *dev, u8 dst, u32 portid, u32 seq, int event) argument
/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/
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,
H A Dnfnetlink_cthelper.c400 nfnl_cthelper_fill_info(struct sk_buff *skb, u32 portid, u32 seq, u32 type, argument
405 unsigned int flags = portid ? NLM_F_MULTI : 0;
409 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nfmsg), flags);
472 NETLINK_CB(cb->skb).portid,
541 ret = nfnl_cthelper_fill_info(skb2, NETLINK_CB(skb).portid,
550 ret = netlink_unicast(nfnl, skb2, NETLINK_CB(skb).portid,
H A Dnfnetlink_cttimeout.c159 ctnl_timeout_fill_info(struct sk_buff *skb, u32 portid, u32 seq, u32 type, argument
164 unsigned int flags = portid ? NLM_F_MULTI : 0;
168 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nfmsg), flags);
229 if (ctnl_timeout_fill_info(skb, NETLINK_CB(cb->skb).portid,
275 ret = ctnl_timeout_fill_info(skb2, NETLINK_CB(skb).portid,
283 ret = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).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
/net/sched/
H A Dcls_api.c348 unsigned long fh, u32 portid, u32 seq, u16 flags, int event)
354 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags);
386 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; local
392 if (tcf_fill_node(skb, tp, fh, portid, n->nlmsg_seq, 0, event) <= 0) {
397 return rtnetlink_send(skb, net, portid, RTNLGRP_TC,
412 return tcf_fill_node(a->skb, tp, n, NETLINK_CB(a->cb->skb).portid,
470 if (tcf_fill_node(skb, tp, 0, NETLINK_CB(cb->skb).portid,
347 tcf_fill_node(struct sk_buff *skb, struct tcf_proto *tp, unsigned long fh, u32 portid, u32 seq, u16 flags, int event) argument
H A Dact_api.c649 tca_get_fill(struct sk_buff *skb, struct tc_action *a, u32 portid, u32 seq, argument
657 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*t), flags);
683 act_get_notify(struct net *net, u32 portid, struct nlmsghdr *n, argument
691 if (tca_get_fill(skb, a, portid, n->nlmsg_seq, 0, event, 0, 0) <= 0) {
696 return rtnl_unicast(skb, net, portid);
700 tcf_action_get_1(struct nlattr *nla, struct nlmsghdr *n, u32 portid) argument
767 struct nlmsghdr *n, u32 portid)
804 nlh = nlmsg_put(skb, portid, n->nlmsg_seq, RTM_DELACTION, sizeof(*t), 0);
828 err = rtnetlink_send(skb, net, portid, RTNLGRP_TC,
846 u32 portid, in
766 tca_action_flush(struct net *net, struct nlattr *nla, struct nlmsghdr *n, u32 portid) argument
845 tca_action_gd(struct net *net, struct nlattr *nla, struct nlmsghdr *n, u32 portid, int event) argument
909 tcf_add_notify(struct net *net, struct tc_action *a, u32 portid, u32 seq, int event, u16 flags) argument
957 tcf_action_add(struct net *net, struct nlattr *nla, struct nlmsghdr *n, u32 portid, int ovr) argument
989 u32 portid = skb ? NETLINK_CB(skb).portid : 0; local
[all...]
/net/unix/
H A Ddiag.c113 u32 portid, u32 seq, u32 flags, int sk_ino)
118 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep),
165 u32 portid, u32 seq, u32 flags)
176 return sk_diag_fill(sk, skb, req, portid, seq, flags, sk_ino);
205 NETLINK_CB(cb->skb).portid,
270 err = sk_diag_fill(sk, rep, req, NETLINK_CB(in_skb).portid,
280 err = netlink_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid,
112 sk_diag_fill(struct sock *sk, struct sk_buff *skb, struct unix_diag_req *req, u32 portid, u32 seq, u32 flags, int sk_ino) argument
164 sk_diag_dump(struct sock *sk, struct sk_buff *skb, struct unix_diag_req *req, u32 portid, u32 seq, u32 flags) argument
/net/ipv6/
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
/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/ipv4/
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 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);
/net/nfc/
H A Dnetlink.c71 hdr = genlmsg_put(msg, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq,
428 u32 portid, u32 seq,
434 hdr = genlmsg_put(msg, portid, seq, &nfc_genl_family, flags,
484 rc = nfc_genl_send_device(skb, dev, NETLINK_CB(cb->skb).portid,
800 u32 portid, u32 seq)
804 hdr = genlmsg_put(msg, portid, seq, &nfc_genl_family, 0,
1092 int portid; member in struct:urelease_work
1101 pr_debug("portid %d\n", w->portid);
1111 if (dev->genl_data.poll_req_portid == w->portid) {
427 nfc_genl_send_device(struct sk_buff *msg, struct nfc_dev *dev, u32 portid, u32 seq, struct netlink_callback *cb, int flags) argument
798 nfc_genl_send_params(struct sk_buff *msg, struct nfc_llcp_local *local, u32 portid, u32 seq) argument
[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_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,

Completed in 287 milliseconds

12