summaryrefslogtreecommitdiffstats
path: root/src/peer.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-04-01 04:00:33 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-04-01 04:00:33 +0200
commit2d7472633ac356f1bc8f8122a1cc3b3226a95697 (patch)
treea70a6bc36aaf9948ee4d46cf26a792166608bc6b /src/peer.h
parent6abadfbe0b3e10fff89579b20e8d3a47f5eafd4d (diff)
downloadfastd-2d7472633ac356f1bc8f8122a1cc3b3226a95697.tar
fastd-2d7472633ac356f1bc8f8122a1cc3b3226a95697.zip
Don't stop repeating handshakes until valid data using the new key is received
Diffstat (limited to 'src/peer.h')
-rw-r--r--src/peer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/peer.h b/src/peer.h
index 1ffa18b..f3b9a93 100644
--- a/src/peer.h
+++ b/src/peer.h
@@ -75,6 +75,7 @@ fastd_peer_config* fastd_peer_config_new(fastd_context *ctx, fastd_config *conf)
void fastd_peer_reset(fastd_context *ctx, fastd_peer *peer);
fastd_peer* fastd_peer_add(fastd_context *ctx, fastd_peer_config *conf);
fastd_peer* fastd_peer_add_temp(fastd_context *ctx, const fastd_peer_address *address);
+void fastd_peer_clean_handshakes(fastd_context *ctx, fastd_peer *peer);
fastd_peer* fastd_peer_set_established_merge(fastd_context *ctx, fastd_peer *perm_peer, fastd_peer *temp_peer);
void fastd_peer_set_established(fastd_context *ctx, fastd_peer *peer);