Home
last modified time | relevance | path

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

/net/bridge/
Dbr_vlan.c40 if (vg->pvid == v->vid) in __vlan_add_pvid()
45 vg->pvid = v->vid; in __vlan_add_pvid()
52 if (vg->pvid != vid) in __vlan_delete_pvid()
56 vg->pvid = 0; in __vlan_delete_pvid()
408 __vlan_delete_pvid(vg, vg->pvid); in __vlan_flush()
534 u16 pvid = br_get_pvid(vg); in __allowed_ingress() local
540 if (!pvid) in __allowed_ingress()
546 *vid = pvid; in __allowed_ingress()
549 __vlan_hwaccel_put_tag(skb, br->vlan_proto, pvid); in __allowed_ingress()
556 skb->vlan_tci |= pvid; in __allowed_ingress()
[all …]
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()
262 u16 pvid; in br_nd_send() local
349 pvid = br_get_pvid(vg); in br_nd_send()
350 if (pvid == (vlan_tci & VLAN_VID_MASK)) in br_nd_send()
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()
346 u16 flags, pvid; in br_fill_ifvlaninfo_compressed() local
353 pvid = br_get_pvid(vg); in br_fill_ifvlaninfo_compressed()
358 if (v->vid == pvid) in br_fill_ifvlaninfo_compressed()
401 u16 pvid; in br_fill_ifvlaninfo() local
403 pvid = br_get_pvid(vg); in br_fill_ifvlaninfo()
410 if (v->vid == pvid) in br_fill_ifvlaninfo()
1707 u16 pvid; in br_fill_linkxstats() local
[all …]
Dbr_vlan_options.c225 u16 pvid; in br_vlan_process_options() local
241 pvid = br_get_pvid(vg); in br_vlan_process_options()
265 if (v->vid == pvid || in br_vlan_process_options()
Dbr_private.h238 u16 pvid; member
1451 int __br_vlan_set_default_pvid(struct net_bridge *br, u16 pvid,
1530 return vg->pvid; in br_get_pvid()
1533 static inline u16 br_vlan_flags(const struct net_bridge_vlan *v, u16 pvid) in br_vlan_flags() argument
1535 return v->vid == pvid ? v->flags | BRIDGE_VLAN_INFO_PVID : v->flags; in br_vlan_flags()
/net/dsa/
Ddsa_priv.h352 u16 vid, pvid, proto; in dsa_untag_bridge_pvid() local
377 err = br_vlan_get_pvid_rcu(dev, &pvid); in dsa_untag_bridge_pvid()
381 if (vid != pvid) in dsa_untag_bridge_pvid()