add reporting of changes since last request

This commit is contained in:
Andreas Gocht-Zech
2023-08-20 22:07:43 +02:00
parent b581af6990
commit 668ae29c0a
5 changed files with 31 additions and 0 deletions

View File

@@ -26,6 +26,8 @@ typedef struct NethogsMonitorRecord {
const char *device_name;
uint64_t sent_bytes;
uint64_t recv_bytes;
uint64_t sent_bytes_last;
uint64_t recv_bytes_last;
float sent_kbs;
float recv_kbs;
} NethogsMonitorRecord;