fixes #29 - change all sent/recv counters from int32 to int64 to prevent wraparound

This commit is contained in:
Jason Antman
2017-08-27 10:32:16 -04:00
parent e5455240c9
commit 2a2ce7c909
7 changed files with 26 additions and 26 deletions

View File

@@ -24,8 +24,8 @@ typedef struct NethogsMonitorRecord {
int pid;
uint32_t uid;
const char *device_name;
uint32_t sent_bytes;
uint32_t recv_bytes;
uint64_t sent_bytes;
uint64_t recv_bytes;
float sent_kbs;
float recv_kbs;
} NethogsMonitorRecord;