aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/timers.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-05-19 01:02:50 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-19 01:02:50 +0200
commit30290ef1d2581a3e6ee8ffcdb05d580cfba976be (patch)
tree4252b286da48b2209cf38beed638e678a93b6f11 /src/timers.h
parenttimers: fix up comment (diff)
downloadwireguard-monolithic-historical-30290ef1d2581a3e6ee8ffcdb05d580cfba976be.tar.xz
wireguard-monolithic-historical-30290ef1d2581a3e6ee8ffcdb05d580cfba976be.zip
timers: clear send_keepalive timer on sending handshake response
We reorganize this into also doing so on sending keepalives itself, which means the state machine is much more consistent, even if this was already implied.
Diffstat (limited to 'src/timers.h')
-rw-r--r--src/timers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/timers.h b/src/timers.h
index fd2fa79..6c67a6a 100644
--- a/src/timers.h
+++ b/src/timers.h
@@ -12,6 +12,7 @@ void timers_init(struct wireguard_peer *peer);
void timers_stop(struct wireguard_peer *peer);
void timers_data_sent(struct wireguard_peer *peer);
void timers_data_received(struct wireguard_peer *peer);
+void timers_any_authenticated_packet_sent(struct wireguard_peer *peer);
void timers_any_authenticated_packet_received(struct wireguard_peer *peer);
void timers_handshake_initiated(struct wireguard_peer *peer);
void timers_handshake_complete(struct wireguard_peer *peer);