|
@@ -189,11 +189,6 @@
|
|
|
*/
|
|
|
#define ZT_RX_QUEUE_SIZE 64
|
|
|
|
|
|
-/**
|
|
|
- * RX queue entries older than this do not "exist"
|
|
|
- */
|
|
|
-#define ZT_RX_QUEUE_EXPIRE 4000
|
|
|
-
|
|
|
/**
|
|
|
* Length of secret key in bytes -- 256-bit -- do not change
|
|
|
*/
|
|
@@ -209,11 +204,6 @@
|
|
|
*/
|
|
|
#define ZT_HOUSEKEEPING_PERIOD 60000
|
|
|
|
|
|
-/**
|
|
|
- * How long to remember peer records in RAM if they haven't been used
|
|
|
- */
|
|
|
-#define ZT_PEER_IN_MEMORY_EXPIRATION 600000
|
|
|
-
|
|
|
/**
|
|
|
* Delay between WHOIS retries in ms
|
|
|
*/
|
|
@@ -232,7 +222,7 @@
|
|
|
/**
|
|
|
* Maximum latency to allow for OK(HELLO) before packet is discarded
|
|
|
*/
|
|
|
-#define ZT_HELLO_MAX_ALLOWABLE_LATENCY 60000
|
|
|
+#define ZT_HELLO_MAX_ALLOWABLE_LATENCY 120000
|
|
|
|
|
|
/**
|
|
|
* Maximum number of ZT hops allowed (this is not IP hops/TTL)
|
|
@@ -241,11 +231,6 @@
|
|
|
*/
|
|
|
#define ZT_RELAY_MAX_HOPS 3
|
|
|
|
|
|
-/**
|
|
|
- * Maximum number of upstreams to use (far more than we should ever need)
|
|
|
- */
|
|
|
-#define ZT_MAX_UPSTREAMS 64
|
|
|
-
|
|
|
/**
|
|
|
* Expire time for multicast 'likes' and indirect multicast memberships in ms
|
|
|
*/
|