summaryrefslogtreecommitdiff
path: root/node/Constants.hpp
diff options
context:
space:
mode:
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 21c8a0ec..85af3b28 100644
--- a/node/Constants.hpp
+++ b/node/Constants.hpp
@@ -303,6 +303,11 @@ error_no_byte_order_defined;
#define ZT_PEER_LINK_ACTIVITY_TIMEOUT ((ZT_PEER_DIRECT_PING_DELAY * 2) + 1000)
/**
+ * Number of outgoing verb/packetId pairs to keep for sends expecting responses
+ */
+#define ZT_PEER_REQUEST_HISTORY_LENGTH 8
+
+/**
* IP hops (a.k.a. TTL) to set for firewall opener packets
*
* 2 should permit traversal of double-NAT configurations, such as from inside