Home
last modified time | relevance | path

Searched refs:pvid (Results 1 – 8 of 8) sorted by relevance

/net/bridge/
A Dbr_vlan.c40 if (vg->pvid == v->vid) in __vlan_add_pvid()
45 vg->pvid = v->vid; in __vlan_add_pvid()
50 if (vg->pvid != vid) in __vlan_delete_pvid()
54 vg->pvid = 0; in __vlan_delete_pvid()
585 if (!pvid) in __allowed_ingress()
591 *vid = pvid; in __allowed_ingress()
601 skb->vlan_tci |= pvid; in __allowed_ingress()
1062 if (vid != vg->pvid) in vlan_default_pvid()
1106 if (!pvid) { in __br_vlan_set_default_pvid()
1200 u16 pvid = val; in br_vlan_set_default_pvid() local
[all …]
A Dbr_arp_nd_proxy.c52 u16 pvid; in br_arp_send() local
72 pvid = br_get_pvid(vg); in br_arp_send()
73 if (pvid == (vlan_tci & VLAN_VID_MASK)) in br_arp_send()
265 u16 pvid; in br_nd_send() local
352 pvid = br_get_pvid(vg); in br_nd_send()
353 if (pvid == (vlan_tci & VLAN_VID_MASK)) in br_nd_send()
A Dbr_netlink.c28 u16 flags, pvid; in __get_num_vlan_infos() local
34 pvid = br_get_pvid(vg); in __get_num_vlan_infos()
41 if (v->vid == pvid) in __get_num_vlan_infos()
367 u16 flags, pvid; in br_fill_ifvlaninfo_compressed() local
374 pvid = br_get_pvid(vg); in br_fill_ifvlaninfo_compressed()
379 if (v->vid == pvid) in br_fill_ifvlaninfo_compressed()
422 u16 pvid; in br_fill_ifvlaninfo() local
424 pvid = br_get_pvid(vg); in br_fill_ifvlaninfo()
431 if (v->vid == pvid) in br_fill_ifvlaninfo()
1834 u16 pvid; in br_fill_linkxstats() local
[all …]
A Dbr_vlan_options.c273 u16 pvid; in br_vlan_process_options() local
289 pvid = br_get_pvid(vg); in br_vlan_process_options()
313 if (v->vid == pvid || in br_vlan_process_options()
A Dbr_switchdev.c422 u16 pvid; in br_switchdev_vlan_replay_group() local
427 pvid = br_get_pvid(vg); in br_switchdev_vlan_replay_group()
433 .flags = br_vlan_flags(v, pvid), in br_switchdev_vlan_replay_group()
A Dbr_private.h264 u16 pvid; member
1587 int __br_vlan_set_default_pvid(struct net_bridge *br, u16 pvid,
1666 return vg->pvid; in br_get_pvid()
1669 static inline u16 br_vlan_flags(const struct net_bridge_vlan *v, u16 pvid) in br_vlan_flags() argument
1671 return v->vid == pvid ? v->flags | BRIDGE_VLAN_INFO_PVID : v->flags; in br_vlan_flags()
1862 static inline u16 br_vlan_flags(const struct net_bridge_vlan *v, u16 pvid) in br_vlan_flags() argument
A Dbr_mst.c83 if (v->vid == vg->pvid) in br_mst_vlan_set_state()
/net/dsa/
A Dtag.h62 u16 pvid, proto; in dsa_software_untag_vlan_aware_bridge() local
69 err = br_vlan_get_pvid_rcu(skb->dev, &pvid); in dsa_software_untag_vlan_aware_bridge()
73 if (vid == pvid && skb->vlan_proto == htons(proto)) in dsa_software_untag_vlan_aware_bridge()
109 u16 pvid, proto; in dsa_software_untag_vlan_unaware_bridge() local
116 err = br_vlan_get_pvid_rcu(skb->dev, &pvid); in dsa_software_untag_vlan_unaware_bridge()
120 if (vid != pvid || skb->vlan_proto != htons(proto)) in dsa_software_untag_vlan_unaware_bridge()

Completed in 32 milliseconds