summaryrefslogtreecommitdiff
path: root/node/Constants.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-09-26 17:45:19 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-09-26 17:45:19 -0400
commit4e010da54b3d660376e4d583a2ca3e8befd60899 (patch)
treeffcd242ca205bb351556b7ba6e24232451042ccc /node/Constants.hpp
parent24bad9f3d1119c4bf80e28f33d4241c7e6221877 (diff)
downloadinfinitytier-4e010da54b3d660376e4d583a2ca3e8befd60899.tar.gz
infinitytier-4e010da54b3d660376e4d583a2ca3e8befd60899.zip
Work in progress...
Diffstat (limited to 'node/Constants.hpp')
-rw-r--r--node/Constants.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/node/Constants.hpp b/node/Constants.hpp
index a46937ed..f7000bfe 100644
--- a/node/Constants.hpp
+++ b/node/Constants.hpp
@@ -231,6 +231,11 @@ error_no_ZT_ARCH_defined;
#define ZT_RELAY_MAX_HOPS 3
/**
+ * Size of multicast deduplication ring buffer in 64-bit ints
+ */
+#define ZT_MULTICAST_DEDUP_HISTORY_LENGTH 512
+
+/**
* Period between announcements of all multicast 'likes' in ms
*
* Announcement occurs when a multicast group is locally joined, but all
@@ -245,11 +250,6 @@ error_no_ZT_ARCH_defined;
#define ZT_MULTICAST_LIKE_EXPIRE ((ZT_MULTICAST_LIKE_ANNOUNCE_ALL_PERIOD * 2) + 1000)
/**
- * Expiration for remembered MULTICAST_GOTs, in ms
- */
-#define ZT_MULTICAST_MAGNET_STATE_EXPIRE 30000
-
-/**
* Time between polls of local taps for multicast membership changes
*/
#define ZT_MULTICAST_LOCAL_POLL_PERIOD 10000