mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:27:45 +00:00
Kernel: Add a LoopbackAdapter for talking to yourself via 127.0.0.1.
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/.
This commit is contained in:
parent
f8a1d2746e
commit
718bea73b3
11 changed files with 95 additions and 25 deletions
|
@ -39,6 +39,8 @@ KERNEL_OBJS = \
|
|||
UDPSocket.o \
|
||||
NetworkAdapter.o \
|
||||
E1000NetworkAdapter.o \
|
||||
Net/LoopbackAdapter.o \
|
||||
Net/Routing.o \
|
||||
NetworkTask.o
|
||||
|
||||
VFS_OBJS = \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue