diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-04-02 15:46:44 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-04-02 15:46:44 +0200 |
commit | 718bea73b31d1deda79c787eaa4ab7107b8fa7ce (patch) | |
tree | 59a98b736ae2cf33063a1b8f4eefb841f32dcf83 /Kernel/Makefile | |
parent | f8a1d2746e0f8dbb71a1447a257c44f668e8edbe (diff) | |
download | serenity-718bea73b31d1deda79c787eaa4ab7107b8fa7ce.zip |
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/.
Diffstat (limited to 'Kernel/Makefile')
-rw-r--r-- | Kernel/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Kernel/Makefile b/Kernel/Makefile index 98826d5628..11cc3a4142 100644 --- a/Kernel/Makefile +++ b/Kernel/Makefile @@ -39,6 +39,8 @@ KERNEL_OBJS = \ UDPSocket.o \ NetworkAdapter.o \ E1000NetworkAdapter.o \ + Net/LoopbackAdapter.o \ + Net/Routing.o \ NetworkTask.o VFS_OBJS = \ |