summaryrefslogtreecommitdiff
path: root/node/Constants.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-07-10 17:24:27 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-07-10 17:24:27 -0400
commit9e28bbfbb2671f71527e76dd20fe4a659109ad4b (patch)
tree8017270bb4dfc7570c40797d73b02df7d37b99d9 /node/Constants.hpp
parent47f611e7b8d2ff95a3ff795574798b4e24a6719d (diff)
downloadinfinitytier-9e28bbfbb2671f71527e76dd20fe4a659109ad4b.tar.gz
infinitytier-9e28bbfbb2671f71527e76dd20fe4a659109ad4b.zip
Factored out multicast propagation algorithm from Switch and Topology, also cleaned up and clarified it a bit.
Diffstat (limited to 'node/Constants.hpp')
-rw-r--r--node/Constants.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/node/Constants.hpp b/node/Constants.hpp
index 4517cc07..61044fed 100644
--- a/node/Constants.hpp
+++ b/node/Constants.hpp
@@ -243,6 +243,11 @@ error_no_ZT_ARCH_defined;
#define ZT_MULTICAST_DEDUP_HISTORY_EXPIRE 8000
/**
+ * Number of bits to randomly "decay" in bloom filter per hop
+ */
+#define ZT_MULTICAST_BLOOM_FILTER_DECAY_RATE 2
+
+/**
* Period between announcements of all multicast 'likes' in ms
*
* Announcement occurs when a multicast group is locally joined, but all