mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:48:12 +00:00
Kernel: Add support for the MSG_DONTROUTE sys$sendmsg flag
This commit is contained in:
parent
1f16250de9
commit
5514d60d8d
5 changed files with 13 additions and 5 deletions
|
@ -25,7 +25,13 @@ enum class UpdateArp {
|
|||
};
|
||||
|
||||
void update_arp_table(IPv4Address const&, MACAddress const&, UpdateArp update);
|
||||
RoutingDecision route_to(IPv4Address const& target, IPv4Address const& source, RefPtr<NetworkAdapter> const through = nullptr);
|
||||
|
||||
enum class AllowUsingGateway {
|
||||
Yes,
|
||||
No,
|
||||
};
|
||||
|
||||
RoutingDecision route_to(IPv4Address const& target, IPv4Address const& source, RefPtr<NetworkAdapter> const through = nullptr, AllowUsingGateway = AllowUsingGateway::Yes);
|
||||
|
||||
MutexProtected<HashMap<IPv4Address, MACAddress>>& arp_table();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue