summaryrefslogtreecommitdiffstats
path: root/src/fastd.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-09-15 16:35:34 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-09-15 16:35:34 +0200
commit316180d885042b7ea2f2f1f67c3175c0a1ad41fa (patch)
tree77f2fb0d5778455c2bed55be348cf06c3380a651 /src/fastd.h
parent7ebbe05f46e1b8530a61dd144a4bf36a1c63a4a3 (diff)
downloadfastd-316180d885042b7ea2f2f1f67c3175c0a1ad41fa.tar
fastd-316180d885042b7ea2f2f1f67c3175c0a1ad41fa.zip
status: add uptime and established times
Diffstat (limited to 'src/fastd.h')
-rw-r--r--src/fastd.h2
1 files changed, 2 insertions, 0 deletions
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 */