Home
last modified time | relevance | path

Searched refs:VLAN_DEV_INFO (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/net/8021q/
Dvlan_dev.c77 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()
[all …]
Dvlanproc.c159 struct vlan_dev_info *dev_info = VLAN_DEV_INFO(vlandev); in vlan_proc_add_dev()
207 if (VLAN_DEV_INFO(vlandev)->dent) { in vlan_proc_rem_dev()
208 remove_proc_entry(VLAN_DEV_INFO(vlandev)->dent->name, proc_vlan_dir); in vlan_proc_rem_dev()
209 VLAN_DEV_INFO(vlandev)->dent = NULL; in vlan_proc_rem_dev()
318 dev_info = VLAN_DEV_INFO(vlandev); in vlan_proc_get_vlan_info()
365 dev_info = VLAN_DEV_INFO(vlandev); in vlandev_get_info()
Dvlan.c288 ret = unregister_vlan_dev(VLAN_DEV_INFO(dev)->real_dev, in unregister_vlan_device()
289 VLAN_DEV_INFO(dev)->vlan_id); in unregister_vlan_device()
497 VLAN_DEV_INFO(new_dev)->vlan_id = VLAN_ID; /* 1 through VLAN_VID_MASK */ in register_vlan_device()
498 VLAN_DEV_INFO(new_dev)->real_dev = real_dev; in register_vlan_device()
499 VLAN_DEV_INFO(new_dev)->dent = NULL; in register_vlan_device()
500 VLAN_DEV_INFO(new_dev)->flags = vlan_default_dev_flags; in register_vlan_device()
636 VLAN_DEV_INFO(vlandev)->vlan_id); in vlan_device_event()
/linux-2.4.37.9/include/linux/
Dif_vlan.h115 #define VLAN_DEV_INFO(x) ((struct vlan_dev_info *)(x->priv)) macro
121 return &(VLAN_DEV_INFO(dev)->dev_stats); in vlan_dev_get_stats()
127 struct vlan_dev_info *vip = VLAN_DEV_INFO(dev); in vlan_get_ingress_priority()
/linux-2.4.37.9/drivers/s390/net/
Dqeth.c7780 card = (qeth_card_t *)VLAN_DEV_INFO(dev)->real_dev->priv; in qeth_hard_header()
7807 card = (qeth_card_t *)VLAN_DEV_INFO(skb->dev)->real_dev->priv; in qeth_rebuild_header()
9673 card = (qeth_card_t *)VLAN_DEV_INFO(dev)->real_dev->priv; in qeth_dev_event()
9707 card = (qeth_card_t *)VLAN_DEV_INFO(dev)->real_dev->priv; in qeth_ip_event()
9738 card = (qeth_card_t *)VLAN_DEV_INFO(dev)->real_dev->priv; in qeth_ip6_event()
9766 card = (qeth_card_t *)VLAN_DEV_INFO(dev)->real_dev->priv; in qeth_multicast6_event()
9795 card = (qeth_card_t *)VLAN_DEV_INFO(dev)->real_dev->priv; in qeth_multicast_event()