diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2019-03-19 16:43:43 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2019-03-19 16:43:43 -0700 |
commit | 63ec19674c423b3d93185a690cff3f355c8d9c17 (patch) | |
tree | 2bbef2c69d0434ca95e9f952debf8aa2e9c6ad6d /include | |
parent | 087c75d5eebea46be5a877dbd22c2362ad0a9051 (diff) | |
download | infinitytier-63ec19674c423b3d93185a690cff3f355c8d9c17.tar.gz infinitytier-63ec19674c423b3d93185a690cff3f355c8d9c17.zip |
.
Diffstat (limited to 'include')
-rw-r--r-- | include/ZeroTierOne.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/ZeroTierOne.h b/include/ZeroTierOne.h index 36c29c96..324036bd 100644 --- a/include/ZeroTierOne.h +++ b/include/ZeroTierOne.h @@ -651,6 +651,24 @@ typedef struct } ZT_NodeStatus; /** + * Internal node statistics + * + * This structure is subject to change between versions. + */ +typedef struct +{ + /** + * Number of each protocol verb (possible verbs 0..31) received + */ + uint64_t inVerbCounts[32]; + + /** + * Number of bytes for each protocol verb received + */ + uint64_t inVerbBytes[32]; +} ZT_NodeStatistics; + +/** * Virtual network status codes */ enum ZT_VirtualNetworkStatus |