From f34e51a1c3b98df2b7c8c7d7eb415a33f42f2d75 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 25 May 2014 00:20:05 +0200 Subject: Make a few struct fields that are not supposed to be changed defines instead --- src/fastd_config.h.in | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'src/fastd_config.h.in') 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 */ -- cgit v1.2.3