diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-07-08 02:29:38 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-07-08 02:29:38 +0200 |
commit | d6c566c92ac3f21c75301a540da275c87ea4b745 (patch) | |
tree | a9dcb1684eb4baf7ffa7ca5c403b5b62ead6145d /src/peer.h | |
parent | a79e13c55483d4d6b1aa7d9623e56a743bcdbb7c (diff) |
persistent keepalive: add kernel mechanism
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/peer.h')
-rw-r--r-- | src/peer.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -27,8 +27,9 @@ struct wireguard_peer { struct cookie latest_cookie; struct hlist_node pubkey_hash; uint64_t rx_bytes, tx_bytes; - struct timer_list timer_retransmit_handshake, timer_send_keepalive, timer_new_handshake, timer_kill_ephemerals; + struct timer_list timer_retransmit_handshake, timer_send_keepalive, timer_new_handshake, timer_kill_ephemerals, timer_persistent_keepalive; unsigned int timer_handshake_attempts; + uint16_t persistent_keepalive_interval; bool timer_need_another_keepalive; struct timeval walltime_last_handshake; struct sk_buff_head tx_packet_queue; |