Home
last modified time | relevance | path

Searched refs:vlan_bitmap (Results 1 – 4 of 4) sorted by relevance

/net/bridge/
Dbr_vlan.c43 if (test_bit(vid, v->vlan_bitmap)) { in __vlan_add()
81 set_bit(vid, v->vlan_bitmap); in __vlan_add()
95 if (!test_bit(vid, v->vlan_bitmap)) in __vlan_del()
109 clear_bit(vid, v->vlan_bitmap); in __vlan_del()
111 if (bitmap_empty(v->vlan_bitmap, BR_VLAN_BITMAP_LEN)) { in __vlan_del()
125 bitmap_zero(v->vlan_bitmap, BR_VLAN_BITMAP_LEN); in __vlan_flush()
225 if (test_bit(*vid, v->vlan_bitmap)) in br_allowed_ingress()
245 if (test_bit(vid, v->vlan_bitmap)) in br_allowed_egress()
413 if (test_bit(vid, pv->vlan_bitmap)) in nbp_vlan_find()
Dbr_fdb.c164 for_each_set_bit_from(vid, pv->vlan_bitmap, BR_VLAN_BITMAP_LEN) { in br_fdb_change_mac_address()
719 if (!pv || !test_bit(vid, pv->vlan_bitmap)) { in br_fdb_add()
728 if (!pv || bitmap_empty(pv->vlan_bitmap, BR_VLAN_BITMAP_LEN)) { in br_fdb_add()
737 for_each_set_bit(vid, pv->vlan_bitmap, BR_VLAN_BITMAP_LEN) { in br_fdb_add()
807 if (!pv || !test_bit(vid, pv->vlan_bitmap)) { in br_fdb_delete()
815 if (!pv || bitmap_empty(pv->vlan_bitmap, BR_VLAN_BITMAP_LEN)) { in br_fdb_delete()
825 for_each_set_bit(vid, pv->vlan_bitmap, BR_VLAN_BITMAP_LEN) { in br_fdb_delete()
Dbr_netlink.c131 if (!pv || bitmap_empty(pv->vlan_bitmap, BR_VLAN_BITMAP_LEN)) in br_fill_ifinfo()
139 for_each_set_bit(vid, pv->vlan_bitmap, BR_VLAN_BITMAP_LEN) { in br_fill_ifinfo()
Dbr_private.h77 unsigned long vlan_bitmap[BR_VLAN_BITMAP_LEN]; member