feat: kernel network statistics reporting, new Network configuration applet

This commit is contained in:
daniel committed 2026-05-03 10:45:33 +02:00
1 parent 017a8a28ac
commit af48ab0e1e
28 files changed
+1167 -115

No files matched your search

+13
View File
@@ -740,10 +740,23 @@ namespace Drivers::Net::E1000E {
return g_initialized;
}
bool IsLinkUp() {
if (!g_initialized || g_mmioBase == nullptr) return false;
return (ReadReg(REG_STATUS) & (1 << 1)) != 0;
}
bool RequiresPolling() {
return g_initialized && g_pollingMode;
}
uint64_t GetRxPacketCount() {
return g_rxPacketCount;
}
uint64_t GetTxPacketCount() {
return g_txPacketCount;
}
void SetRxCallback(RxCallback callback) {
g_rxCallback = callback;
}