summaryrefslogtreecommitdiffstats
path: root/src/wireguard.h
diff options
context:
space:
mode:
authorMatt Dunwoodie <ncon@mail.noconroy.net>2019-09-10 18:34:23 +1000
committerMatt Dunwoodie <ncon@mail.noconroy.net>2019-09-11 20:59:53 +1000
commitd21313afe93d96edc06eeb4f9a03916a393b7e5f (patch)
treea2a2ed5cdc3eafa121f3c8dcd3d6e4ab46d155d9 /src/wireguard.h
parentUse ifq for output queueing (diff)
downloadwireguard-openbsd-d21313afe93d96edc06eeb4f9a03916a393b7e5f.tar.xz
wireguard-openbsd-d21313afe93d96edc06eeb4f9a03916a393b7e5f.zip
Check handshake state before preparing initiation packet
Diffstat (limited to 'src/wireguard.h')
-rw-r--r--src/wireguard.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wireguard.h b/src/wireguard.h
index 60c101b1d5a..0ae1186712f 100644
--- a/src/wireguard.h
+++ b/src/wireguard.h
@@ -241,6 +241,7 @@ enum wg_error wg_handshake_recv_cookie(struct wg_handshake *, struct wg_msg_cook
enum wg_error wg_handshake_initiation_valid_mac2(struct wg_cookie *, struct wg_msg_initiation *);
enum wg_error wg_handshake_response_valid_mac2(struct wg_cookie *, struct wg_msg_response *);
enum wg_error wg_handshake_merge(struct wg_handshake *, struct wg_handshake *);
+enum wg_error wg_handshake_initiation_ready(struct wg_handshake *);
void wg_handshake_reset_attempts(struct wg_handshake *);
uint32_t wg_handshake_id(struct wg_handshake *);