Home
last modified time | relevance | path

Searched refs:vlan_id (Results 1 – 13 of 13) sorted by relevance

/linux-2.4.37.9/net/8021q/
Dvlan.c198 unsigned short vlan_id) in unregister_vlan_dev() argument
206 printk(VLAN_DBG "%s: VID: %i\n", __FUNCTION__, vlan_id); in unregister_vlan_dev()
210 if (vlan_id >= VLAN_VID_MASK) in unregister_vlan_dev()
220 dev = grp->vlan_devices[vlan_id]; in unregister_vlan_dev()
231 real_dev->vlan_rx_kill_vid(real_dev, vlan_id); in unregister_vlan_dev()
235 grp->vlan_devices[vlan_id] = NULL; in unregister_vlan_dev()
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()
636 VLAN_DEV_INFO(vlandev)->vlan_id); in vlan_device_event()
Dvlan_dev.c342 __FUNCTION__, skb, type, len, VLAN_DEV_INFO(dev)->vlan_id, daddr); in vlan_dev_hard_header()
367 veth_TCI = VLAN_DEV_INFO(dev)->vlan_id; in vlan_dev_hard_header()
465 veth_TCI = VLAN_DEV_INFO(dev)->vlan_id; in vlan_dev_hard_start_xmit()
508 veth_TCI = VLAN_DEV_INFO(dev)->vlan_id; in vlan_dev_hwaccel_hard_start_xmit()
676 *result = VLAN_DEV_INFO(dev)->vlan_id; in vlan_dev_get_vid()
Dvlanproc.c321 dev_info->vlan_id, in vlan_proc_get_vlan_info()
368 vlandev->name, dev_info->vlan_id, in vlandev_get_info()
/linux-2.4.37.9/drivers/net/bonding/
Dbond_alb.h81 unsigned short vlan_id; /* VLAN tag associated with IP address */ member
139 void bond_alb_clear_vlan(struct bonding *bond, unsigned short vlan_id);
Dbond_alb.c528 skb = vlan_put_tag(skb, client_info->vlan_id); in rlb_update_client()
695 unsigned short vlan_id; in rlb_choose_channel() local
696 int res = vlan_get_tag(skb, &vlan_id); in rlb_choose_channel()
699 client_info->vlan_id = vlan_id; in rlb_choose_channel()
856 static void rlb_clear_vlan(struct bonding *bond, unsigned short vlan_id) in rlb_clear_vlan() argument
869 if (curr->tag && (curr->vlan_id == vlan_id)) { in rlb_clear_vlan()
933 skb = vlan_put_tag(skb, vlan->vlan_id); in alb_send_learning_packets()
1686 void bond_alb_clear_vlan(struct bonding *bond, unsigned short vlan_id) in bond_alb_clear_vlan() argument
1689 (bond->alb_info.current_alb_vlan->vlan_id == vlan_id)) { in bond_alb_clear_vlan()
1694 rlb_clear_vlan(bond, vlan_id); in bond_alb_clear_vlan()
Dbond_main.c648 static int bond_add_vlan(struct bonding *bond, unsigned short vlan_id) in bond_add_vlan() argument
653 (bond ? bond->dev->name: "None"), vlan_id); in bond_add_vlan()
661 vlan->vlan_id = vlan_id; in bond_add_vlan()
669 dprintk("added VLAN ID %d on bond %s\n", vlan_id, bond->dev->name); in bond_add_vlan()
681 static int bond_del_vlan(struct bonding *bond, unsigned short vlan_id) in bond_del_vlan() argument
686 dprintk("bond: %s, vlan id %d\n", bond->dev->name, vlan_id); in bond_del_vlan()
691 if (vlan->vlan_id == vlan_id) { in bond_del_vlan()
696 bond_alb_clear_vlan(bond, vlan_id); in bond_del_vlan()
699 dprintk("removed VLAN ID %d from bond %s\n", vlan_id, in bond_del_vlan()
719 dprintk("couldn't find VLAN ID %d in bond %s\n", vlan_id, in bond_del_vlan()
[all …]
Dbonding.h152 unsigned short vlan_id; member
/linux-2.4.37.9/include/linux/
Dif_vlan.h92 unsigned short vlan_id; /* The VLAN Identifier for this interface. */ member
/linux-2.4.37.9/drivers/s390/net/
Dqeth.h750 __u16 vlan_id; member
Dqeth.c1816 hdr->vlan_id = vlan_tx_tag_get(skb); in qeth_fill_header()
/linux-2.4.37.9/drivers/net/e1000/
De1000_hw.h363 uint16_t vlan_id; member
376 uint16_t vlan_id; member
De1000_main.c368 uint16_t vid = adapter->hw.mng_cookie.vlan_id; in e1000_update_mng_vlan()
2573 if (adapter->mng_vlan_id != adapter->hw.mng_cookie.vlan_id)
3096 if (!((vlan_tx_tag_get(skb) == adapter->hw.mng_cookie.vlan_id) &&
De1000_hw.c5982 if (hw->mng_cookie.vlan_id != 0) { in e1000_clear_vfta()
5987 vfta_offset = (hw->mng_cookie.vlan_id >> in e1000_clear_vfta()
5990 vfta_bit_in_reg = 1 << (hw->mng_cookie.vlan_id & in e1000_clear_vfta()