Searched refs:vlan_bitmap (Results 1 – 4 of 4) sorted by relevance
/net/bridge/ |
D | br_vlan.c | 43 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()
|
D | br_fdb.c | 164 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()
|
D | br_netlink.c | 131 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()
|
D | br_private.h | 77 unsigned long vlan_bitmap[BR_VLAN_BITMAP_LEN]; member
|