summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-04-15 19:00:26 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-04-15 19:00:26 -0700
commitd2503172d833d4202557e5142f90ce96dc0cda4e (patch)
tree5fac27146206d66a99053a81be34e5f97b4bc8b3 /include
parent91ca2381639bce22a02bdacf70f2ca30bdac9995 (diff)
downloadinfinitytier-d2503172d833d4202557e5142f90ce96dc0cda4e.tar.gz
infinitytier-d2503172d833d4202557e5142f90ce96dc0cda4e.zip
Add some additional detail to the peer record in CAPI and JSON control plane.
Diffstat (limited to 'include')
-rw-r--r--include/ZeroTierOne.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/ZeroTierOne.h b/include/ZeroTierOne.h
index 45ed626a..e60d4a74 100644
--- a/include/ZeroTierOne.h
+++ b/include/ZeroTierOne.h
@@ -561,6 +561,16 @@ typedef struct
uint64_t address;
/**
+ * Time we last received a unicast frame from this peer
+ */
+ uint64_t lastUnicastFrame;
+
+ /**
+ * Time we last received a multicast rame from this peer
+ */
+ uint64_t lastMulticastFrame;
+
+ /**
* Remote major version or -1 if not known
*/
int versionMajor;