Searched refs:vlandev (Results 1 – 3 of 3) sorted by relevance
/linux-3.4.99/net/8021q/ |
D | vlan.c | 264 struct net_device *vlandev) in vlan_sync_address() argument 266 struct vlan_dev_priv *vlan = vlan_dev_priv(vlandev); in vlan_sync_address() 274 if (compare_ether_addr(vlandev->dev_addr, vlan->real_dev_addr) && in vlan_sync_address() 275 !compare_ether_addr(vlandev->dev_addr, dev->dev_addr)) in vlan_sync_address() 276 dev_uc_del(dev, vlandev->dev_addr); in vlan_sync_address() 280 if (!compare_ether_addr(vlandev->dev_addr, vlan->real_dev_addr) && in vlan_sync_address() 281 compare_ether_addr(vlandev->dev_addr, dev->dev_addr)) in vlan_sync_address() 282 dev_uc_add(dev, vlandev->dev_addr); in vlan_sync_address() 288 struct net_device *vlandev) in vlan_transfer_features() argument 290 vlandev->gso_max_size = dev->gso_max_size; in vlan_transfer_features() [all …]
|
D | vlanproc.c | 169 int vlan_proc_add_dev(struct net_device *vlandev) in vlan_proc_add_dev() argument 171 struct vlan_dev_priv *vlan = vlan_dev_priv(vlandev); in vlan_proc_add_dev() 172 struct vlan_net *vn = net_generic(dev_net(vlandev), vlan_net_id); in vlan_proc_add_dev() 175 proc_create_data(vlandev->name, S_IFREG|S_IRUSR|S_IWUSR, in vlan_proc_add_dev() 176 vn->proc_vlan_dir, &vlandev_fops, vlandev); in vlan_proc_add_dev() 185 int vlan_proc_rem_dev(struct net_device *vlandev) in vlan_proc_rem_dev() argument 187 struct vlan_net *vn = net_generic(dev_net(vlandev), vlan_net_id); in vlan_proc_rem_dev() 190 if (vlan_dev_priv(vlandev)->dent) { in vlan_proc_rem_dev() 191 remove_proc_entry(vlan_dev_priv(vlandev)->dent->name, in vlan_proc_rem_dev() 193 vlan_dev_priv(vlandev)->dent = NULL; in vlan_proc_rem_dev() [all …]
|
D | vlanproc.h | 8 int vlan_proc_rem_dev(struct net_device *vlandev); 9 int vlan_proc_add_dev(struct net_device *vlandev);
|