/net/netfilter/ |
H A D | nfnetlink_queue_ct.c | 101 u32 portid, u32 report) 112 return nfq_ct->attach_expect(attr, ct, portid, report); 100 nfqnl_attach_expect(struct nf_conn *ct, const struct nlattr *attr, u32 portid, u32 report) argument
|
H A D | nfnetlink_acct.c | 132 nfnl_acct_fill_info(struct sk_buff *skb, u32 portid, u32 seq, u32 type, argument 137 unsigned int flags = portid ? NLM_F_MULTI : 0; 142 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nfmsg), flags); 210 if (nfnl_acct_fill_info(skb, NETLINK_CB(cb->skb).portid, 298 ret = nfnl_acct_fill_info(skb2, NETLINK_CB(skb).portid, 306 ret = netlink_unicast(nfnl, skb2, NETLINK_CB(skb).portid,
|
H A D | nfnetlink_cthelper.c | 408 nfnl_cthelper_fill_info(struct sk_buff *skb, u32 portid, u32 seq, u32 type, argument 413 unsigned int flags = portid ? NLM_F_MULTI : 0; 417 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nfmsg), flags); 480 NETLINK_CB(cb->skb).portid, 549 ret = nfnl_cthelper_fill_info(skb2, NETLINK_CB(skb).portid, 558 ret = netlink_unicast(nfnl, skb2, NETLINK_CB(skb).portid,
|
H A D | nfnetlink_cttimeout.c | 159 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, 385 cttimeout_default_fill_info(struct net *net, struct sk_buff *skb, u32 portid, argument 391 unsigned int flags = portid ? NLM_F_MULTI : 0; 394 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nfmsg), flags); 463 ret = cttimeout_default_fill_info(net, skb2, NETLINK_CB(skb).portid, [all...] |
H A D | nfnetlink.c | 132 int nfnetlink_send(struct sk_buff *skb, struct net *net, u32 portid, argument 135 return nlmsg_notify(net->nfnl, skb, portid, group, echo, flags); 139 int nfnetlink_set_err(struct net *net, u32 portid, u32 group, int error) argument 141 return netlink_set_err(net->nfnl, portid, group, error); 145 int nfnetlink_unicast(struct sk_buff *skb, struct net *net, u32 portid, argument 148 return netlink_unicast(net->nfnl, skb, portid, flags);
|
H A D | nf_conntrack_expect.c | 44 u32 portid, int report) 58 nf_ct_expect_event_report(IPEXP_DESTROY, exp, portid, report); 438 u32 portid, int report) 451 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 437 nf_ct_expect_related_report(struct nf_conntrack_expect *expect, u32 portid, int report) argument
|
H A D | nft_compat.c | 432 nfnl_compat_fill_info(struct sk_buff *skb, u32 portid, u32 seq, u32 type, argument 438 unsigned int flags = portid ? NLM_F_MULTI : 0; 441 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nfmsg), flags); 511 if (nfnl_compat_fill_info(skb2, NETLINK_CB(skb).portid, 521 ret = netlink_unicast(nfnl, skb2, NETLINK_CB(skb).portid,
|
/net/ieee802154/ |
H A D | nl-phy.c | 38 static int ieee802154_nl_fill_phy(struct sk_buff *msg, u32 portid, argument 140 NETLINK_CB(data->cb->skb).portid,
|
/net/netlink/ |
H A D | diag.c | 59 u32 portid, u32 seq, u32 flags, int sk_ino) 65 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep), 77 rep->ndiag_portid = nlk->portid; 127 NETLINK_CB(cb->skb).portid, 150 NETLINK_CB(cb->skb).portid, 57 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 D | af_netlink.h | 27 u32 portid; member in struct:netlink_sock
|
H A D | genetlink.c | 482 * @portid: netlink portid the message is addressed to 490 void *genlmsg_put(struct sk_buff *skb, u32 portid, u32 seq, argument 496 nlh = nlmsg_put(skb, portid, seq, family->id, GENL_HDRLEN + 614 info.snd_portid = NETLINK_CB(skb).portid; 680 static int ctrl_fill_info(struct genl_family *family, u32 portid, u32 seq, argument 685 hdr = genlmsg_put(skb, portid, seq, &genl_ctrl, flags, cmd); 768 int grp_id, u32 portid, u32 seq, u32 flags, 775 hdr = genlmsg_put(skb, portid, seq, &genl_ctrl, flags, cmd); 822 if (ctrl_fill_info(rt, NETLINK_CB(cb->skb).portid, 766 ctrl_fill_mcgrp_info(struct genl_family *family, const struct genl_multicast_group *grp, int grp_id, u32 portid, u32 seq, u32 flags, struct sk_buff *skb, u8 cmd) argument 838 ctrl_build_family_msg(struct genl_family *family, u32 portid, int seq, u8 cmd) argument 858 ctrl_build_mcgrp_msg(struct genl_family *family, const struct genl_multicast_group *grp, int grp_id, u32 portid, int seq, u8 cmd) argument 1040 genlmsg_mcast(struct sk_buff *skb, u32 portid, unsigned long group, gfp_t flags) argument 1069 genlmsg_multicast_allns(struct genl_family *family, struct sk_buff *skb, u32 portid, unsigned int group, gfp_t flags) argument 1079 genl_notify(struct genl_family *family, struct sk_buff *skb, struct net *net, u32 portid, u32 group, struct nlmsghdr *nlh, gfp_t flags) argument [all...] |
/net/phonet/ |
H A D | pn_netlink.c | 36 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 D | l2tp_netlink.c | 246 static int l2tp_nl_tunnel_send(struct sk_buff *skb, u32 portid, u32 seq, int flags, argument 257 hdr = genlmsg_put(skb, portid, seq, &l2tp_nl_family, flags, 386 if (l2tp_nl_tunnel_send(skb, NETLINK_CB(cb->skb).portid, 608 static int l2tp_nl_session_send(struct sk_buff *skb, u32 portid, u32 seq, int flags, argument 618 hdr = genlmsg_put(skb, portid, seq, &l2tp_nl_family, flags, L2TP_CMD_SESSION_GET); 738 if (l2tp_nl_session_send(skb, NETLINK_CB(cb->skb).portid,
|
/net/openvswitch/ |
H A D | datapath.h | 124 u32 portid; member in struct:dp_upcall_info
|
/net/packet/ |
H A D | diag.c | 133 u32 portid, u32 seq, u32 flags, int sk_ino) 139 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rp), flags); 209 NETLINK_CB(cb->skb).portid, 129 sk_diag_fill(struct sock *sk, struct sk_buff *skb, struct packet_diag_req *req, bool may_report_filterinfo, struct user_namespace *user_ns, u32 portid, u32 seq, u32 flags, int sk_ino) argument
|
/net/unix/ |
H A D | diag.c | 113 u32 portid, u32 seq, u32 flags, int sk_ino) 118 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep), 166 u32 portid, u32 seq, u32 flags) 177 return sk_diag_fill(sk, skb, req, portid, seq, flags, sk_ino); 206 NETLINK_CB(cb->skb).portid, 271 err = sk_diag_fill(sk, rep, req, NETLINK_CB(in_skb).portid, 281 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 165 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 D | addrlabel.c | 477 u32 portid, u32 seq, int event, 480 struct nlmsghdr *nlh = nlmsg_put(skb, portid, seq, event, 509 NETLINK_CB(cb->skb).portid, 578 NETLINK_CB(in_skb).portid, nlh->nlmsg_seq, 589 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); 474 ip6addrlbl_fill(struct sk_buff *skb, struct ip6addrlbl_entry *p, u32 lseq, u32 portid, u32 seq, int event, unsigned int flags) argument
|
/net/sched/ |
H A D | cls_api.c | 345 unsigned long fh, u32 portid, u32 seq, u16 flags, int event) 351 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); 383 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; local 389 if (tcf_fill_node(net, skb, tp, fh, portid, n->nlmsg_seq, 0, event) <= 0) { 394 return rtnetlink_send(skb, net, portid, RTNLGRP_TC, 410 return tcf_fill_node(net, a->skb, tp, n, NETLINK_CB(a->cb->skb).portid, 469 if (tcf_fill_node(net, skb, tp, 0, NETLINK_CB(cb->skb).portid, 344 tcf_fill_node(struct net *net, struct sk_buff *skb, struct tcf_proto *tp, unsigned long fh, u32 portid, u32 seq, u16 flags, int event) argument
|
H A D | act_api.c | 641 tca_get_fill(struct sk_buff *skb, struct list_head *actions, u32 portid, u32 seq, argument 649 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*t), flags); 675 act_get_notify(struct net *net, u32 portid, struct nlmsghdr *n, argument 683 if (tca_get_fill(skb, actions, portid, n->nlmsg_seq, 0, event, 0, 0) <= 0) { 688 return rtnl_unicast(skb, net, portid); 706 tcf_action_get_1(struct nlattr *nla, struct nlmsghdr *n, u32 portid) argument 758 struct nlmsghdr *n, u32 portid) 791 nlh = nlmsg_put(skb, portid, n->nlmsg_seq, RTM_DELACTION, sizeof(*t), 0); 814 err = rtnetlink_send(skb, net, portid, RTNLGRP_TC, 831 u32 portid) 757 tca_action_flush(struct net *net, struct nlattr *nla, struct nlmsghdr *n, u32 portid) argument 830 tcf_del_notify(struct net *net, struct nlmsghdr *n, struct list_head *actions, u32 portid) argument 861 tca_action_gd(struct net *net, struct nlattr *nla, struct nlmsghdr *n, u32 portid, int event) argument 904 tcf_add_notify(struct net *net, struct nlmsghdr *n, struct list_head *actions, u32 portid) argument 928 tcf_action_add(struct net *net, struct nlattr *nla, struct nlmsghdr *n, u32 portid, int ovr) argument 951 u32 portid = skb ? NETLINK_CB(skb).portid : 0; local [all...] |
/net/bridge/ |
H A D | br_fdb.c | 601 u32 portid, u32 seq, int type, unsigned int flags) 608 nlh = nlmsg_put(skb, portid, seq, type, sizeof(*ndm), flags); 709 NETLINK_CB(cb->skb).portid, 599 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 D | inet_diag.c | 77 u32 portid, u32 seq, u16 nlmsg_flags, 91 nlh = nlmsg_put(skb, portid, seq, unlh->nlmsg_type, sizeof(*r), 217 u32 portid, u32 seq, u16 nlmsg_flags, 221 skb, req, user_ns, portid, seq, nlmsg_flags, unlh); 226 u32 portid, u32 seq, u16 nlmsg_flags, 233 nlh = nlmsg_put(skb, portid, seq, unlh->nlmsg_type, sizeof(*r), 280 u32 portid, u32 seq, u16 nlmsg_flags, 284 return inet_twsk_diag_fill(inet_twsk(sk), skb, r, portid, seq, 287 return inet_csk_diag_fill(sk, skb, r, user_ns, portid, seq, 337 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 214 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 224 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 277 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 708 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...] |
/net/nfc/ |
H A D | netlink.c | 72 hdr = genlmsg_put(msg, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, 500 u32 portid, u32 seq, 506 hdr = genlmsg_put(msg, portid, seq, &nfc_genl_family, flags, 555 rc = nfc_genl_send_device(skb, dev, NETLINK_CB(cb->skb).portid, 871 u32 portid, u32 seq) 875 hdr = genlmsg_put(msg, portid, seq, &nfc_genl_family, 0, 1204 u32 portid, u32 seq, 1212 hdr = genlmsg_put(msg, portid, seq, &nfc_genl_family, flags, 1263 rc = nfc_genl_send_se(skb, dev, NETLINK_CB(cb->skb).portid, 1463 int portid; member in struct:urelease_work 499 nfc_genl_send_device(struct sk_buff *msg, struct nfc_dev *dev, u32 portid, u32 seq, struct netlink_callback *cb, int flags) argument 869 nfc_genl_send_params(struct sk_buff *msg, struct nfc_llcp_local *local, u32 portid, u32 seq) argument 1203 nfc_genl_send_se(struct sk_buff *msg, struct nfc_dev *dev, u32 portid, u32 seq, struct netlink_callback *cb, int flags) argument [all...] |
/net/dcb/ |
H A D | dcbnl.c | 1335 u32 seq, u32 portid, int dcbx_ver) 1346 skb = dcbnl_newmsg(event, cmd, portid, seq, 0, &nlh); 1369 u32 seq, u32 portid) 1371 return dcbnl_notify(dev, event, cmd, seq, portid, DCB_CAP_DCBX_VER_IEEE); 1376 u32 seq, u32 portid) 1378 return dcbnl_notify(dev, event, cmd, seq, portid, DCB_CAP_DCBX_VER_CEE); 1672 u32 portid = skb ? NETLINK_CB(skb).portid : 0; local 1704 reply_skb = dcbnl_newmsg(fn->type, dcb->cmd, portid, nlh->nlmsg_seq, 1717 ret = rtnl_unicast(reply_skb, net, portid); 1334 dcbnl_notify(struct net_device *dev, int event, int cmd, u32 seq, u32 portid, int dcbx_ver) argument 1368 dcbnl_ieee_notify(struct net_device *dev, int event, int cmd, u32 seq, u32 portid) argument 1375 dcbnl_cee_notify(struct net_device *dev, int event, int cmd, u32 seq, u32 portid) argument [all...] |
/net/decnet/ |
H A D | dn_dev.c | 680 u32 portid, u32 seq, int event, unsigned int flags) 686 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*ifm), flags); 768 if (dn_nl_fill_ifaddr(skb, ifa, NETLINK_CB(cb->skb).portid, 679 dn_nl_fill_ifaddr(struct sk_buff *skb, struct dn_ifaddr *ifa, u32 portid, u32 seq, int event, unsigned int flags) argument
|
H A D | dn_table.c | 297 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,
|