1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-23 19:12:06 +00:00
serenity/Kernel/Net
Idan Horowitz cf271183b4 Kernel: Make Process::current() return a Process& instead of Process*
This has several benefits:
1) We no longer just blindly derefence a null pointer in various places
2) We will get nicer runtime error messages if the current process does
turn out to be null in the call location
3) GCC no longer complains about possible nullptr dereferences when
compiling without KUBSAN
2021-08-19 23:49:53 +02:00
..
ARP.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
E1000ENetworkAdapter.cpp Kernel: Add convenience values to the Memory::Region::Access enum 2021-08-06 22:25:00 +02:00
E1000ENetworkAdapter.h Kernel: Make NetworkAdapter::class_name() return a StringView 2021-07-11 17:59:38 +02:00
E1000NetworkAdapter.cpp Kernel: Add convenience values to the Memory::Region::Access enum 2021-08-06 22:25:00 +02:00
E1000NetworkAdapter.h Kernel: Move Kernel/Memory/ code into Kernel::Memory namespace 2021-08-06 14:05:58 +02:00
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: Make Process::current() return a Process& instead of Process* 2021-08-19 23:49:53 +02:00
IPv4Socket.h Kernel: Convert IPv4 socket list from HashTable to IntrusiveList 2021-08-15 16:53:03 +02:00
IPv4SocketTuple.h Kernel: Move Mutex into Locking/ 2021-08-07 11:48:00 +02:00
LocalSocket.cpp Kernel: Make Process::current() return a Process& instead of Process* 2021-08-19 23:49:53 +02:00
LocalSocket.h Kernel: Handle OOM from DoubleBuffer usage in Net/LocalSocket 2021-08-03 18:54:23 +02:00
LoopbackAdapter.cpp Kernel: LoopbackAdapter::create() => try_create() 2021-07-11 18:00:31 +02:00
LoopbackAdapter.h Kernel: Add interface to read link speed and duplex for NetworkAdapter 2021-08-03 10:20:51 +02:00
NE2000NetworkAdapter.cpp Kernel/NE2000: Harvest entropy from NE2000 interrupts 2021-07-24 21:28:22 +02:00
NE2000NetworkAdapter.h Kernel: Add interface to read link speed and duplex for NetworkAdapter 2021-08-03 10:20:51 +02:00
NetworkAdapter.cpp Kernel: Add convenience values to the Memory::Region::Access enum 2021-08-06 22:25:00 +02:00
NetworkAdapter.h Kernel: Handle OOM when allocating Packet KBuffers 2021-08-03 18:54:23 +02:00
NetworkingManagement.cpp Everywhere: Replace AK::Singleton => Singleton 2021-08-08 00:03:45 +02:00
NetworkingManagement.h Kernel: Rename Kernel/VM/ to Kernel/Memory/ 2021-08-06 14:05:58 +02:00
NetworkTask.cpp Kernel: Fix a crash introduced by my TCP RST fix 2021-08-18 10:38:26 +02:00
NetworkTask.h Kernel: Avoid deadlock when trying to send packets from the NetworkTask 2021-04-30 23:11:56 +02:00
Routing.cpp Kernel: Move ARP debug information to ARP_DEBUG 2021-08-15 21:53:29 +02:00
Routing.h Kernel: Migrate ARP table locking to ProtectedValue 2021-08-07 11:48:00 +02:00
RTL8139NetworkAdapter.cpp Kernel: Add convenience values to the Memory::Region::Access enum 2021-08-06 22:25:00 +02:00
RTL8139NetworkAdapter.h Kernel: Move Kernel/Memory/ code into Kernel::Memory namespace 2021-08-06 14:05:58 +02:00
RTL8168NetworkAdapter.cpp Kernel: Add convenience values to the Memory::Region::Access enum 2021-08-06 22:25:00 +02:00
RTL8168NetworkAdapter.h Kernel: Move Kernel/Memory/ code into Kernel::Memory namespace 2021-08-06 14:05:58 +02:00
Socket.cpp Kernel: Make Process::current() return a Process& instead of Process* 2021-08-19 23:49:53 +02:00
Socket.h Kernel: Add so_error to keep track of the socket's error state 2021-08-10 20:59:53 +02:00
TCP.h Kernel: Set MSS option for outbound TCP SYN packets 2021-05-12 13:47:07 +02:00
TCPSocket.cpp Kernel: Convert TCP retransmit queue from HashTable to IntrusiveList 2021-08-15 16:53:03 +02:00
TCPSocket.h Kernel: Convert TCP retransmit queue from HashTable to IntrusiveList 2021-08-15 16:53:03 +02:00
UDP.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
UDPSocket.cpp Kernel: Add so_error to keep track of the socket's error state 2021-08-10 20:59:53 +02:00
UDPSocket.h Kernel: Migrate UDP socket table locking to ProtectedValue 2021-08-07 11:48:00 +02:00