diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-01-26 05:17:34 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-01-26 05:17:34 +0100 |
commit | 76d955efa5fcd46fd325015d6cd3a389f8d9bb93 (patch) | |
tree | 69956b73a9ca9f692a5a95759eb7dedffea62e12 /src/peer.h | |
parent | 9fe7f35ce87dceb368c7ddffd7f6902dca24b97a (diff) | |
download | fastd-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.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 { |