New multicast algorithm work in progress...

This commit is contained in:
Adam Ierymenko 2013-09-21 16:46:00 -04:00
parent 64c9c2e06b
commit 770fbaf4b2
5 changed files with 98 additions and 317 deletions

View file

@ -230,26 +230,6 @@ error_no_ZT_ARCH_defined;
*/
#define ZT_RELAY_MAX_HOPS 3
/**
* Breadth of tree for rumor mill multicast propagation
*/
#define ZT_MULTICAST_DEFAULT_PROPAGATION_BREADTH 3
/**
* Depth of tree for rumor mill multicast propagation
*/
#define ZT_MULTICAST_DEFAULT_PROPAGATION_DEPTH 6
/**
* Length of ring buffer history of recent multicast packets
*/
#define ZT_MULTICAST_DEDUP_HISTORY_LENGTH 1024
/**
* Expiration time in ms for multicast deduplication history items
*/
#define ZT_MULTICAST_DEDUP_HISTORY_EXPIRE 2000
/**
* Period between announcements of all multicast 'likes' in ms
*
@ -264,6 +244,11 @@ 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
*/