Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
wireguard: add atomic mutex
[vpp.git]
/
src
/
plugins
/
wireguard
/
wireguard_peer.h
diff --git
a/src/plugins/wireguard/wireguard_peer.h
b/src/plugins/wireguard/wireguard_peer.h
index
85df072
..
613c264
100644
(file)
--- a/
src/plugins/wireguard/wireguard_peer.h
+++ b/
src/plugins/wireguard/wireguard_peer.h
@@
-115,6
+115,9
@@
typedef struct wg_peer
u32 rehandshake_interval_tick;
bool timer_need_another_keepalive;
+
+ /* Handshake is sent to main thread? */
+ bool handshake_is_sent;
} wg_peer_t;
typedef struct wg_peer_table_bind_ctx_t_