Home
last modified time | relevance | path

Searched refs:brdev (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/net/atm/
H A Dbr2684.c375 if (brdev == NULL || list_empty(&brdev->brvccs) || in br2684_setfilt()
376 brdev->brvccs.next != brdev->brvccs.prev) /* >1 VCC */ in br2684_setfilt()
534 struct br2684_dev *brdev; in br2684_regvcc() local
558 brdev = BRPRIV(net_dev); in br2684_regvcc()
578 if (list_empty(&brdev->brvccs) && !brdev->mac_was_set) { in br2684_regvcc()
639 brdev->net_dev = netdev; in br2684_setup()
650 brdev->net_dev = netdev; in br2684_setup_routed()
667 struct br2684_dev *brdev; in br2684_create() local
692 brdev = BRPRIV(netdev); in br2684_create()
709 brdev->number = 1; in br2684_create()
[all …]
/openbmc/linux/tools/testing/selftests/net/
H A Dtraceroute.sh173 brdev=br0
193 ip netns exec router-1 ip link add name ${brdev} type bridge
194 ip netns exec router-1 ip link set ${brdev} up
195 ip netns exec router-1 ip addr add 2000:101::1/64 dev ${brdev}
198 ip netns exec router-1 ip link set dev eth0 master ${brdev}
202 ip netns exec router-1 ip link set dev eth1 master ${brdev}
H A Drtnetlink.sh1191 brdev="test-br0"
1213 $IP link add name "$brdev" type bridge &>/dev/null
1215 $IP link set dev "$vxlandev" master "$brdev" &>/dev/null
1222 $BRIDGE fdb get $test_mac brport "$vxlandev" 2>/dev/null | grep -q "dev $vxlandev master $brdev"
1224 $BRIDGE fdb get $test_mac br "$brdev" 2>/dev/null | grep -q "dev $vxlandev master $brdev"
/openbmc/linux/net/bridge/
H A Dbr_input.c35 struct net_device *indev, *brdev = BR_INPUT_SKB_CB(skb)->brdev; in br_pass_frame_up() local
36 struct net_bridge *br = netdev_priv(brdev); in br_pass_frame_up()
39 dev_sw_netstats_rx_add(brdev, skb->len); in br_pass_frame_up()
53 if (!(brdev->flags & IFF_PROMISC) && in br_pass_frame_up()
60 skb->dev = brdev; in br_pass_frame_up()
161 BR_INPUT_SKB_CB(skb)->brdev = br->dev; in br_handle_frame_finish()
H A Dbr_forward.c123 struct net_device *dev = BR_INPUT_SKB_CB(skb)->brdev; in deliver_clone()
259 struct net_device *dev = BR_INPUT_SKB_CB(skb)->brdev; in maybe_deliver_addr()
H A Dbr_netlink.c1200 static int br_port_slave_changelink(struct net_device *brdev, in br_port_slave_changelink() argument
1206 struct net_bridge *br = netdev_priv(brdev); in br_port_slave_changelink()
1220 const struct net_device *brdev, in br_port_fill_slave_info() argument
1226 static size_t br_port_get_slave_size(const struct net_device *brdev, in br_port_get_slave_size() argument
1271 static int br_changelink(struct net_device *brdev, struct nlattr *tb[], in br_changelink() argument
1275 struct net_bridge *br = netdev_priv(brdev); in br_changelink()
1570 static size_t br_get_size(const struct net_device *brdev) in br_get_size() argument
1626 static int br_fill_info(struct sk_buff *skb, const struct net_device *brdev) in br_fill_info() argument
1628 struct net_bridge *br = netdev_priv(brdev); in br_fill_info()
H A Dbr_device.c60 BR_INPUT_SKB_CB(skb)->brdev = dev; in br_dev_xmit()
H A Dbr_private.h577 struct net_device *brdev; member
/openbmc/linux/drivers/s390/net/
H A Dqeth_l2_main.c774 iter = &brdev->adj_list.lower; in qeth_l2_br2dev_worker()
775 lowerdev = netdev_next_lower_dev_rcu(brdev, &iter); in qeth_l2_br2dev_worker()
814 dev_put(brdev); in qeth_l2_br2dev_worker()
833 worker_data->br_dev = brdev; in qeth_l2_br2dev_queue_work()
841 dev_hold(brdev); in qeth_l2_br2dev_queue_work()
852 struct net_device *dstdev, *brdev, *lowerdev; in qeth_l2_switchdev_event() local
864 brdev = netdev_master_upper_dev_get_rcu(dstdev); in qeth_l2_switchdev_event()
865 if (!brdev || !netif_is_bridge_master(brdev)) in qeth_l2_switchdev_event()
870 iter = &brdev->adj_list.lower; in qeth_l2_switchdev_event()
871 lowerdev = netdev_next_lower_dev_rcu(brdev, &iter); in qeth_l2_switchdev_event()
[all …]
/openbmc/linux/drivers/net/wireless/quantenna/qtnfmac/
H A Dcore.c666 struct net_device *brdev; in qtnf_core_netdevice_event() local
684 brdev = info->upper_dev; in qtnf_core_netdevice_event()
686 if (!netif_is_bridge_master(brdev)) in qtnf_core_netdevice_event()
690 vif->mac->macid, vif->vifid, netdev_name(brdev), in qtnf_core_netdevice_event()
697 br_domain = brdev->ifindex; in qtnf_core_netdevice_event()
703 ret = netdev_walk_all_lower_dev(brdev, in qtnf_core_netdevice_event()