Lines Matching refs:vlan
145 struct vlan_dev_info *vlan = vlan_dev_info(dev); in unregister_vlan_dev() local
146 struct net_device *real_dev = vlan->real_dev; in unregister_vlan_dev()
149 u16 vlan_id = vlan->vlan_id; in unregister_vlan_dev()
242 struct vlan_dev_info *vlan = vlan_dev_info(dev); in register_vlan_dev() local
243 struct net_device *real_dev = vlan->real_dev; in register_vlan_dev()
245 u16 vlan_id = vlan->vlan_id; in register_vlan_dev()
371 struct vlan_dev_info *vlan = vlan_dev_info(vlandev); in vlan_sync_address() local
374 if (!compare_ether_addr(vlan->real_dev_addr, dev->dev_addr)) in vlan_sync_address()
379 if (compare_ether_addr(vlandev->dev_addr, vlan->real_dev_addr) && in vlan_sync_address()
385 if (!compare_ether_addr(vlandev->dev_addr, vlan->real_dev_addr) && in vlan_sync_address()
389 memcpy(vlan->real_dev_addr, dev->dev_addr, ETH_ALEN); in vlan_sync_address()