Lines Matching refs:net_device

75 int br_multicast_list_adjacent(struct net_device *dev,
77 bool br_multicast_has_querier_anywhere(struct net_device *dev, int proto);
78 bool br_multicast_has_querier_adjacent(struct net_device *dev, int proto);
79 bool br_multicast_has_router_adjacent(struct net_device *dev, int proto);
80 bool br_multicast_enabled(const struct net_device *dev);
81 bool br_multicast_router(const struct net_device *dev);
83 static inline int br_multicast_list_adjacent(struct net_device *dev,
88 static inline bool br_multicast_has_querier_anywhere(struct net_device *dev,
93 static inline bool br_multicast_has_querier_adjacent(struct net_device *dev,
99 static inline bool br_multicast_has_router_adjacent(struct net_device *dev,
105 static inline bool br_multicast_enabled(const struct net_device *dev)
109 static inline bool br_multicast_router(const struct net_device *dev)
116 bool br_vlan_enabled(const struct net_device *dev);
117 int br_vlan_get_pvid(const struct net_device *dev, u16 *p_pvid);
118 int br_vlan_get_pvid_rcu(const struct net_device *dev, u16 *p_pvid);
119 int br_vlan_get_proto(const struct net_device *dev, u16 *p_proto);
120 int br_vlan_get_info(const struct net_device *dev, u16 vid,
122 int br_vlan_get_info_rcu(const struct net_device *dev, u16 vid,
124 bool br_mst_enabled(const struct net_device *dev);
125 int br_mst_get_info(const struct net_device *dev, u16 msti, unsigned long *vids);
126 int br_mst_get_state(const struct net_device *dev, u16 msti, u8 *state);
128 static inline bool br_vlan_enabled(const struct net_device *dev)
133 static inline int br_vlan_get_pvid(const struct net_device *dev, u16 *p_pvid)
138 static inline int br_vlan_get_proto(const struct net_device *dev, u16 *p_proto)
143 static inline int br_vlan_get_pvid_rcu(const struct net_device *dev, u16 *p_pvid)
148 static inline int br_vlan_get_info(const struct net_device *dev, u16 vid,
154 static inline int br_vlan_get_info_rcu(const struct net_device *dev, u16 vid,
160 static inline bool br_mst_enabled(const struct net_device *dev)
165 static inline int br_mst_get_info(const struct net_device *dev, u16 msti,
170 static inline int br_mst_get_state(const struct net_device *dev, u16 msti,
178 struct net_device *br_fdb_find_port(const struct net_device *br_dev,
181 void br_fdb_clear_offload(const struct net_device *dev, u16 vid);
182 bool br_port_flag_is_set(const struct net_device *dev, unsigned long flag);
183 u8 br_port_get_stp_state(const struct net_device *dev);
184 clock_t br_get_ageing_time(const struct net_device *br_dev);
186 static inline struct net_device *
187 br_fdb_find_port(const struct net_device *br_dev,
194 static inline void br_fdb_clear_offload(const struct net_device *dev, u16 vid)
199 br_port_flag_is_set(const struct net_device *dev, unsigned long flag)
204 static inline u8 br_port_get_stp_state(const struct net_device *dev)
209 static inline clock_t br_get_ageing_time(const struct net_device *br_dev)