Kernel: Cleanup ARPTable code

Packet process is now killed if ARPTable dies.

ARP wait loop now just reschecules so timeout actually works.
This commit is contained in:
2024-02-05 17:37:23 +02:00
parent b2291ce162
commit dd3641f054
2 changed files with 15 additions and 5 deletions

View File

@@ -31,6 +31,7 @@ namespace Kernel
public:
static BAN::ErrorOr<BAN::UniqPtr<ARPTable>> create();
~ARPTable();
BAN::ErrorOr<BAN::MACAddress> get_mac_from_ipv4(NetworkInterface&, BAN::IPv4Address);