• Home
  • Raw
  • Download

Lines Matching refs:br

39 	struct net_bridge *br;  in __vlan_add()  local
51 br = p->br; in __vlan_add()
54 br = v->parent.br; in __vlan_add()
55 dev = br->dev; in __vlan_add()
72 err = br_fdb_insert(br, p, dev->dev_addr, vid); in __vlan_add()
74 br_err(br, "failed insert local address into bridge " in __vlan_add()
115 rcu_assign_pointer(v->parent.br->vlan_info, NULL); in __vlan_del()
129 rcu_assign_pointer(v->parent.br->vlan_info, NULL); in __vlan_flush()
149 struct sk_buff *br_handle_vlan(struct net_bridge *br, in br_handle_vlan() argument
155 if (!br->vlan_enabled) in br_handle_vlan()
192 bool br_allowed_ingress(struct net_bridge *br, struct net_port_vlans *v, in br_allowed_ingress() argument
198 if (!br->vlan_enabled) in br_allowed_ingress()
232 bool br_allowed_egress(struct net_bridge *br, in br_allowed_egress() argument
238 if (!br->vlan_enabled) in br_allowed_egress()
252 int br_vlan_add(struct net_bridge *br, u16 vid, u16 flags) in br_vlan_add() argument
259 pv = rtnl_dereference(br->vlan_info); in br_vlan_add()
269 pv->parent.br = br; in br_vlan_add()
274 rcu_assign_pointer(br->vlan_info, pv); in br_vlan_add()
282 int br_vlan_delete(struct net_bridge *br, u16 vid) in br_vlan_delete() argument
288 pv = rtnl_dereference(br->vlan_info); in br_vlan_delete()
296 spin_lock_bh(&br->hash_lock); in br_vlan_delete()
297 fdb_delete_by_addr(br, br->dev->dev_addr, vid); in br_vlan_delete()
298 spin_unlock_bh(&br->hash_lock); in br_vlan_delete()
305 void br_vlan_flush(struct net_bridge *br) in br_vlan_flush() argument
310 pv = rtnl_dereference(br->vlan_info); in br_vlan_flush()
317 int br_vlan_filter_toggle(struct net_bridge *br, unsigned long val) in br_vlan_filter_toggle() argument
322 if (br->vlan_enabled == val) in br_vlan_filter_toggle()
325 br->vlan_enabled = val; in br_vlan_filter_toggle()
381 spin_lock_bh(&port->br->hash_lock); in nbp_vlan_delete()
382 fdb_delete_by_addr(port->br, port->dev->dev_addr, vid); in nbp_vlan_delete()
383 spin_unlock_bh(&port->br->hash_lock); in nbp_vlan_delete()