summaryrefslogtreecommitdiffstats
path: root/src/peer.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-06-07 00:56:47 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-06-07 00:56:47 +0200
commitb0a169a1465a75592f0083a3e4e17c307878fc73 (patch)
tree4797ab4b3840cff3f3f9214699b3d9a844fc42fb /src/peer.h
parent25bf4f4901fe2360d29b7ea5a49b817310ac90dc (diff)
downloadfastd-b0a169a1465a75592f0083a3e4e17c307878fc73.tar
fastd-b0a169a1465a75592f0083a3e4e17c307878fc73.zip
Limit handshake frequency where possible
Diffstat (limited to 'src/peer.h')
-rw-r--r--src/peer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/peer.h b/src/peer.h
index 15a5769..007eefd 100644
--- a/src/peer.h
+++ b/src/peer.h
@@ -43,6 +43,12 @@ struct _fastd_peer {
struct timespec last_resolve_return;
struct timespec seen;
+ struct timespec last_handshake;
+ fastd_peer_address last_handshake_address;
+
+ struct timespec last_handshake_response;
+ fastd_peer_address last_handshake_response_address;
+
fastd_protocol_peer_state *protocol_state;
};