aboutsummaryrefslogtreecommitdiffstats
path: root/src/consts.rs
diff options
context:
space:
mode:
authorJake McGinty <me@jake.su>2017-12-30 14:43:23 -0800
committerJake McGinty <me@jake.su>2017-12-30 14:43:23 -0800
commit4f30a52e5fcb52679afa2c70dcf9cccd5a12afe3 (patch)
tree5b333eab87ecf2842a2c56b885b7ed3245d801a3 /src/consts.rs
parentfallback to previous noise hack (diff)
downloadwireguard-rs-4f30a52e5fcb52679afa2c70dcf9cccd5a12afe3.tar.xz
wireguard-rs-4f30a52e5fcb52679afa2c70dcf9cccd5a12afe3.zip
rudimentary timers!
Diffstat (limited to 'src/consts.rs')
-rw-r--r--src/consts.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/consts.rs b/src/consts.rs
new file mode 100644
index 0000000..ba9d0d0
--- /dev/null
+++ b/src/consts.rs
@@ -0,0 +1,2 @@
+pub const REKEY_AFTER_TIME: u64 = 120;
+pub const KEEPALIVE_TIMEOUT: u64 = 10;