Lines Matching refs:br

79 int eth_bridge_get_index(struct net_if *br)  in eth_bridge_get_index()  argument
81 return net_if_get_by_iface(br); in eth_bridge_get_index()
89 int eth_bridge_iface_add(struct net_if *br, struct net_if *iface) in eth_bridge_iface_add() argument
91 struct eth_bridge_iface_context *ctx = net_if_get_device(br)->data; in eth_bridge_iface_add()
102 if (net_if_l2(br) != &NET_L2_GET_NAME(VIRTUAL) || in eth_bridge_iface_add()
103 !(net_virtual_get_iface_capabilities(br) & VIRTUAL_INTERFACE_BRIDGE)) { in eth_bridge_iface_add()
109 if (eth_ctx->bridge == br) { in eth_bridge_iface_add()
117 eth_ctx->bridge = br; in eth_bridge_iface_add()
125 if (tmp->bridge == br) { in eth_bridge_iface_add()
146 eth_bridge_iface_remove(br, iface); in eth_bridge_iface_add()
152 net_if_get_by_iface(br)); in eth_bridge_iface_add()
167 int eth_bridge_iface_remove(struct net_if *br, struct net_if *iface) in eth_bridge_iface_remove() argument
169 struct eth_bridge_iface_context *ctx = net_if_get_device(br)->data; in eth_bridge_iface_remove()
178 if (net_if_l2(br) != &NET_L2_GET_NAME(VIRTUAL) || in eth_bridge_iface_remove()
179 !(net_virtual_get_iface_capabilities(br) & VIRTUAL_INTERFACE_BRIDGE)) { in eth_bridge_iface_remove()
196 if (tmp->bridge == br) { in eth_bridge_iface_remove()
205 net_if_get_by_iface(br)); in eth_bridge_iface_remove()
210 NET_INFO("Bridge %d is %ssetup", net_if_get_by_iface(br), "not "); in eth_bridge_iface_remove()
443 static int bridge_iface_attach(struct net_if *br, in bridge_iface_attach() argument
446 ARG_UNUSED(br); in bridge_iface_attach()