Lines Matching refs:net_device
70 struct net_device *real_dev;
80 static inline struct vlan_dev_priv *vlan_dev_priv(const struct net_device *dev) in vlan_dev_priv()
101 struct net_device **vlan_devices_arrays[VLAN_PROTO_NUM]
106 struct net_device *real_dev; /* The ethernet(like) device
128 static inline struct net_device *__vlan_group_get_device(struct vlan_group *vg, in __vlan_group_get_device()
132 struct net_device **array; in __vlan_group_get_device()
139 static inline struct net_device *vlan_group_get_device(struct vlan_group *vg, in vlan_group_get_device()
148 struct net_device *dev) in vlan_group_set_device()
150 struct net_device **array; in vlan_group_set_device()
159 static inline struct net_device *vlan_find_dev(struct net_device *real_dev, in vlan_find_dev()
177 void vlan_dev_set_ingress_priority(const struct net_device *dev,
179 int vlan_dev_set_egress_priority(const struct net_device *dev,
181 int vlan_dev_change_flags(const struct net_device *dev, u32 flag, u32 mask);
182 void vlan_dev_get_realdev_name(const struct net_device *dev, char *result);
184 int vlan_check_real_dev(struct net_device *real_dev,
186 void vlan_setup(struct net_device *dev);
187 int register_vlan_dev(struct net_device *dev);
188 void unregister_vlan_dev(struct net_device *dev, struct list_head *head);
190 static inline u32 vlan_get_ingress_priority(struct net_device *dev, in vlan_get_ingress_priority()
199 extern int vlan_gvrp_request_join(const struct net_device *dev);
200 extern void vlan_gvrp_request_leave(const struct net_device *dev);
201 extern int vlan_gvrp_init_applicant(struct net_device *dev);
202 extern void vlan_gvrp_uninit_applicant(struct net_device *dev);
206 static inline int vlan_gvrp_request_join(const struct net_device *dev) { return 0; } in vlan_gvrp_request_join()
207 static inline void vlan_gvrp_request_leave(const struct net_device *dev) {} in vlan_gvrp_request_leave()
208 static inline int vlan_gvrp_init_applicant(struct net_device *dev) { return 0; } in vlan_gvrp_init_applicant()
209 static inline void vlan_gvrp_uninit_applicant(struct net_device *dev) {} in vlan_gvrp_uninit_applicant()
215 extern int vlan_mvrp_request_join(const struct net_device *dev);
216 extern void vlan_mvrp_request_leave(const struct net_device *dev);
217 extern int vlan_mvrp_init_applicant(struct net_device *dev);
218 extern void vlan_mvrp_uninit_applicant(struct net_device *dev);
222 static inline int vlan_mvrp_request_join(const struct net_device *dev) { return 0; } in vlan_mvrp_request_join()
223 static inline void vlan_mvrp_request_leave(const struct net_device *dev) {} in vlan_mvrp_request_leave()
224 static inline int vlan_mvrp_init_applicant(struct net_device *dev) { return 0; } in vlan_mvrp_init_applicant()
225 static inline void vlan_mvrp_uninit_applicant(struct net_device *dev) {} in vlan_mvrp_uninit_applicant()