mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:38:11 +00:00

Choosing adapter for transmit is done by adapter_for_route_to(IPv4Address). This is just hard-coded logic right now but can be expanded to support a proper routing table. Also start moving kernel networking code into Kernel/Net/.
5 lines
108 B
C
5 lines
108 B
C
#pragma once
|
|
|
|
#include <Kernel/NetworkAdapter.h>
|
|
|
|
NetworkAdapter* adapter_for_route_to(const IPv4Address&);
|