diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-19 01:02:50 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-19 01:02:50 +0200 |
commit | 616d244def82128efd21c4c1b49112733b86f199 (patch) | |
tree | 3d85ecf61ef86960bcde6261f512258a14b85a15 /src/timers.h | |
parent | 49057fef160e8fb68ae2db71d215531f334a84a5 (diff) |
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.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/timers.h')
-rw-r--r-- | src/timers.h | 1 |
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); |