From 316180d885042b7ea2f2f1f67c3175c0a1ad41fa Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 15 Sep 2014 16:35:34 +0200 Subject: status: add uptime and established times --- src/fastd.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/fastd.h') diff --git a/src/fastd.h b/src/fastd.h index f38b9e8..93788bd 100644 --- a/src/fastd.h +++ b/src/fastd.h @@ -257,6 +257,8 @@ struct fastd_context { char *ifname; /**< The actual interface name */ + int64_t started; /**< The timestamp when fastd was started */ + int64_t now; /**< The current monotonous timestamp in microseconds after an arbitrary point in time */ uint64_t next_peer_id; /**< An monotonously increasing ID peers are identified with in some components */ -- cgit v1.2.3