Lines Matching refs:net_device
13 struct net_device *vlan_dev; in vlan_do_receive()
66 struct net_device *__vlan_find_dev_deep_rcu(struct net_device *dev, in __vlan_find_dev_deep_rcu()
80 struct net_device *upper_dev; in __vlan_find_dev_deep_rcu()
92 struct net_device *vlan_dev_real_dev(const struct net_device *dev) in vlan_dev_real_dev()
94 struct net_device *ret = vlan_dev_priv(dev)->real_dev; in vlan_dev_real_dev()
103 u16 vlan_dev_vlan_id(const struct net_device *dev) in vlan_dev_vlan_id()
109 __be16 vlan_dev_vlan_proto(const struct net_device *dev) in vlan_dev_vlan_proto()
139 static struct vlan_info *vlan_info_alloc(struct net_device *dev) in vlan_info_alloc()
159 static bool vlan_hw_filter_capable(const struct net_device *dev, in vlan_hw_filter_capable()
199 struct net_device *dev = vlan_info->real_dev; in __vlan_vid_add()
221 int vlan_vid_add(struct net_device *dev, __be16 proto, u16 vid) in vlan_vid_add()
260 struct net_device *dev = vlan_info->real_dev; in __vlan_vid_del()
278 void vlan_vid_del(struct net_device *dev, __be16 proto, u16 vid) in vlan_vid_del()
303 int vlan_vids_add_by_dev(struct net_device *dev, in vlan_vids_add_by_dev()
304 const struct net_device *by_dev) in vlan_vids_add_by_dev()
334 void vlan_vids_del_by_dev(struct net_device *dev, in vlan_vids_del_by_dev()
335 const struct net_device *by_dev) in vlan_vids_del_by_dev()
351 bool vlan_uses_dev(const struct net_device *dev) in vlan_uses_dev()