libsbp
v2.4.7
|
Bandwidth usage measurement for a single interface. More...
#include <piksi.h>
Data Fields | |
u64 | duration |
Duration over which the measurement was collected [ms]. More... | |
u64 | total_bytes |
Number of bytes handled in total within period. More... | |
u32 | rx_bytes |
Number of bytes transmitted within period. More... | |
u32 | tx_bytes |
Number of bytes received within period. More... | |
char | interface_name [16] |
Interface Name. More... | |
Bandwidth usage measurement for a single interface.
The bandwidth usage for each interface can be reported within this struct and utilize multiple fields to fully specify the type of traffic that is being tracked. As either the interval of collection or the collection time may vary, both a timestamp and period field is provided, though may not necessarily be populated with a value.
u64 duration |
u64 total_bytes |