summaryrefslogtreecommitdiff
path: root/net/bridge/br_private_mcast_eht.h
diff options
context:
space:
mode:
authorNikolay Aleksandrov <nikolay@nvidia.com>2021-01-20 16:51:56 +0200
committerJakub Kicinski <kuba@kernel.org>2021-01-22 19:39:56 -0800
commitbaa74d39ca39f2b22eeac5c3b069b58491ecd418 (patch)
tree82ef859dc46f2ccdabb645f198244b2562a0dab4 /net/bridge/br_private_mcast_eht.h
parent5b16328879302695101f403f261ff7c5f1ee4b84 (diff)
net: bridge: multicast: add EHT source set handling functions
Add EHT source set and set-entry create, delete and lookup functions. These allow to manipulate source sets which contain their own host sets with entries which joined that S,G. We're limiting the maximum number of tracked S,G entries per host to PG_SRC_ENT_LIMIT (currently 32) which is the current maximum of S,G entries for a group. There's a per-set timer which will be used to destroy the whole set later. Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/bridge/br_private_mcast_eht.h')
-rw-r--r--net/bridge/br_private_mcast_eht.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/bridge/br_private_mcast_eht.h b/net/bridge/br_private_mcast_eht.h
index 0c9c4267969d..bba507c9acb0 100644
--- a/net/bridge/br_private_mcast_eht.h
+++ b/net/bridge/br_private_mcast_eht.h
@@ -47,4 +47,6 @@ struct net_bridge_group_eht_set {
struct net_bridge_mcast_gc mcast_gc;
};
+void br_multicast_eht_clean_sets(struct net_bridge_port_group *pg);
+
#endif /* _BR_PRIVATE_MCAST_EHT_H_ */