diff options
author | Jake McGinty <me@jake.su> | 2017-12-30 14:43:23 -0800 |
---|---|---|
committer | Jake McGinty <me@jake.su> | 2017-12-30 14:43:23 -0800 |
commit | 4f30a52e5fcb52679afa2c70dcf9cccd5a12afe3 (patch) | |
tree | 5b333eab87ecf2842a2c56b885b7ed3245d801a3 /src/consts.rs | |
parent | fallback to previous noise hack (diff) | |
download | wireguard-rs-4f30a52e5fcb52679afa2c70dcf9cccd5a12afe3.tar.xz wireguard-rs-4f30a52e5fcb52679afa2c70dcf9cccd5a12afe3.zip |
rudimentary timers!
Diffstat (limited to 'src/consts.rs')
-rw-r--r-- | src/consts.rs | 2 |
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; |