Searched refs:portid (Results 1 - 25 of 235) sorted by relevance

12345678910

/linux-master/include/net/netfilter/
H A Dnf_conntrack_ecache.h26 u32 portid; /* netlink portid of destroyer */ member in struct:nf_conntrack_ecache
53 u32 portid; member in struct:nf_ct_event
59 u32 portid; member in struct:nf_exp_event
74 u32 portid, int report);
85 u32 portid,
117 u32 portid, int report)
121 return nf_conntrack_eventmask_report(1 << event, ct, portid, report);
139 u32 portid, int report);
156 u32 portid,
83 nf_conntrack_eventmask_report(unsigned int eventmask, struct nf_conn *ct, u32 portid, int report) argument
116 nf_conntrack_event_report(enum ip_conntrack_events event, struct nf_conn *ct, u32 portid, int report) argument
154 nf_ct_expect_event_report(enum ip_conntrack_expect_events e, struct nf_conntrack_expect *exp, u32 portid, int report) argument
[all...]
H A Dnf_conntrack_expect.h106 u32 portid, int report);
119 void *data, u32 portid, int report);
130 u32 portid, int report, unsigned int flags);
/linux-master/include/linux/netfilter/
H A Dnfnetlink.h55 int nfnetlink_send(struct sk_buff *skb, struct net *net, u32 portid,
57 int nfnetlink_set_err(struct net *net, u32 portid, u32 group, int error);
58 int nfnetlink_unicast(struct sk_buff *skb, struct net *net, u32 portid);
59 void nfnetlink_broadcast(struct net *net, struct sk_buff *skb, __u32 portid,
78 static inline struct nlmsghdr *nfnl_msg_put(struct sk_buff *skb, u32 portid, argument
85 nlh = nlmsg_put(skb, portid, seq, type, sizeof(struct nfgenmsg), flags);
/linux-master/net/tipc/
H A Dnetlink.h44 u32 portid; member in struct:tipc_nl_msg
H A Dnet.c172 hdr = genlmsg_put(msg->skb, msg->portid, msg->seq, &tipc_genl_family,
211 msg.portid = NETLINK_CB(cb->skb).portid;
297 hdr = genlmsg_put(msg->skb, msg->portid, msg->seq, &tipc_genl_family,
335 msg.portid = info->snd_portid;
/linux-master/net/batman-adv/
H A Dbat_algo.c153 * @portid: Port to reply to
159 static int batadv_algo_dump_entry(struct sk_buff *msg, u32 portid, u32 seq, argument
164 hdr = genlmsg_put(msg, portid, seq, &batadv_netlink_family,
190 int portid = NETLINK_CB(cb->skb).portid; local
199 if (batadv_algo_dump_entry(msg, portid, cb->nlh->nlmsg_seq,
H A Dbat_v.c123 * @portid: Port making netlink request
130 batadv_v_neigh_dump_neigh(struct sk_buff *msg, u32 portid, u32 seq, argument
141 hdr = genlmsg_put(msg, portid, seq, &batadv_netlink_family, NLM_F_MULTI,
169 * @portid: Port making netlink request
180 batadv_v_neigh_dump_hardif(struct sk_buff *msg, u32 portid, u32 seq, argument
193 if (batadv_v_neigh_dump_neigh(msg, portid, seq, hardif_neigh)) {
220 int portid = NETLINK_CB(cb->skb).portid; local
225 if (batadv_v_neigh_dump_hardif(msg, portid,
239 if (batadv_v_neigh_dump_hardif(msg, portid,
268 batadv_v_orig_dump_subentry(struct sk_buff *msg, u32 portid, u32 seq, struct batadv_priv *bat_priv, struct batadv_hard_iface *if_outgoing, struct batadv_orig_node *orig_node, struct batadv_neigh_node *neigh_node, bool best) argument
337 batadv_v_orig_dump_entry(struct sk_buff *msg, u32 portid, u32 seq, struct batadv_priv *bat_priv, struct batadv_hard_iface *if_outgoing, struct batadv_orig_node *orig_node, int *sub_s) argument
388 batadv_v_orig_dump_bucket(struct sk_buff *msg, u32 portid, u32 seq, struct batadv_priv *bat_priv, struct batadv_hard_iface *if_outgoing, struct hlist_head *head, int *idx_s, int *sub) argument
432 int portid = NETLINK_CB(cb->skb).portid; local
657 batadv_v_gw_dump_entry(struct sk_buff *msg, u32 portid, struct netlink_callback *cb, struct batadv_priv *bat_priv, struct batadv_gw_node *gw_node) argument
756 int portid = NETLINK_CB(cb->skb).portid; local
[all...]
/linux-master/net/netfilter/
H A Dnf_conntrack_ecache.c166 u32 portid, int report)
183 item.portid = e->portid ? e->portid : portid;
187 missed = e->portid ? 0 : e->missed;
194 if (e->portid == 0 && portid != 0)
195 e->portid = portid;
165 nf_conntrack_eventmask_report(unsigned int events, struct nf_conn *ct, u32 portid, int report) argument
231 nf_ct_expect_event_report(enum ip_conntrack_expect_events event, struct nf_conntrack_expect *exp, u32 portid, int report) argument
[all...]
/linux-master/arch/sparc/kernel/
H A Dsbus.c279 int reported, portid; local
294 portid = of_getintprop_default(op->dev.of_node, "portid", -1);
298 portid,
306 portid,
310 printk("SYSIO[%x]: AFAR[%016lx]\n", portid, afar);
311 printk("SYSIO[%x]: Secondary UE errors [", portid);
353 int reported, portid; local
368 portid = of_getintprop_default(op->dev.of_node, "portid",
431 int reported, portid; local
501 int portid; local
548 int i, portid; local
[all...]
/linux-master/drivers/fpga/
H A Ddfl-fme-perf.c170 int (*event_init)(struct fme_perf_priv *priv, u32 event, u32 portid);
172 u32 portid);
173 u64 (*read_counter)(struct fme_perf_priv *priv, u32 event, u32 portid);
219 PMU_FORMAT_ATTR(portid, "config:16-23");
254 static bool is_portid_root(u32 portid) argument
256 return portid == FME_PORTID_ROOT;
259 static bool is_portid_port(u32 portid) argument
261 return portid < PERF_MAX_PORT_NUM;
264 static bool is_portid_root_or_port(u32 portid) argument
266 return is_portid_root(portid) || is_portid_por
288 basic_event_init(struct fme_perf_priv *priv, u32 event, u32 portid) argument
296 basic_read_event_counter(struct fme_perf_priv *priv, u32 event, u32 portid) argument
304 cache_event_init(struct fme_perf_priv *priv, u32 event, u32 portid) argument
313 cache_read_event_counter(struct fme_perf_priv *priv, u32 event, u32 portid) argument
349 is_fabric_event_supported(struct fme_perf_priv *priv, u32 event, u32 portid) argument
363 fabric_event_init(struct fme_perf_priv *priv, u32 event, u32 portid) argument
414 fabric_event_destroy(struct fme_perf_priv *priv, u32 event, u32 portid) argument
422 fabric_read_event_counter(struct fme_perf_priv *priv, u32 event, u32 portid) argument
444 vtd_event_init(struct fme_perf_priv *priv, u32 event, u32 portid) argument
453 vtd_read_event_counter(struct fme_perf_priv *priv, u32 event, u32 portid) argument
477 vtd_sip_event_init(struct fme_perf_priv *priv, u32 event, u32 portid) argument
486 vtd_sip_read_event_counter(struct fme_perf_priv *priv, u32 event, u32 portid) argument
800 u32 eventid, evtype, portid; local
[all...]
/linux-master/include/net/
H A Dgenetlink.h113 * @snd_portid: netlink portid of sender
324 void *genlmsg_put(struct sk_buff *skb, u32 portid, u32 seq,
465 * @portid: own netlink portid to avoid sending to yourself
476 u32 portid, unsigned int group, gfp_t flags,
483 return nlmsg_multicast_filtered(net->genl_sock, skb, portid, group,
492 * @portid: own netlink portid to avoid sending to yourself
498 u32 portid, unsigned int group, gfp_t flags)
500 return genlmsg_multicast_netns_filtered(family, net, skb, portid,
474 genlmsg_multicast_netns_filtered(const struct genl_family *family, struct net *net, struct sk_buff *skb, u32 portid, unsigned int group, gfp_t flags, netlink_filter_fn filter, void *filter_data) argument
496 genlmsg_multicast_netns(const struct genl_family *family, struct net *net, struct sk_buff *skb, u32 portid, unsigned int group, gfp_t flags) argument
512 genlmsg_multicast(const struct genl_family *family, struct sk_buff *skb, u32 portid, unsigned int group, gfp_t flags) argument
540 genlmsg_unicast(struct net *net, struct sk_buff *skb, u32 portid) argument
615 genl_set_err(const struct genl_family *family, struct net *net, u32 portid, u32 group, int code) argument
[all...]
/linux-master/include/linux/
H A Dconnector.h82 * @portid: destination port.
86 * If @portid and @group is zero, then appropriate group will
101 int cn_netlink_send_mult(struct cn_msg *msg, u16 len, u32 portid,
110 * @portid: destination port.
114 * If @portid and @group is zero, then appropriate group will
127 int cn_netlink_send(struct cn_msg *msg, u32 portid, u32 group, gfp_t gfp_mask);
H A Dnetlink.h27 __u32 portid; member in struct:netlink_skb_parms
228 int netlink_unicast(struct sock *ssk, struct sk_buff *skb, __u32 portid, int nonblock);
229 int netlink_broadcast(struct sock *ssk, struct sk_buff *skb, __u32 portid,
235 __u32 portid, __u32 group, gfp_t allocation,
238 int netlink_set_err(struct sock *ssk, __u32 portid, __u32 group, int code);
312 u32 portid; member in struct:netlink_notify
317 __nlmsg_put(struct sk_buff *skb, u32 portid, u32 seq, int type, int len, int flags);
/linux-master/net/wireless/
H A Dreg.h43 * @portid: the netlink port ID on which the hint was given.
45 int regulatory_hint_indoor(bool is_indoor, u32 portid);
49 * @portid: the netlink socket port ID
51 void regulatory_netlink_notify(u32 portid);
/linux-master/drivers/connector/
H A Dconnector.c58 * The message is sent to, the portid if given, the group if given, both if
61 int cn_netlink_send_mult(struct cn_msg *msg, u16 len, u32 portid, u32 __group, argument
74 if (portid || __group) {
92 if (!portid && !netlink_has_listeners(dev->nls, group))
114 return netlink_broadcast_filtered(dev->nls, skb, portid, group,
117 return netlink_unicast(dev->nls, skb, portid,
123 int cn_netlink_send(struct cn_msg *msg, u32 portid, u32 __group, argument
126 return cn_netlink_send_mult(msg, msg->len, portid, __group, gfp_mask,
/linux-master/drivers/scsi/csiostor/
H A Dcsio_lnode.c108 * csio_ln_match_by_portid - lookup lnode using given portid.
110 * @portid: port-id.
112 * If found, returns lnode matching given portid otherwise returns NULL.
115 csio_ln_lookup_by_portid(struct csio_hw *hw, uint8_t portid) argument
120 /* Match siblings lnode with portid */
123 if (ln->portid == portid)
352 if (hw->pport[ln->portid].link_speed == FW_PORT_CAP_SPEED_1G)
354 else if (hw->pport[ln->portid].link_speed == FW_PORT_CAP_SPEED_10G)
356 else if (hw->pport[ln->portid]
723 uint8_t portid; local
873 csio_handle_link_up(struct csio_hw *hw, uint8_t portid, uint32_t fcfi, uint32_t vnpi) argument
1035 csio_handle_link_down(struct csio_hw *hw, uint8_t portid, uint32_t fcfi, uint32_t vnpi) argument
1386 csio_get_phy_port_stats(struct csio_hw *hw, uint8_t portid, struct fw_fcoe_port_stats *port_stats) argument
1487 uint8_t portid, opcode = *(uint8_t *)cmd; local
1965 csio_disable_lnodes(struct csio_hw *hw, uint8_t portid, bool disable) argument
[all...]
/linux-master/net/vmw_vsock/
H A Ddiag.c15 u32 portid, u32 seq, u32 flags)
21 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep),
86 NETLINK_CB(cb->skb).portid,
120 NETLINK_CB(cb->skb).portid,
14 sk_diag_fill(struct sock *sk, struct sk_buff *skb, u32 portid, u32 seq, u32 flags) argument
/linux-master/net/netlink/
H A Daf_netlink.c177 NETLINK_CB(new).portid = NETLINK_CB(skb).portid;
485 u32 portid; member in struct:netlink_compare_arg
490 (offsetof(struct netlink_compare_arg, portid) + sizeof(u32))
498 return nlk->portid != x->portid ||
503 struct net *net, u32 portid)
507 arg->portid = portid;
510 static struct sock *__netlink_lookup(struct netlink_table *table, u32 portid, argument
502 netlink_compare_arg_init(struct netlink_compare_arg *arg, struct net *net, u32 portid) argument
530 netlink_lookup(struct net *net, int protocol, u32 portid) argument
570 netlink_insert(struct sock *sk, u32 portid) argument
836 s32 portid = task_tgid_vnr(current); local
1167 netlink_getsockbyportid(struct sock *ssk, u32 portid) argument
1344 netlink_unicast(struct sock *ssk, struct sk_buff *skb, u32 portid, int nonblock) argument
1421 u32 portid; member in struct:netlink_broadcast_data
1513 netlink_broadcast_filtered(struct sock *ssk, struct sk_buff *skb, u32 portid, u32 group, gfp_t allocation, netlink_filter_fn filter, void *filter_data) argument
1565 netlink_broadcast(struct sock *ssk, struct sk_buff *skb, u32 portid, u32 group, gfp_t allocation) argument
1575 u32 portid; member in struct:netlink_set_err_data
1616 netlink_set_err(struct sock *ssk, u32 portid, u32 group, int code) argument
2151 __nlmsg_put(struct sk_buff *skb, u32 portid, u32 seq, int type, int len, int flags) argument
2587 nlmsg_notify(struct sock *sk, struct sk_buff *skb, u32 portid, unsigned int group, int report, gfp_t flags) argument
[all...]
H A Ddiag.c46 u32 portid, u32 seq, u32 flags, int sk_ino)
52 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep),
64 rep->ndiag_portid = nlk->portid;
138 NETLINK_CB(cb->skb).portid,
168 NETLINK_CB(cb->skb).portid,
44 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
/linux-master/net/mctp/
H A Ddevice.c63 int msg_type, u32 portid, u32 seq, int flag)
68 nlh = nlmsg_put(skb, portid, seq,
99 u32 portid, seq; local
102 portid = NETLINK_CB(cb->skb).portid;
106 RTM_NEWADDR, portid, seq, NLM_F_MULTI);
162 u32 portid = NETLINK_CB(req_skb).portid; local
172 portid, req_nlh->nlmsg_seq, 0);
178 rtnl_notify(skb, net, portid, RTNLGRP_MCTP_IFADD
61 mctp_fill_addrinfo(struct sk_buff *skb, struct mctp_dev *mdev, mctp_eid_t eid, int msg_type, u32 portid, u32 seq, int flag) argument
[all...]
/linux-master/drivers/w1/
H A Dw1_netlink.c21 u32 portid; /* Sending process port ID */ member in struct:w1_cb_block
68 block->portid, 0,
87 cn_netlink_send_mult(block->first_cn, len, block->portid,
188 * @portid: where to send it
195 int portid, int error)
206 cn_netlink_send(&packet.cn, portid, 0, GFP_KERNEL);
399 static int w1_process_command_root(struct cn_msg *req_cn, u32 portid) argument
426 cn_netlink_send(cn, portid, 0, GFP_KERNEL);
437 cn_netlink_send(cn, portid, 0, GFP_KERNEL);
555 w1_netlink_send_error(cn, msg, nsp->portid,
194 w1_netlink_send_error(struct cn_msg *cn, struct w1_netlink_msg *msg, int portid, int error) argument
[all...]
/linux-master/net/phonet/
H A Dpn_netlink.c23 u32 portid, u32 seq, int event);
96 u32 portid, u32 seq, int event)
101 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*ifm), 0);
144 NETLINK_CB(cb->skb).portid,
161 u32 portid, u32 seq, int event)
166 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*rtm), 0);
275 if (fill_route(skb, dev, addr << 2, NETLINK_CB(cb->skb).portid,
95 fill_addr(struct sk_buff *skb, struct net_device *dev, u8 addr, u32 portid, u32 seq, int event) argument
160 fill_route(struct sk_buff *skb, struct net_device *dev, u8 dst, u32 portid, u32 seq, int event) argument
/linux-master/net/unix/
H A Ddiag.c126 u32 portid, u32 seq, u32 flags, int sk_ino)
131 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep),
185 u32 portid, u32 seq, u32 flags)
196 return sk_diag_fill(sk, skb, req, user_ns, portid, seq, flags, sk_ino);
221 NETLINK_CB(cb->skb).portid,
289 NETLINK_CB(in_skb).portid,
299 err = nlmsg_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid);
124 sk_diag_fill(struct sock *sk, struct sk_buff *skb, struct unix_diag_req *req, struct user_namespace *user_ns, u32 portid, u32 seq, u32 flags, int sk_ino) argument
183 sk_diag_dump(struct sock *sk, struct sk_buff *skb, struct unix_diag_req *req, struct user_namespace *user_ns, u32 portid, u32 seq, u32 flags) argument
/linux-master/tools/testing/selftests/netfilter/
H A Dconntrack_dump_flush.c100 unsigned int portid; local
103 portid = mnl_socket_get_portid(sock);
124 ret = mnl_cb_run(buf, ret, nlh->nlmsg_seq, portid, NULL, NULL);
218 unsigned int portid; local
221 portid = mnl_socket_get_portid(sock);
244 ret = mnl_cb_run(buf, ret, nlh->nlmsg_seq, portid,
265 unsigned int portid; local
268 portid = mnl_socket_get_portid(sock);
294 ret = mnl_cb_run(buf, ret, nlh->nlmsg_seq, portid, NULL, NULL);
/linux-master/net/devlink/
H A Dsb.c169 enum devlink_command cmd, u32 portid,
174 hdr = genlmsg_put(msg, portid, seq, &devlink_nl_family, flags, cmd);
247 NETLINK_CB(cb->skb).portid,
267 u32 portid, u32 seq, int flags)
278 hdr = genlmsg_put(msg, portid, seq, &devlink_nl_family, flags, cmd);
345 u32 portid, u32 seq, int flags)
360 portid, seq, flags);
383 NETLINK_CB(cb->skb).portid,
453 u32 portid, u32 seq, int flags)
465 hdr = genlmsg_put(msg, portid, se
167 devlink_nl_sb_fill(struct sk_buff *msg, struct devlink *devlink, struct devlink_sb *devlink_sb, enum devlink_command cmd, u32 portid, u32 seq, int flags) argument
264 devlink_nl_sb_pool_fill(struct sk_buff *msg, struct devlink *devlink, struct devlink_sb *devlink_sb, u16 pool_index, enum devlink_command cmd, u32 portid, u32 seq, int flags) argument
342 __sb_pool_get_dumpit(struct sk_buff *msg, int start, int *p_idx, struct devlink *devlink, struct devlink_sb *devlink_sb, u32 portid, u32 seq, int flags) argument
447 devlink_nl_sb_port_pool_fill(struct sk_buff *msg, struct devlink *devlink, struct devlink_port *devlink_port, struct devlink_sb *devlink_sb, u16 pool_index, enum devlink_command cmd, u32 portid, u32 seq, int flags) argument
544 __sb_port_pool_get_dumpit(struct sk_buff *msg, int start, int *p_idx, struct devlink *devlink, struct devlink_sb *devlink_sb, u32 portid, u32 seq, int flags) argument
652 devlink_nl_sb_tc_pool_bind_fill(struct sk_buff *msg, struct devlink *devlink, struct devlink_port *devlink_port, struct devlink_sb *devlink_sb, u16 tc_index, enum devlink_sb_pool_type pool_type, enum devlink_command cmd, u32 portid, u32 seq, int flags) argument
760 __sb_tc_pool_bind_get_dumpit(struct sk_buff *msg, int start, int *p_idx, struct devlink *devlink, struct devlink_sb *devlink_sb, u32 portid, u32 seq, int flags) argument
[all...]

Completed in 193 milliseconds

12345678910