summaryrefslogtreecommitdiffstats
path: root/src/peer.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-01-26 05:17:34 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-01-26 05:17:34 +0100
commit76d955efa5fcd46fd325015d6cd3a389f8d9bb93 (patch)
tree69956b73a9ca9f692a5a95759eb7dedffea62e12 /src/peer.h
parent9fe7f35ce87dceb368c7ddffd7f6902dca24b97a (diff)
downloadfastd-76d955efa5fcd46fd325015d6cd3a389f8d9bb93.tar
fastd-76d955efa5fcd46fd325015d6cd3a389f8d9bb93.zip
Get rid of long_ago variable, use timeout helpers
Diffstat (limited to 'src/peer.h')
-rw-r--r--src/peer.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/peer.h b/src/peer.h
index 1a34ef5..2720f42 100644
--- a/src/peer.h
+++ b/src/peer.h
@@ -50,10 +50,10 @@ struct fastd_peer {
struct timespec next_handshake;
fastd_dlist_head_t handshake_entry;
- struct timespec last_handshake;
+ struct timespec last_handshake_timeout;
fastd_peer_address_t last_handshake_address;
- struct timespec last_handshake_response;
+ struct timespec last_handshake_response_timeout;
fastd_peer_address_t last_handshake_response_address;
fastd_protocol_peer_config_t *protocol_config;
@@ -94,8 +94,8 @@ struct fastd_remote {
size_t current_address;
fastd_peer_address_t *addresses;
- struct timespec last_resolve;
- struct timespec last_resolve_return;
+ struct timespec last_resolve_timeout;
+ bool resolving;
};
struct fastd_remote_config {