aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge/br_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/bridge/br_private.h')
-rw-r--r--net/bridge/br_private.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h
index 3d2d3fe0a97e..8a072661a744 100644
--- a/net/bridge/br_private.h
+++ b/net/bridge/br_private.h
@@ -253,8 +253,18 @@ static inline int br_is_root_bridge(const struct net_bridge *br)
253extern void br_dev_setup(struct net_device *dev); 253extern void br_dev_setup(struct net_device *dev);
254extern netdev_tx_t br_dev_xmit(struct sk_buff *skb, 254extern netdev_tx_t br_dev_xmit(struct sk_buff *skb,
255 struct net_device *dev); 255 struct net_device *dev);
256extern bool br_devices_support_netpoll(struct net_bridge *br); 256#ifdef CONFIG_NET_POLL_CONTROLLER
257extern void br_netpoll_cleanup(struct net_device *br_dev); 257extern void br_netpoll_cleanup(struct net_device *dev);
258extern void br_netpoll_enable(struct net_bridge *br,
259 struct net_device *dev);
260extern void br_netpoll_disable(struct net_bridge *br,
261 struct net_device *dev);
262#else
263#define br_netpoll_cleanup(br)
264#define br_netpoll_enable(br, dev)
265#define br_netpoll_disable(br, dev)
266
267#endif
258 268
259/* br_fdb.c */ 269/* br_fdb.c */
260extern int br_fdb_init(void); 270extern int br_fdb_init(void);