Lines Matching refs:net_device

25 	struct net_device **vlan_devices_arrays[VLAN_PROTO_NUM]
30 struct net_device *real_dev; /* The ethernet(like) device
52 static inline struct net_device *__vlan_group_get_device(struct vlan_group *vg, in __vlan_group_get_device()
56 struct net_device **array; in __vlan_group_get_device()
67 static inline struct net_device *vlan_group_get_device(struct vlan_group *vg, in vlan_group_get_device()
81 struct net_device *dev) in vlan_group_set_device()
84 struct net_device **array; in vlan_group_set_device()
94 static inline struct net_device *vlan_find_dev(struct net_device *real_dev, in vlan_find_dev()
106 static inline netdev_features_t vlan_tnl_features(struct net_device *real_dev) in vlan_tnl_features()
128 void vlan_dev_set_ingress_priority(const struct net_device *dev,
130 int vlan_dev_set_egress_priority(const struct net_device *dev,
132 int vlan_dev_change_flags(const struct net_device *dev, u32 flag, u32 mask);
133 void vlan_dev_get_realdev_name(const struct net_device *dev, char *result,
136 int vlan_check_real_dev(struct net_device *real_dev,
139 void vlan_setup(struct net_device *dev);
140 int register_vlan_dev(struct net_device *dev, struct netlink_ext_ack *extack);
141 void unregister_vlan_dev(struct net_device *dev, struct list_head *head);
142 void vlan_dev_uninit(struct net_device *dev);
143 bool vlan_dev_inherit_address(struct net_device *dev,
144 struct net_device *real_dev);
146 static inline u32 vlan_get_ingress_priority(struct net_device *dev, in vlan_get_ingress_priority()
155 int vlan_gvrp_request_join(const struct net_device *dev);
156 void vlan_gvrp_request_leave(const struct net_device *dev);
157 int vlan_gvrp_init_applicant(struct net_device *dev);
158 void vlan_gvrp_uninit_applicant(struct net_device *dev);
162 static inline int vlan_gvrp_request_join(const struct net_device *dev) { return 0; } in vlan_gvrp_request_join()
163 static inline void vlan_gvrp_request_leave(const struct net_device *dev) {} in vlan_gvrp_request_leave()
164 static inline int vlan_gvrp_init_applicant(struct net_device *dev) { return 0; } in vlan_gvrp_init_applicant()
165 static inline void vlan_gvrp_uninit_applicant(struct net_device *dev) {} in vlan_gvrp_uninit_applicant()
171 int vlan_mvrp_request_join(const struct net_device *dev);
172 void vlan_mvrp_request_leave(const struct net_device *dev);
173 int vlan_mvrp_init_applicant(struct net_device *dev);
174 void vlan_mvrp_uninit_applicant(struct net_device *dev);
178 static inline int vlan_mvrp_request_join(const struct net_device *dev) { return 0; } in vlan_mvrp_request_join()
179 static inline void vlan_mvrp_request_leave(const struct net_device *dev) {} in vlan_mvrp_request_leave()
180 static inline int vlan_mvrp_init_applicant(struct net_device *dev) { return 0; } in vlan_mvrp_init_applicant()
181 static inline void vlan_mvrp_uninit_applicant(struct net_device *dev) {} in vlan_mvrp_uninit_applicant()