aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/packets.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-05-31 05:32:36 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-05-31 14:23:13 +0200
commite3030b64e64cc2e1192e06ffe3faab3ece1f3fc3 (patch)
tree1c0951216dca1092642f5f8e0edc2ee2cc7cc518 /src/packets.h
parenttimers: the completion of a handshake also is on key confirmation (diff)
downloadwireguard-monolithic-historical-e3030b64e64cc2e1192e06ffe3faab3ece1f3fc3.tar.xz
wireguard-monolithic-historical-e3030b64e64cc2e1192e06ffe3faab3ece1f3fc3.zip
timers: reset retry-attempt counter when not retrying
Diffstat (limited to '')
-rw-r--r--src/packets.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/packets.h b/src/packets.h
index be9cfd7..0e909d3 100644
--- a/src/packets.h
+++ b/src/packets.h
@@ -28,7 +28,7 @@ void packet_consume_data_done(struct sk_buff *skb, struct wireguard_peer *peer,
/* send.c */
void packet_send_queue(struct wireguard_peer *peer);
void packet_send_keepalive(struct wireguard_peer *peer);
-void packet_queue_handshake_initiation(struct wireguard_peer *peer);
+void packet_queue_handshake_initiation(struct wireguard_peer *peer, bool is_retry);
void packet_send_queued_handshakes(struct work_struct *work);
void packet_send_handshake_response(struct wireguard_peer *peer);
void packet_send_handshake_cookie(struct wireguard_device *wg, struct sk_buff *initiating_skb, __le32 sender_index);