From 76d955efa5fcd46fd325015d6cd3a389f8d9bb93 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 26 Jan 2014 05:17:34 +0100 Subject: Get rid of long_ago variable, use timeout helpers --- src/peer.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/peer.h') 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 { -- cgit v1.2.3