Home
last modified time | relevance | path

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

/linux-6.6.21/net/atm/
Dbr2684.c205 struct br2684_dev *brdev = BRPRIV(dev); in br2684_xmit_vcc() local
208 ((brdev->payload == p_bridged) ? in br2684_xmit_vcc()
210 ((brdev->payload == p_bridged) ? BR2684_PAD_LEN : 0); in br2684_xmit_vcc()
224 if (brdev->payload == p_bridged) { in br2684_xmit_vcc()
228 } else if (brdev->payload == p_routed) { in br2684_xmit_vcc()
247 if (brdev->payload == p_bridged) { in br2684_xmit_vcc()
286 const struct br2684_dev *brdev) in pick_outgoing_vcc() argument
288 …return list_empty(&brdev->brvccs) ? NULL : list_entry_brvcc(brdev->brvccs.next); /* 1 vcc/dev righ… in pick_outgoing_vcc()
294 struct br2684_dev *brdev = BRPRIV(dev); in br2684_start_xmit() local
301 brvcc = pick_outgoing_vcc(skb, brdev); in br2684_start_xmit()
[all …]
/linux-6.6.21/tools/testing/selftests/net/
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}
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"
/linux-6.6.21/net/bridge/
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()
156 BR_INPUT_SKB_CB(skb)->brdev = br->dev; in br_handle_frame_finish()
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()
Dbr_netlink.c1199 static int br_port_slave_changelink(struct net_device *brdev, in br_port_slave_changelink() argument
1205 struct net_bridge *br = netdev_priv(brdev); in br_port_slave_changelink()
1219 const struct net_device *brdev, in br_port_fill_slave_info() argument
1225 static size_t br_port_get_slave_size(const struct net_device *brdev, in br_port_get_slave_size() argument
1270 static int br_changelink(struct net_device *brdev, struct nlattr *tb[], in br_changelink() argument
1274 struct net_bridge *br = netdev_priv(brdev); in br_changelink()
1569 static size_t br_get_size(const struct net_device *brdev) in br_get_size() argument
1625 static int br_fill_info(struct sk_buff *skb, const struct net_device *brdev) in br_fill_info() argument
1627 struct net_bridge *br = netdev_priv(brdev); in br_fill_info()
Dbr_device.c54 BR_INPUT_SKB_CB(skb)->brdev = dev; in br_dev_xmit()
Dbr_private.h577 struct net_device *brdev; member
/linux-6.6.21/drivers/s390/net/
Dqeth_l2_main.c753 struct net_device *brdev = br2dev_event_work->br_dev; in qeth_l2_br2dev_worker() local
767 brdev != netdev_master_upper_dev_get_rcu(lsyncdev)) in qeth_l2_br2dev_worker()
774 iter = &brdev->adj_list.lower; in qeth_l2_br2dev_worker()
775 lowerdev = netdev_next_lower_dev_rcu(brdev, &iter); in qeth_l2_br2dev_worker()
795 lowerdev = netdev_next_lower_dev_rcu(brdev, &iter); in qeth_l2_br2dev_worker()
814 dev_put(brdev); in qeth_l2_br2dev_worker()
820 static int qeth_l2_br2dev_queue_work(struct net_device *brdev, in qeth_l2_br2dev_queue_work() argument
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
[all …]
/linux-6.6.21/drivers/net/wireless/quantenna/qtnfmac/
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()