ohmu
·
2026-10-15
1#pragma once
2
3#include "fastfetch.h"
4#include "modules/netio/option.h"
5
6typedef struct FFNetIOResult {
7 FFstrbuf name;
8 bool defaultRoute;
9 uint64_t txBytes;
10 uint64_t rxBytes;
11 uint64_t txPackets;
12 uint64_t rxPackets;
13 uint64_t rxErrors;
14 uint64_t txErrors;
15 uint64_t rxDrops;
16 uint64_t txDrops;
17} FFNetIOResult;
18
19const char* ffDetectNetIO(FFlist* result, FFNetIOOptions* options);
20const char* ffNetIOGetIoCounters(FFlist* result, FFNetIOOptions* options);