Searched refs:br_vlan (Results 1 – 2 of 2) sorted by relevance
181 struct prestera_bridge_vlan *br_vlan; in prestera_bridge_vlan_create() local183 br_vlan = kzalloc(sizeof(*br_vlan), GFP_KERNEL); in prestera_bridge_vlan_create()184 if (!br_vlan) in prestera_bridge_vlan_create()187 INIT_LIST_HEAD(&br_vlan->port_vlan_list); in prestera_bridge_vlan_create()188 br_vlan->vid = vid; in prestera_bridge_vlan_create()189 list_add(&br_vlan->head, &br_port->vlan_list); in prestera_bridge_vlan_create()191 return br_vlan; in prestera_bridge_vlan_create()194 static void prestera_bridge_vlan_destroy(struct prestera_bridge_vlan *br_vlan) in prestera_bridge_vlan_destroy() argument196 list_del(&br_vlan->head); in prestera_bridge_vlan_destroy()197 WARN_ON(!list_empty(&br_vlan->port_vlan_list)); in prestera_bridge_vlan_destroy()[all …]
23 bridge-$(CONFIG_BRIDGE_VLAN_FILTERING) += br_vlan.o br_vlan_tunnel.o br_vlan_options.o br_mst.o