Lines Matching refs:net_device

82 static inline bool is_vlan_dev(const struct net_device *dev)
93 static inline int vlan_get_rx_ctag_filter_info(struct net_device *dev)
99 static inline void vlan_drop_rx_ctag_filter_info(struct net_device *dev)
105 static inline int vlan_get_rx_stag_filter_info(struct net_device *dev)
111 static inline void vlan_drop_rx_stag_filter_info(struct net_device *dev)
141 extern struct net_device *__vlan_find_dev_deep_rcu(struct net_device *real_dev,
143 extern int vlan_for_each(struct net_device *dev,
144 int (*action)(struct net_device *dev, int vid,
146 extern struct net_device *vlan_dev_real_dev(const struct net_device *dev);
147 extern u16 vlan_dev_vlan_id(const struct net_device *dev);
148 extern __be16 vlan_dev_vlan_proto(const struct net_device *dev);
190 struct net_device *real_dev;
202 static inline struct vlan_dev_priv *vlan_dev_priv(const struct net_device *dev)
208 vlan_dev_get_egress_qos_mask(struct net_device *dev, u32 skprio)
228 extern int vlan_vid_add(struct net_device *dev, __be16 proto, u16 vid);
229 extern void vlan_vid_del(struct net_device *dev, __be16 proto, u16 vid);
231 extern int vlan_vids_add_by_dev(struct net_device *dev,
232 const struct net_device *by_dev);
233 extern void vlan_vids_del_by_dev(struct net_device *dev,
234 const struct net_device *by_dev);
236 extern bool vlan_uses_dev(const struct net_device *dev);
239 static inline struct net_device *
240 __vlan_find_dev_deep_rcu(struct net_device *real_dev,
247 vlan_for_each(struct net_device *dev,
248 int (*action)(struct net_device *dev, int vid, void *arg),
254 static inline struct net_device *vlan_dev_real_dev(const struct net_device *dev)
260 static inline u16 vlan_dev_vlan_id(const struct net_device *dev)
266 static inline __be16 vlan_dev_vlan_proto(const struct net_device *dev)
272 static inline u16 vlan_dev_get_egress_qos_mask(struct net_device *dev,
283 static inline int vlan_vid_add(struct net_device *dev, __be16 proto, u16 vid)
288 static inline void vlan_vid_del(struct net_device *dev, __be16 proto, u16 vid)
292 static inline int vlan_vids_add_by_dev(struct net_device *dev,
293 const struct net_device *by_dev)
298 static inline void vlan_vids_del_by_dev(struct net_device *dev,
299 const struct net_device *by_dev)
303 static inline bool vlan_uses_dev(const struct net_device *dev)