Lines Matching refs:VLAN_DEV_INFO
77 if (VLAN_DEV_INFO(skb->dev)->flags & 1) { in vlan_check_reorder_header()
173 if (dev != VLAN_DEV_INFO(skb->dev)->real_dev) { in vlan_skb_recv()
179 VLAN_DEV_INFO(skb->dev)->real_dev->name, in vlan_skb_recv()
308 VLAN_DEV_INFO(dev)->egress_priority_map[(skb->priority & 0xF)]; in vlan_dev_get_egress_qos_mask()
342 __FUNCTION__, skb, type, len, VLAN_DEV_INFO(dev)->vlan_id, daddr); in vlan_dev_hard_header()
353 build_vlan_header = ((VLAN_DEV_INFO(dev)->flags & 1) == 0); in vlan_dev_hard_header()
367 veth_TCI = VLAN_DEV_INFO(dev)->vlan_id; in vlan_dev_hard_header()
389 dev = VLAN_DEV_INFO(dev)->real_dev; in vlan_dev_hard_header()
410 VLAN_DEV_INFO(vdev)->cnt_inc_headroom_on_tx++; in vlan_dev_hard_header()
453 VLAN_DEV_INFO(dev)->cnt_encap_on_xmit++; in vlan_dev_hard_start_xmit()
465 veth_TCI = VLAN_DEV_INFO(dev)->vlan_id; in vlan_dev_hard_start_xmit()
475 VLAN_DEV_INFO(dev)->cnt_inc_headroom_on_tx++; in vlan_dev_hard_start_xmit()
491 skb->dev = VLAN_DEV_INFO(dev)->real_dev; in vlan_dev_hard_start_xmit()
508 veth_TCI = VLAN_DEV_INFO(dev)->vlan_id; in vlan_dev_hwaccel_hard_start_xmit()
515 skb->dev = VLAN_DEV_INFO(dev)->real_dev; in vlan_dev_hwaccel_hard_start_xmit()
526 if (VLAN_DEV_INFO(dev)->real_dev->mtu < new_mtu) in vlan_dev_change_mtu()
541 VLAN_DEV_INFO(dev)->ingress_priority_map[vlan_prio & 0x7] = skb_prio; in vlan_dev_set_ingress_priority()
554 struct vlan_dev_info *info = VLAN_DEV_INFO(dev); in vlan_dev_destroy_egress_priority_map()
576 mp = VLAN_DEV_INFO(dev)->egress_priority_map[skb_prio & 0xF]; in vlan_dev_set_egress_priority()
587 mp = VLAN_DEV_INFO(dev)->egress_priority_map[skb_prio & 0xF]; in vlan_dev_set_egress_priority()
593 VLAN_DEV_INFO(dev)->egress_priority_map[skb_prio & 0xF] = np; in vlan_dev_set_egress_priority()
616 VLAN_DEV_INFO(dev)->flags |= 1; in vlan_dev_set_vlan_flag()
618 VLAN_DEV_INFO(dev)->flags &= ~1; in vlan_dev_set_vlan_flag()
650 strncpy(result, VLAN_DEV_INFO(dev)->real_dev->name, 23); in vlan_dev_get_realdev_name()
676 *result = VLAN_DEV_INFO(dev)->vlan_id; in vlan_dev_get_vid()
711 if (memcmp(VLAN_DEV_INFO(dev)->real_dev->dev_addr, in vlan_dev_set_mac_address()
714 if (!(VLAN_DEV_INFO(dev)->real_dev->flags & IFF_PROMISC)) { in vlan_dev_set_mac_address()
715 int flgs = VLAN_DEV_INFO(dev)->real_dev->flags; in vlan_dev_set_mac_address()
718 dev_set_promiscuity(VLAN_DEV_INFO(dev)->real_dev, 1); in vlan_dev_set_mac_address()
723 dev->name, VLAN_DEV_INFO(dev)->real_dev->name); in vlan_dev_set_mac_address()
724 dev_change_flags(VLAN_DEV_INFO(dev)->real_dev, flgs); in vlan_dev_set_mac_address()
728 dev->name, VLAN_DEV_INFO(dev)->real_dev->name); in vlan_dev_set_mac_address()
814 vlan_destroy_mc_list(VLAN_DEV_INFO(dev)->old_mc_list); in vlan_flush_mc_list()
815 VLAN_DEV_INFO(dev)->old_mc_list = NULL; in vlan_flush_mc_list()
820 if (!(VLAN_DEV_INFO(dev)->real_dev->flags & IFF_UP)) in vlan_dev_open()
843 if (VLAN_DEV_INFO(dev)->dent) in vlan_dev_destruct()
865 real_dev = VLAN_DEV_INFO(vlan_dev)->real_dev; in vlan_dev_set_multicast_list()
868 inc = vlan_dev->promiscuity - VLAN_DEV_INFO(vlan_dev)->old_promiscuity; in vlan_dev_set_multicast_list()
873 VLAN_DEV_INFO(vlan_dev)->old_promiscuity = vlan_dev->promiscuity; in vlan_dev_set_multicast_list()
876 inc = vlan_dev->allmulti - VLAN_DEV_INFO(vlan_dev)->old_allmulti; in vlan_dev_set_multicast_list()
881 VLAN_DEV_INFO(vlan_dev)->old_allmulti = vlan_dev->allmulti; in vlan_dev_set_multicast_list()
886 if (vlan_should_add_mc(dmi, VLAN_DEV_INFO(vlan_dev)->old_mc_list)) { in vlan_dev_set_multicast_list()
900 for (dmi = VLAN_DEV_INFO(vlan_dev)->old_mc_list; dmi != NULL; dmi = dmi->next) { in vlan_dev_set_multicast_list()
918 vlan_copy_mc_list(vlan_dev->mc_list, VLAN_DEV_INFO(vlan_dev)); in vlan_dev_set_multicast_list()