summaryrefslogtreecommitdiffstats
path: root/include/linux/if_bridge.h
diff options
context:
space:
mode:
authorLinus Lüssing <linus.luessing@web.de>2014-06-07 18:26:29 +0200
committerDavid S. Miller <davem@davemloft.net>2014-06-10 23:50:47 -0700
commit2cd4143192e8c60f66cb32c3a30c76d0470a372d (patch)
treee9690ec1d858835250edaa4cb5943bdd8e04d19e /include/linux/if_bridge.h
parent07f8ac4a1e26e8283542cdaf658a6e2a12fd6980 (diff)
downloadop-kernel-dev-2cd4143192e8c60f66cb32c3a30c76d0470a372d.zip
op-kernel-dev-2cd4143192e8c60f66cb32c3a30c76d0470a372d.tar.gz
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/if_bridge.h')
-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 44d6eb0..fd22789 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
OpenPOWER on IntegriCloud