1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:28:12 +00:00
serenity/Kernel/Net
Liav A 1c94b5e8eb Kernel: Introduce the NetworkingManagement singleton
Instead of initializing network adapters in init.cpp, let's move that
logic into a separate class to handle this.
Also, it seems like a good idea to shift responsiblity on enumeration
of network adapters after the boot process, so this singleton will take
care of finding the appropriate network adapter when asked to with an
IPv4 address or interface name.

With this change being merged, we simplify the creation logic of
NetworkAdapter derived classes, so we enumerate the PCI bus only once,
searching for driver candidates when doing so, and we let each driver
to test if it is resposible for the specified PCI device.
2021-06-09 22:44:09 +04:30
..
ARP.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
E1000NetworkAdapter.cpp Kernel: Introduce the NetworkingManagement singleton 2021-06-09 22:44:09 +04:30
E1000NetworkAdapter.h Kernel: Introduce the NetworkingManagement singleton 2021-06-09 22:44:09 +04:30
EthernetFrameHeader.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
EtherType.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ICMP.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
IPv4.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
IPv4Socket.cpp Kernel: Introduce the NetworkingManagement singleton 2021-06-09 22:44:09 +04:30
IPv4Socket.h Kernel: Dont try to register ephemeral TCP ports twice 2021-06-01 23:32:27 +04:30
IPv4SocketTuple.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
LocalSocket.cpp Kernel: Switch LocalSocket to IntrusiveList from InlineLinkedList 2021-05-26 20:24:32 +02:00
LocalSocket.h Kernel: Switch LocalSocket to IntrusiveList from InlineLinkedList 2021-05-26 20:24:32 +02:00
LoopbackAdapter.cpp Kernel: Introduce the NetworkingManagement singleton 2021-06-09 22:44:09 +04:30
LoopbackAdapter.h Kernel: Introduce the NetworkingManagement singleton 2021-06-09 22:44:09 +04:30
NE2000NetworkAdapter.cpp Kernel: Introduce the NetworkingManagement singleton 2021-06-09 22:44:09 +04:30
NE2000NetworkAdapter.h Kernel: Introduce the NetworkingManagement singleton 2021-06-09 22:44:09 +04:30
NetworkAdapter.cpp Kernel: Introduce the NetworkingManagement singleton 2021-06-09 22:44:09 +04:30
NetworkAdapter.h Kernel: Introduce the NetworkingManagement singleton 2021-06-09 22:44:09 +04:30
NetworkingManagement.cpp Kernel: Introduce the NetworkingManagement singleton 2021-06-09 22:44:09 +04:30
NetworkingManagement.h Kernel: Introduce the NetworkingManagement singleton 2021-06-09 22:44:09 +04:30
NetworkTask.cpp Kernel: Introduce the NetworkingManagement singleton 2021-06-09 22:44:09 +04:30
NetworkTask.h Kernel: Avoid deadlock when trying to send packets from the NetworkTask 2021-04-30 23:11:56 +02:00
Routing.cpp Kernel: Introduce the NetworkingManagement singleton 2021-06-09 22:44:09 +04:30
Routing.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
RTL8139NetworkAdapter.cpp Kernel: Introduce the NetworkingManagement singleton 2021-06-09 22:44:09 +04:30
RTL8139NetworkAdapter.h Kernel: Introduce the NetworkingManagement singleton 2021-06-09 22:44:09 +04:30
Socket.cpp Kernel: Introduce the NetworkingManagement singleton 2021-06-09 22:44:09 +04:30
Socket.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TCP.h Kernel: Set MSS option for outbound TCP SYN packets 2021-05-12 13:47:07 +02:00
TCPSocket.cpp Kernel: Introduce the NetworkingManagement singleton 2021-06-09 22:44:09 +04:30
TCPSocket.h Kernel: Dont try to register ephemeral TCP ports twice 2021-06-01 23:32:27 +04:30
UDP.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
UDPSocket.cpp Kernel: Make sure we increment the TX counter 2021-06-04 19:06:47 +02:00
UDPSocket.h Kernel: Make UDPSocket::create() API OOM safe 2021-05-13 16:21:53 +02:00