MACRAW IP stack with ARP/ICMP, stable device ordering, LED blink on test

This commit is contained in:
Ian Gulliver
2026-04-07 07:34:24 +09:00
parent 642e2ff318
commit 46db2fd966
7 changed files with 213 additions and 50 deletions

View File

@@ -1,3 +1,12 @@
#pragma once
#include <array>
#include <cstdint>
struct net_state {
std::array<uint8_t, 6> mac;
std::array<uint8_t, 4> ip;
};
bool net_init();
const net_state& net_get_state();
void net_poll();