Searched refs:vlan_dev (Results 1 – 4 of 4) sorted by relevance
15 struct net_device *vlan_dev; in vlan_do_receive() local18 vlan_dev = vlan_find_dev(skb->dev, vlan_proto, vlan_id); in vlan_do_receive()19 if (!vlan_dev) in vlan_do_receive()26 if (unlikely(!(vlan_dev->flags & IFF_UP))) { in vlan_do_receive()32 skb->dev = vlan_dev; in vlan_do_receive()37 if (ether_addr_equal_64bits(eth_hdr(skb)->h_dest, vlan_dev->dev_addr)) in vlan_do_receive()41 if (!(vlan_dev_priv(vlan_dev)->flags & VLAN_FLAG_REORDER_HDR) && in vlan_do_receive()42 !netif_is_macvlan_port(vlan_dev) && in vlan_do_receive()43 !netif_is_bridge_port(vlan_dev)) { in vlan_do_receive()60 skb->priority = vlan_get_ingress_priority(vlan_dev, skb->vlan_tci); in vlan_do_receive()[all …]
8 8021q-y := vlan.o vlan_dev.o vlan_netlink.o
501 static void vlan_dev_set_rx_mode(struct net_device *vlan_dev) in vlan_dev_set_rx_mode() argument503 dev_mc_sync(vlan_dev_priv(vlan_dev)->real_dev, vlan_dev); in vlan_dev_set_rx_mode()504 dev_uc_sync(vlan_dev_priv(vlan_dev)->real_dev, vlan_dev); in vlan_dev_set_rx_mode()
1621 struct net_device *vlan_dev) in br_vlan_set_vlan_dev_state() argument1623 u16 vid = vlan_dev_priv(vlan_dev)->vlan_id; in br_vlan_set_vlan_dev_state()1629 netif_carrier_off(vlan_dev); in br_vlan_set_vlan_dev_state()1642 netif_carrier_on(vlan_dev); in br_vlan_set_vlan_dev_state()1644 netif_carrier_off(vlan_dev); in br_vlan_set_vlan_dev_state()1651 struct net_device *vlan_dev; in br_vlan_set_all_vlan_dev_state() local1654 vlan_dev = br_vlan_get_upper_bind_vlan_dev(p->br->dev, in br_vlan_set_all_vlan_dev_state()1656 if (vlan_dev) { in br_vlan_set_all_vlan_dev_state()1659 netif_carrier_on(vlan_dev); in br_vlan_set_all_vlan_dev_state()1661 br_vlan_set_vlan_dev_state(p->br, vlan_dev); in br_vlan_set_all_vlan_dev_state()[all …]