summaryrefslogtreecommitdiffstats
path: root/src/fastd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fastd.h')
-rw-r--r--src/fastd.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/fastd.h b/src/fastd.h
index d03465d..268c2c7 100644
--- a/src/fastd.h
+++ b/src/fastd.h
@@ -138,6 +138,11 @@ struct fastd_stats {
uint64_t bytes;
};
+struct fastd_handshake_timeout {
+ fastd_peer_address_t address;
+ struct timespec timeout;
+};
+
struct fastd_config {
struct timespec long_ago;
@@ -281,6 +286,9 @@ struct fastd_context {
unsigned int randseed;
+ size_t unknown_handshake_pos;
+ fastd_handshake_timeout_t unknown_handshakes[8];
+
fastd_protocol_state_t *protocol_state;
};