Kernel: Implement is_zero for RoutingDecision

This commit is contained in:
Conrad Pankoff 2019-08-29 11:18:38 +10:00 committed by Andreas Kling
commit b15a7c435f
Notes: sideshowbarker 2024-07-19 12:26:57 +09:00
5 changed files with 11 additions and 4 deletions

View file

@ -6,6 +6,8 @@ struct RoutingDecision
{
WeakPtr<NetworkAdapter> adapter;
MACAddress next_hop;
bool is_zero() const;
};
RoutingDecision route_to(const IPv4Address& target, const IPv4Address& source);