diff options
Diffstat (limited to 'Kernel/Net/Routing.h')
-rw-r--r-- | Kernel/Net/Routing.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Kernel/Net/Routing.h b/Kernel/Net/Routing.h index 50c7d72ed3..d58cbb7215 100644 --- a/Kernel/Net/Routing.h +++ b/Kernel/Net/Routing.h @@ -27,6 +27,7 @@ #pragma once #include <Kernel/Net/NetworkAdapter.h> +#include <Kernel/Thread.h> namespace Kernel { @@ -37,6 +38,7 @@ struct RoutingDecision { bool is_zero() const; }; +void update_arp_table(const IPv4Address&, const MACAddress&); RoutingDecision route_to(const IPv4Address& target, const IPv4Address& source, const RefPtr<NetworkAdapter> through = nullptr); Lockable<HashMap<IPv4Address, MACAddress>>& arp_table(); |