Searched refs:portid (Results 51 - 75 of 235) sorted by relevance

12345678910

/linux-master/arch/sparc/kernel/
H A Dprom_64.c127 prop = of_find_property(dp, "upa-portid", NULL);
129 prop = of_find_property(dp, "portid", NULL);
200 prop = of_find_property(dp, "upa-portid", NULL);
378 return (tlb_type == spitfire ? "upa-portid" : "portid");
388 * property. On everything else we look for a 'upa-portid',
389 * 'portid', or 'cpuid' property.
503 int portid = -1; local
513 portid = of_getintprop_default(portid_parent,
514 "portid",
[all...]
H A Dprom_irqtrans.c375 u32 portid; member in struct:schizo_irq_data
410 if (irq_data->portid & 1)
446 irq_data->portid = of_getintprop_default(dp, "portid", 0);
483 u32 portid; member in struct:fire_irq_data
538 ino |= (irq_data->portid << 6);
557 irq_data->portid = of_getintprop_default(dp, "portid", 0);
/linux-master/include/net/
H A Dnetlink.h472 * @portid: Netlink PORTID of requesting application
479 u32 portid; member in struct:nl_info
521 int nlmsg_notify(struct sock *sk, struct sk_buff *skb, u32 portid,
941 * @portid: netlink PORTID of requesting application
950 static inline struct nlmsghdr *nlmsg_put(struct sk_buff *skb, u32 portid, u32 seq, argument
956 return __nlmsg_put(skb, portid, seq, type, payload, flags);
996 return nlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq,
1093 * @portid: own netlink portid to avoid sending to yourself
1102 u32 portid, unsigne
1101 nlmsg_multicast_filtered(struct sock *sk, struct sk_buff *skb, u32 portid, unsigned int group, gfp_t flags, netlink_filter_fn filter, void *filter_data) argument
1127 nlmsg_multicast(struct sock *sk, struct sk_buff *skb, u32 portid, unsigned int group, gfp_t flags) argument
1140 nlmsg_unicast(struct sock *sk, struct sk_buff *skb, u32 portid) argument
[all...]
/linux-master/net/sctp/
H A Ddiag.c123 int portid, u32 seq, u16 nlmsg_flags,
135 nlh = nlmsg_put(skb, portid, seq, unlh->nlmsg_type, sizeof(*r),
270 NETLINK_CB(skb).portid, commp->nlh->nlmsg_seq, 0,
278 return nlmsg_unicast(sock_net(skb->sk)->diag_nlsk, rep, NETLINK_CB(skb).portid);
313 NETLINK_CB(cb->skb).portid,
324 NETLINK_CB(cb->skb).portid,
391 NETLINK_CB(cb->skb).portid,
119 inet_sctp_diag_fill(struct sock *sk, struct sctp_association *asoc, struct sk_buff *skb, const struct inet_diag_req_v2 *req, struct user_namespace *user_ns, int portid, u32 seq, u16 nlmsg_flags, const struct nlmsghdr *unlh, bool net_admin) argument
/linux-master/net/nfc/
H A Dnetlink.c66 hdr = genlmsg_put(msg, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq,
568 u32 portid, u32 seq,
574 hdr = genlmsg_put(msg, portid, seq, &nfc_genl_family, flags,
620 rc = nfc_genl_send_device(skb, dev, NETLINK_CB(cb->skb).portid,
990 u32 portid, u32 seq)
994 hdr = genlmsg_put(msg, portid, seq, &nfc_genl_family, 0,
1330 u32 portid, u32 seq,
1338 hdr = genlmsg_put(msg, portid, seq, &nfc_genl_family, flags,
1388 rc = nfc_genl_send_se(skb, dev, NETLINK_CB(cb->skb).portid,
1621 static inline void *nfc_hdr_put(struct sk_buff *skb, u32 portid, u3 argument
567 nfc_genl_send_device(struct sk_buff *msg, struct nfc_dev *dev, u32 portid, u32 seq, struct netlink_callback *cb, int flags) argument
988 nfc_genl_send_params(struct sk_buff *msg, struct nfc_llcp_local *local, u32 portid, u32 seq) argument
1329 nfc_genl_send_se(struct sk_buff *msg, struct nfc_dev *dev, u32 portid, u32 seq, struct netlink_callback *cb, int flags) argument
1629 __nfc_alloc_vendor_cmd_skb(struct nfc_dev *dev, int approxlen, u32 portid, u32 seq, enum nfc_attrs attr, u32 oui, u32 subcmd, gfp_t gfp) argument
1832 u32 portid; member in struct:urelease_work
[all...]
/linux-master/net/netlink/
H A Dgenetlink.c883 * @portid: netlink portid the message is addressed to
891 void *genlmsg_put(struct sk_buff *skb, u32 portid, u32 seq, argument
897 nlh = nlmsg_put(skb, portid, seq, family->id, GENL_HDRLEN +
992 info->info.snd_portid = NETLINK_CB(cb->skb).portid;
1098 info.snd_portid = NETLINK_CB(skb).portid;
1227 static int ctrl_fill_info(const struct genl_family *family, u32 portid, u32 seq, argument
1233 hdr = genlmsg_put(skb, portid, seq, &genl_ctrl, flags, cmd);
1312 int grp_id, u32 portid, u32 seq, u32 flags,
1319 hdr = genlmsg_put(skb, portid, se
1310 ctrl_fill_mcgrp_info(const 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
1380 ctrl_build_family_msg(const struct genl_family *family, u32 portid, int seq, u8 cmd) argument
1400 ctrl_build_mcgrp_msg(const struct genl_family *family, const struct genl_multicast_group *grp, int grp_id, u32 portid, int seq, u8 cmd) argument
1930 genlmsg_mcast(struct sk_buff *skb, u32 portid, unsigned long group, gfp_t flags) argument
1967 genlmsg_multicast_allns(const struct genl_family *family, struct sk_buff *skb, u32 portid, unsigned int group, gfp_t flags) argument
[all...]
/linux-master/drivers/infiniband/core/
H A Dnldev.c1074 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq,
1089 return rdma_nl_unicast(sock_net(skb->sk), msg, NETLINK_CB(skb).portid);
1162 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq,
1222 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq,
1237 return rdma_nl_unicast(sock_net(skb->sk), msg, NETLINK_CB(skb).portid);
1284 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid,
1329 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq,
1343 return rdma_nl_unicast(sock_net(skb->sk), msg, NETLINK_CB(skb).portid);
1363 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq,
1497 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nl
[all...]
/linux-master/net/ieee802154/
H A Dnl-mac.c74 static int ieee802154_nl_fill_iface(struct sk_buff *msg, u32 portid, argument
452 if (ieee802154_nl_fill_iface(skb, NETLINK_CB(cb->skb).portid,
764 int portid; member in struct:llsec_dump_data
794 data.portid = NETLINK_CB(cb->skb).portid;
911 ieee802154_nl_fill_key(struct sk_buff *msg, u32 portid, u32 seq, argument
960 if (ieee802154_nl_fill_key(data->skb, data->portid,
1048 ieee802154_nl_fill_dev(struct sk_buff *msg, u32 portid, u32 seq, argument
1091 if (ieee802154_nl_fill_dev(data->skb, data->portid,
1155 ieee802154_nl_fill_devkey(struct sk_buff *msg, u32 portid, u3 argument
1285 ieee802154_nl_fill_seclevel(struct sk_buff *msg, u32 portid, u32 seq, const struct ieee802154_llsec_seclevel *sl, const struct net_device *dev) argument
[all...]
H A Dnl802154.c313 static inline void *nl802154hdr_put(struct sk_buff *skb, u32 portid, u32 seq, argument
317 return genlmsg_put(skb, portid, seq, &nl802154_fam, flags, cmd);
452 struct sk_buff *msg, u32 portid, u32 seq,
459 hdr = nl802154hdr_put(msg, portid, seq, flags, cmd);
633 NETLINK_CB(cb->skb).portid,
789 nl802154_send_iface(struct sk_buff *msg, u32 portid, u32 seq, int flags, argument
796 hdr = nl802154hdr_put(msg, portid, seq, flags,
884 if (nl802154_send_iface(skb, NETLINK_CB(cb->skb).portid,
1301 u32 portid, u32 seq, int flags, u8 cmd,
1307 hdr = nl802154hdr_put(msg, portid, se
450 nl802154_send_wpan_phy(struct cfg802154_registered_device *rdev, enum nl802154_commands cmd, struct sk_buff *msg, u32 portid, u32 seq, int flags) argument
1298 nl802154_prep_scan_event_msg(struct sk_buff *msg, struct cfg802154_registered_device *rdev, struct wpan_dev *wpan_dev, u32 portid, u32 seq, int flags, u8 cmd, struct ieee802154_coord_desc *desc) argument
1472 nl802154_prep_scan_msg(struct sk_buff *msg, struct cfg802154_registered_device *rdev, struct wpan_dev *wpan_dev, u32 portid, u32 seq, int flags, u8 cmd, u8 arg) argument
1968 nl802154_send_key(struct sk_buff *msg, u32 cmd, u32 portid, u32 seq, int flags, struct cfg802154_registered_device *rdev, struct net_device *dev, const struct ieee802154_llsec_key_entry *key) argument
2162 nl802154_send_device(struct sk_buff *msg, u32 cmd, u32 portid, u32 seq, int flags, struct cfg802154_registered_device *rdev, struct net_device *dev, const struct ieee802154_llsec_device *dev_desc) argument
2340 nl802154_send_devkey(struct sk_buff *msg, u32 cmd, u32 portid, u32 seq, int flags, struct cfg802154_registered_device *rdev, struct net_device *dev, __le64 extended_addr, const struct ieee802154_llsec_device_key *devkey) argument
2516 nl802154_send_seclevel(struct sk_buff *msg, u32 cmd, u32 portid, u32 seq, int flags, struct cfg802154_registered_device *rdev, struct net_device *dev, const struct ieee802154_llsec_seclevel *sl) argument
[all...]
/linux-master/net/core/
H A Dnet_namespace.c231 static void rtnl_net_notifyid(struct net *net, int cmd, int id, u32 portid,
820 rtnl_net_notifyid(net, RTM_NEWNSID, err, NETLINK_CB(skb).portid,
842 u32 portid; member in struct:net_fill_args
856 nlh = nlmsg_put(skb, args->portid, args->seq, args->cmd, sizeof(*rth),
922 .portid = NETLINK_CB(skb).portid,
982 err = rtnl_unicast(msg, net, NETLINK_CB(skb).portid);
1072 .portid = NETLINK_CB(cb->skb).portid,
1099 static void rtnl_net_notifyid(struct net *net, int cmd, int id, u32 portid, argument
[all...]
/linux-master/net/netfilter/
H A Dnfnetlink_acct.c142 nfnl_acct_fill_info(struct sk_buff *skb, u32 portid, u32 seq, u32 type, argument
146 unsigned int flags = portid ? NLM_F_MULTI : 0;
151 nlh = nfnl_msg_put(skb, portid, seq, event, flags, AF_UNSPEC,
220 if (nfnl_acct_fill_info(skb, NETLINK_CB(cb->skb).portid,
309 ret = nfnl_acct_fill_info(skb2, NETLINK_CB(skb).portid,
318 ret = nfnetlink_unicast(skb2, info->net, NETLINK_CB(skb).portid);
H A Dnfnetlink_cthelper.c531 nfnl_cthelper_fill_info(struct sk_buff *skb, u32 portid, u32 seq, u32 type, argument
535 unsigned int flags = portid ? NLM_F_MULTI : 0;
539 nlh = nfnl_msg_put(skb, portid, seq, event, flags, AF_UNSPEC,
598 NETLINK_CB(cb->skb).portid,
665 ret = nfnl_cthelper_fill_info(skb2, NETLINK_CB(skb).portid,
674 ret = nfnetlink_unicast(skb2, info->net, NETLINK_CB(skb).portid);
/linux-master/net/ipv4/
H A Ddevinet.c111 u32 portid; member in struct:inet_fill_args
354 int destroy, struct nlmsghdr *nlh, u32 portid)
393 rtmsg_ifa(RTM_DELADDR, ifa, nlh, portid);
431 rtmsg_ifa(RTM_DELADDR, ifa1, nlh, portid);
449 rtmsg_ifa(RTM_NEWADDR, promote, nlh, portid);
477 u32 portid, struct netlink_ext_ack *extack)
555 rtmsg_ifa(RTM_NEWADDR, ifa, nlh, portid);
689 __inet_del_ifa(in_dev, ifap, 1, nlh, NETLINK_CB(skb).portid);
981 return __inet_insert_ifa(ifa, nlh, NETLINK_CB(skb).portid,
1007 rtmsg_ifa(RTM_NEWADDR, ifa, nlh, NETLINK_CB(skb).portid);
352 __inet_del_ifa(struct in_device *in_dev, struct in_ifaddr __rcu **ifap, int destroy, struct nlmsghdr *nlh, u32 portid) argument
476 __inet_insert_ifa(struct in_ifaddr *ifa, struct nlmsghdr *nlh, u32 portid, struct netlink_ext_ack *extack) argument
1909 rtmsg_ifa(int event, struct in_ifaddr *ifa, struct nlmsghdr *nlh, u32 portid) argument
2053 inet_netconf_fill_devconf(struct sk_buff *skb, int ifindex, const struct ipv4_devconf *devconf, u32 portid, u32 seq, int event, unsigned int flags, int type) argument
[all...]
/linux-master/tools/testing/selftests/netfilter/
H A Dnf-queue.c275 unsigned int portid; local
286 portid = mnl_socket_get_portid(nl);
306 ret = mnl_cb_run(buf, ret, 0, portid, queue_cb, NULL);
/linux-master/net/mctp/
H A Dneigh.c209 static int mctp_fill_neigh(struct sk_buff *skb, u32 portid, u32 seq, int event, argument
216 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*hdr), flags);
264 rc = mctp_fill_neigh(skb, NETLINK_CB(cb->skb).portid,
/linux-master/include/linux/
H A Dmroute_base.h293 u32 portid, u32 seq, struct mr_mfc *c,
301 u32 portid, u32 seq, struct mr_mfc *c,
352 u32 portid, u32 seq, struct mr_mfc *c,
347 mr_rtm_dumproute(struct sk_buff *skb, struct netlink_callback *cb, struct mr_table *(*iter)(struct net *net, struct mr_table *mrt), int (*fill)(struct mr_table *mrt, struct sk_buff *skb, u32 portid, u32 seq, struct mr_mfc *c, int cmd, int flags), spinlock_t *lock, struct fib_dump_filter *filter) argument
/linux-master/net/packet/
H A Ddiag.c133 u32 portid, u32 seq, u32 flags, int sk_ino)
139 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rp), flags);
210 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
/linux-master/drivers/staging/gdm724x/
H A Dnetlink_k.c114 NETLINK_CB(skb).portid = 0;
/linux-master/drivers/net/ethernet/netronome/nfp/nfd3/
H A Dxsk.c69 if (likely(!meta->portid)) {
74 netdev = nfp_app_dev_get(nn->app, meta->portid, NULL);
201 if (unlikely(meta.portid)) {
204 if (meta.portid != NFP_META_PORT_ID_CTRL) {
/linux-master/net/tipc/
H A Dgroup.c91 u32 portid; member in struct:tipc_group
159 return grp->portid;
163 struct tipc_group *tipc_group_create(struct net *net, u32 portid, argument
181 grp->portid = portid;
190 if (tipc_topsrv_kern_subscr(net, portid, type, 0, ~0,
689 grp->portid, m->port, 0);
712 m->port, grp->portid, 0);
876 if (!grp->loopback && node == self && port == grp->portid)
/linux-master/net/mpls/
H A Daf_mpls.c75 struct nlmsghdr *nlh, struct net *net, u32 portid,
544 unsigned portid = info ? info->portid : 0; local
550 rtmsg_lfib(event, index, rt, nlh, net, portid, nlm_flags);
1134 u32 portid, u32 seq, int event,
1141 nlh = nlmsg_put(skb, portid, seq, event, sizeof(struct netconfmsg),
1287 NETLINK_CB(in_skb).portid,
1296 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid);
1342 NETLINK_CB(cb->skb).portid,
1872 cfg->rc_nlinfo.portid
1133 mpls_netconf_fill_devconf(struct sk_buff *skb, struct mpls_dev *mdev, u32 portid, u32 seq, int event, unsigned int flags, int type) argument
1989 mpls_dump_route(struct sk_buff *skb, u32 portid, u32 seq, int event, u32 label, struct mpls_route *rt, int flags) argument
2275 rtmsg_lfib(int event, u32 label, struct mpls_route *rt, struct nlmsghdr *nlh, struct net *net, u32 portid, unsigned int nlm_flags) argument
2364 u32 portid = NETLINK_CB(in_skb).portid; local
[all...]
/linux-master/net/devlink/
H A Ddev.c160 enum devlink_command cmd, u32 portid,
166 hdr = genlmsg_put(msg, portid, seq, &devlink_nl_family, flags, cmd);
248 NETLINK_CB(cb->skb).portid,
631 enum devlink_command cmd, u32 portid,
641 hdr = genlmsg_put(msg, portid, seq, &devlink_nl_family, flags, cmd);
873 enum devlink_command cmd, u32 portid,
881 hdr = genlmsg_put(msg, portid, seq, &devlink_nl_family, flags, cmd);
936 NETLINK_CB(cb->skb).portid,
1269 u32 portid, u32 seq, int flags,
1277 hdr = genlmsg_put(msg, portid, se
159 devlink_nl_fill(struct sk_buff *msg, struct devlink *devlink, enum devlink_command cmd, u32 portid, u32 seq, int flags) argument
630 devlink_nl_eswitch_fill(struct sk_buff *msg, struct devlink *devlink, enum devlink_command cmd, u32 portid, u32 seq, int flags) argument
872 devlink_nl_info_fill(struct sk_buff *msg, struct devlink *devlink, enum devlink_command cmd, u32 portid, u32 seq, int flags, struct netlink_ext_ack *extack) argument
1268 devlink_nl_selftests_fill(struct sk_buff *msg, struct devlink *devlink, u32 portid, u32 seq, int flags, struct netlink_ext_ack *extack) argument
[all...]
/linux-master/drivers/vdpa/
H A Dvdpa.c487 u32 portid, u32 seq, int flags)
492 hdr = genlmsg_put(msg, portid, seq, &vdpa_nl_family, flags, VDPA_CMD_MGMTDEV_NEW);
569 err = vdpa_mgmtdev_fill(mdev, msg, NETLINK_CB(cb->skb).portid,
739 vdpa_dev_fill(struct vdpa_device *vdev, struct sk_buff *msg, u32 portid, u32 seq, argument
749 hdr = genlmsg_put(msg, portid, seq, &vdpa_nl_family, flags, VDPA_CMD_DEV_NEW);
848 err = vdpa_dev_fill(vdev, info->msg, NETLINK_CB(info->cb->skb).portid,
1157 vdpa_dev_config_fill(struct vdpa_device *vdev, struct sk_buff *msg, u32 portid, u32 seq, argument
1167 hdr = genlmsg_put(msg, portid, seq, &vdpa_nl_family, flags,
1279 u32 portid = info->snd_portid; local
1283 hdr = genlmsg_put(msg, portid, se
486 vdpa_mgmtdev_fill(const struct vdpa_mgmt_dev *mdev, struct sk_buff *msg, u32 portid, u32 seq, int flags) argument
[all...]
/linux-master/net/l2tp/
H A Dl2tp_netlink.c37 static int l2tp_nl_tunnel_send(struct sk_buff *skb, u32 portid, u32 seq,
39 static int l2tp_nl_session_send(struct sk_buff *skb, u32 portid, u32 seq,
384 static int l2tp_nl_tunnel_send(struct sk_buff *skb, u32 portid, u32 seq, int flags, argument
390 hdr = genlmsg_put(skb, portid, seq, &l2tp_nl_family, flags, cmd);
504 if (l2tp_nl_tunnel_send(skb, NETLINK_CB(cb->skb).portid,
712 static int l2tp_nl_session_send(struct sk_buff *skb, u32 portid, u32 seq, int flags, argument
719 hdr = genlmsg_put(skb, portid, seq, &l2tp_nl_family, flags, cmd);
853 if (l2tp_nl_session_send(skb, NETLINK_CB(cb->skb).portid,
/linux-master/net/batman-adv/
H A Dbridge_loop_avoidance.c2121 * @portid: netlink port
2129 batadv_bla_claim_dump_entry(struct sk_buff *msg, u32 portid, argument
2140 hdr = genlmsg_put(msg, portid, cb->nlh->nlmsg_seq,
2184 * @portid: netlink port
2194 batadv_bla_claim_dump_bucket(struct sk_buff *msg, u32 portid, argument
2211 ret = batadv_bla_claim_dump_entry(msg, portid, cb,
2235 int portid = NETLINK_CB(cb->skb).portid; local
2266 if (batadv_bla_claim_dump_bucket(msg, portid, cb, primary_if,
2289 * @portid
2297 batadv_bla_backbone_dump_entry(struct sk_buff *msg, u32 portid, struct netlink_callback *cb, struct batadv_hard_iface *primary_if, struct batadv_bla_backbone_gw *backbone_gw) argument
2364 batadv_bla_backbone_dump_bucket(struct sk_buff *msg, u32 portid, struct netlink_callback *cb, struct batadv_hard_iface *primary_if, struct batadv_hashtable *hash, unsigned int bucket, int *idx_skip) argument
2405 int portid = NETLINK_CB(cb->skb).portid; local
[all...]

Completed in 531 milliseconds

12345678910