diff options
Diffstat (limited to 'include/linux/if_bridge.h')
-rw-r--r-- | include/linux/if_bridge.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/include/linux/if_bridge.h b/include/linux/if_bridge.h index 0a8ce762a47f..a57bca2ea97e 100644 --- a/include/linux/if_bridge.h +++ b/include/linux/if_bridge.h | |||
@@ -50,24 +50,6 @@ extern void brioctl_set(int (*ioctl_hook)(struct net *, unsigned int, void __use | |||
50 | typedef int br_should_route_hook_t(struct sk_buff *skb); | 50 | typedef int br_should_route_hook_t(struct sk_buff *skb); |
51 | extern br_should_route_hook_t __rcu *br_should_route_hook; | 51 | extern br_should_route_hook_t __rcu *br_should_route_hook; |
52 | 52 | ||
53 | #if IS_ENABLED(CONFIG_BRIDGE) | ||
54 | int br_fdb_external_learn_add(struct net_device *dev, | ||
55 | const unsigned char *addr, u16 vid); | ||
56 | int br_fdb_external_learn_del(struct net_device *dev, | ||
57 | const unsigned char *addr, u16 vid); | ||
58 | #else | ||
59 | static inline int br_fdb_external_learn_add(struct net_device *dev, | ||
60 | const unsigned char *addr, u16 vid) | ||
61 | { | ||
62 | return 0; | ||
63 | } | ||
64 | static inline int br_fdb_external_learn_del(struct net_device *dev, | ||
65 | const unsigned char *addr, u16 vid) | ||
66 | { | ||
67 | return 0; | ||
68 | } | ||
69 | #endif | ||
70 | |||
71 | #if IS_ENABLED(CONFIG_BRIDGE) && IS_ENABLED(CONFIG_BRIDGE_IGMP_SNOOPING) | 53 | #if IS_ENABLED(CONFIG_BRIDGE) && IS_ENABLED(CONFIG_BRIDGE_IGMP_SNOOPING) |
72 | int br_multicast_list_adjacent(struct net_device *dev, | 54 | int br_multicast_list_adjacent(struct net_device *dev, |
73 | struct list_head *br_ip_list); | 55 | struct list_head *br_ip_list); |