2020-10-08 14:34:54 +00:00
|
|
|
#ifndef HEADER_NetworkIOMeter
|
|
|
|
#define HEADER_NetworkIOMeter
|
|
|
|
|
|
|
|
#include "Meter.h"
|
|
|
|
|
2021-03-01 00:55:15 +00:00
|
|
|
typedef struct NetworkIOData_ {
|
2021-03-02 01:14:44 +00:00
|
|
|
uint64_t bytesReceived;
|
|
|
|
uint64_t packetsReceived;
|
|
|
|
uint64_t bytesTransmitted;
|
|
|
|
uint64_t packetsTransmitted;
|
2021-03-01 00:55:15 +00:00
|
|
|
} NetworkIOData;
|
|
|
|
|
2020-10-08 14:34:54 +00:00
|
|
|
extern const MeterClass NetworkIOMeter_class;
|
|
|
|
|
|
|
|
#endif /* HEADER_NetworkIOMeter */
|