diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-09-15 16:35:34 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-09-15 16:35:34 +0200 |
commit | 316180d885042b7ea2f2f1f67c3175c0a1ad41fa (patch) | |
tree | 77f2fb0d5778455c2bed55be348cf06c3380a651 /src/peer.h | |
parent | 7ebbe05f46e1b8530a61dd144a4bf36a1c63a4a3 (diff) | |
download | fastd-316180d885042b7ea2f2f1f67c3175c0a1ad41fa.tar fastd-316180d885042b7ea2f2f1f67c3175c0a1ad41fa.zip |
status: add uptime and established times
Diffstat (limited to 'src/peer.h')
-rw-r--r-- | src/peer.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -89,6 +89,7 @@ struct fastd_peer { fastd_timeout_t last_handshake_response_timeout; /**< All handshakes from last_handshake_address will be ignored until this timeout has occured */ fastd_peer_address_t last_handshake_response_address; /**< The address the last handshake was received from */ + int64_t established; /**< The time this peer connection has been established */ fastd_timeout_t establish_handshake_timeout; /**< A timeout during which all handshakes for this peer will be ignored after a new connection has been established */ const char *config_source_dir; /**< The directory this peer's configuration was loaded from */ |