summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLinus Lüssing <linus.luessing@web.de>2014-06-07 20:26:29 +0400
committerDavid S. Miller <davem@davemloft.net>2014-06-11 10:50:47 +0400
commit2cd4143192e8c60f66cb32c3a30c76d0470a372d (patch)
treee9690ec1d858835250edaa4cb5943bdd8e04d19e /include/linux
parent07f8ac4a1e26e8283542cdaf658a6e2a12fd6980 (diff)
downloadlinux-2cd4143192e8c60f66cb32c3a30c76d0470a372d.tar.xz
bridge: memorize and export selected IGMP/MLD querier port
Adding bridge support to the batman-adv multicast optimization requires batman-adv knowing about the existence of bridged-in IGMP/MLD queriers to be able to reliably serve any multicast listener behind this same bridge. Signed-off-by: Linus Lüssing <linus.luessing@web.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/if_bridge.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/if_bridge.h b/include/linux/if_bridge.h
index 44d6eb0eb852..fd22789d7b2e 100644
--- a/include/linux/if_bridge.h
+++ b/include/linux/if_bridge.h
@@ -38,5 +38,6 @@ typedef int br_should_route_hook_t(struct sk_buff *skb);
extern br_should_route_hook_t __rcu *br_should_route_hook;
int br_multicast_list_adjacent(struct net_device *dev,
struct list_head *br_ip_list);
+bool br_multicast_has_querier_adjacent(struct net_device *dev, int proto);
#endif