diff options
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 |