summaryrefslogtreecommitdiffstats
path: root/src/fastd_config.h.in
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-05-25 00:20:05 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-05-25 00:20:05 +0200
commitf34e51a1c3b98df2b7c8c7d7eb415a33f42f2d75 (patch)
tree0edd536548163077da4c22ce7785936a3f9c06a6 /src/fastd_config.h.in
parent1b21919d544e30cec89259cfa9353e10852cfc82 (diff)
downloadfastd-f34e51a1c3b98df2b7c8c7d7eb415a33f42f2d75.tar
fastd-f34e51a1c3b98df2b7c8c7d7eb415a33f42f2d75.zip
Make a few struct fields that are not supposed to be changed defines instead
Diffstat (limited to 'src/fastd_config.h.in')
-rw-r--r--src/fastd_config.h.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/fastd_config.h.in b/src/fastd_config.h.in
index 2aace56..196ed34 100644
--- a/src/fastd_config.h.in
+++ b/src/fastd_config.h.in
@@ -53,3 +53,22 @@
#cmakedefine ENABLE_SYSTEMD
#define MAX_CONFIG_DEPTH @MAX_CONFIG_DEPTH_NUM@
+
+
+#define MAINTENANCE_INTERVAL 10
+#define KEEPALIVE_TIMEOUT 15
+#define PEER_STALE_TIME 90
+#define ETH_ADDR_STALE_TIME 300
+
+#define REORDER_TIME 10
+
+#define MIN_VERIFY_INTERVAL 10
+#define VERIFY_VALID_TIME 60 /* 1 minute */
+
+#define MIN_HANDSHAKE_INTERVAL 15
+#define MIN_RESOLVE_INTERVAL 15
+
+#define KEY_VALID 3600 /* 60 minutes */
+#define KEY_VALID_OLD 60 /* 1 minute */
+#define KEY_REFRESH 3300 /* 55 minutes */
+#define KEY_REFRESH_SPLAY 300 /* 5 minutes */