1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:37:46 +00:00

Kernel: Convert Routing to east-const style

This commit is contained in:
brapru 2021-09-03 10:33:07 -04:00 committed by Andreas Kling
parent ad5bd209ba
commit bad23e3f8c
2 changed files with 13 additions and 13 deletions

View file

@ -24,8 +24,8 @@ enum class UpdateArp {
Delete,
};
void update_arp_table(const IPv4Address&, const MACAddress&, UpdateArp update);
RoutingDecision route_to(const IPv4Address& target, const IPv4Address& source, const RefPtr<NetworkAdapter> through = nullptr);
void update_arp_table(IPv4Address const&, MACAddress const&, UpdateArp update);
RoutingDecision route_to(IPv4Address const& target, IPv4Address const& source, RefPtr<NetworkAdapter> const through = nullptr);
MutexProtected<HashMap<IPv4Address, MACAddress>>& arp_table();