aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/peer.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-01-23 19:16:10 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2017-02-07 12:21:22 +0100
commit22d812d8f9e96ad068f331fcda097018e4e04e93 (patch)
tree15e55c6e7e4c7f16163cc7859621c909d061990c /src/peer.h
parenttimers: use setup_timer macro helper (diff)
downloadwireguard-monolithic-historical-22d812d8f9e96ad068f331fcda097018e4e04e93.tar.xz
wireguard-monolithic-historical-22d812d8f9e96ad068f331fcda097018e4e04e93.zip
timers: use simpler uninit sync technique
Diffstat (limited to 'src/peer.h')
-rw-r--r--src/peer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/peer.h b/src/peer.h
index 16b3def..d05062f 100644
--- a/src/peer.h
+++ b/src/peer.h
@@ -43,6 +43,7 @@ struct wireguard_peer {
struct timer_list timer_retransmit_handshake, timer_send_keepalive, timer_new_handshake, timer_kill_ephemerals, timer_persistent_keepalive;
unsigned int timer_handshake_attempts;
unsigned long persistent_keepalive_interval;
+ bool timers_enabled;
bool timer_need_another_keepalive;
bool need_resend_queue;
bool sent_lastminute_handshake;