mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 02:37:42 +00:00
Kernel: Implement is_zero for RoutingDecision
This commit is contained in:
parent
302d521485
commit
b15a7c435f
5 changed files with 11 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue