summaryrefslogtreecommitdiffhomepage
path: root/src/constants.go
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2017-07-08 23:51:26 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2017-07-08 23:51:26 +0200
commit4ad62aaa6aa269f08c0fdc9c139e6d5417e21746 (patch)
tree2105f65bc61b0fb842ac44c11a81150a8bb9a909 /src/constants.go
parent5c1ccbddf0c6fdfd98cb3204c1cd4726862855f2 (diff)
Improved timer state machine
Diffstat (limited to 'src/constants.go')
-rw-r--r--src/constants.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/constants.go b/src/constants.go
index 6fbb7a0..4e8d521 100644
--- a/src/constants.go
+++ b/src/constants.go
@@ -17,6 +17,10 @@ const (
)
const (
+ RekeyAfterTimeReceiving = RekeyAfterTime - KeepaliveTimeout - RekeyTimeout
+)
+
+const (
QueueOutboundSize = 1024
QueueInboundSize = 1024
QueueHandshakeSize = 1024