mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-25 05:55:13 +00:00
15 lines
310 B
C
15 lines
310 B
C
#pragma once
|
|
|
|
#include <Kernel/Net/NetworkAdapter.h>
|
|
|
|
struct RoutingDecision
|
|
{
|
|
WeakPtr<NetworkAdapter> adapter;
|
|
MACAddress next_hop;
|
|
|
|
bool is_zero() const;
|
|
};
|
|
|
|
RoutingDecision route_to(const IPv4Address& target, const IPv4Address& source);
|
|
|
|
Lockable<HashMap<IPv4Address, MACAddress>>& arp_table();
|