Searched defs:port_no (Results 1 - 6 of 6) sorted by relevance

/net/bridge/
H A Dbr_stp_if.c27 static inline port_id br_make_port_id(__u8 priority, __u16 port_no) argument
30 | (port_no & ((1<<BR_PORT_BITS)-1));
38 p->port_id = br_make_port_id(p->priority, p->port_no);
269 new_port_id = br_make_port_id(newprio, p->port_no);
H A Dbr_stp.c35 (unsigned int) p->port_no, p->dev->name,
40 struct net_bridge_port *br_get_port(struct net_bridge *br, u16 port_no) argument
45 if (p->port_no == port_no)
108 (unsigned int) p->port_no, p->dev->name);
131 root_port = p->port_no;
435 if (p->port_no == br->root_port) {
492 if (p->port_no == br->root_port) {
508 (unsigned int) p->port_no, p->dev->name);
H A Dbr_private.h137 u16 port_no; member in struct:net_bridge_port
713 u16 port_no);
/net/openvswitch/
H A Ddatapath.h148 struct vport *ovs_lookup_vport(const struct datapath *dp, u16 port_no);
150 static inline struct vport *ovs_vport_rcu(const struct datapath *dp, int port_no) argument
153 return ovs_lookup_vport(dp, port_no);
156 static inline struct vport *ovs_vport_ovsl_rcu(const struct datapath *dp, int port_no) argument
159 return ovs_lookup_vport(dp, port_no);
162 static inline struct vport *ovs_vport_ovsl(const struct datapath *dp, int port_no) argument
165 return ovs_lookup_vport(dp, port_no);
H A Dvport.h67 * @port_no: Index into @dp's @ports array.
79 u16 port_no; member in struct:vport
99 * @port_no: New vport's port number.
108 u16 port_no; member in struct:vport_parms
H A Ddatapath.c176 u16 port_no)
178 return &dp->ports[port_no & (DP_VPORT_HASH_BUCKETS - 1)];
181 struct vport *ovs_lookup_vport(const struct datapath *dp, u16 port_no) argument
186 head = vport_hash_bucket(dp, port_no);
188 if (vport->port_no == port_no)
202 struct hlist_head *head = vport_hash_bucket(dp, vport->port_no);
234 error = ovs_flow_extract(skb, p->port_no, &key, &key_len);
1357 dp = vport && vport->port_no == OVSP_LOCAL ? vport->dp : NULL;
1413 parms.port_no
175 vport_hash_bucket(const struct datapath *dp, u16 port_no) argument
1711 u32 port_no = nla_get_u32(a[OVS_VPORT_ATTR_PORT_NO]); local
1736 u32 port_no; local
[all...]

Completed in 91 milliseconds