diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-16 01:27:42 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-16 01:27:42 +0100 |
commit | a356e4815098e5398e103aa69865bd6c88f7ad36 (patch) | |
tree | 50437c6444405f12671bce7f04a8c1b10cff70f8 /Kernel/Net/Routing.h | |
parent | d42f0f46616168bdff492f880b3ea432a49f7345 (diff) | |
download | serenity-a356e4815098e5398e103aa69865bd6c88f7ad36.zip |
Kernel: Move all code into the Kernel namespace
Diffstat (limited to 'Kernel/Net/Routing.h')
-rw-r--r-- | Kernel/Net/Routing.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Kernel/Net/Routing.h b/Kernel/Net/Routing.h index 11d661420d..e12276d5b1 100644 --- a/Kernel/Net/Routing.h +++ b/Kernel/Net/Routing.h @@ -28,6 +28,8 @@ #include <Kernel/Net/NetworkAdapter.h> +namespace Kernel { + struct RoutingDecision { RefPtr<NetworkAdapter> adapter; @@ -39,3 +41,5 @@ struct RoutingDecision RoutingDecision route_to(const IPv4Address& target, const IPv4Address& source); Lockable<HashMap<IPv4Address, MACAddress>>& arp_table(); + +} |