| Christian Göttsche | 7cd093c | 2020-10-08 16:34:54 +0200 | [diff] [blame] | 1 | #ifndef HEADER_NetworkIOMeter |
| 2 | #define HEADER_NetworkIOMeter |
| 3 | |
| 4 | #include "Meter.h" |
| 5 | |
| mayurdahibhate | 1b74dfe | 2021-04-29 20:42:43 +0530 | [diff] [blame^] | 6 | |
| Nathan Scott | 2d18392 | 2021-03-01 11:55:15 +1100 | [diff] [blame] | 7 | typedef struct NetworkIOData_ { |
| Nathan Scott | 88a1185 | 2021-03-02 12:14:44 +1100 | [diff] [blame] | 8 | uint64_t bytesReceived; |
| 9 | uint64_t packetsReceived; |
| 10 | uint64_t bytesTransmitted; |
| 11 | uint64_t packetsTransmitted; |
| Nathan Scott | 2d18392 | 2021-03-01 11:55:15 +1100 | [diff] [blame] | 12 | } NetworkIOData; |
| 13 | |
| Christian Göttsche | 7cd093c | 2020-10-08 16:34:54 +0200 | [diff] [blame] | 14 | extern const MeterClass NetworkIOMeter_class; |
| 15 | |
| 16 | #endif /* HEADER_NetworkIOMeter */ |