ladybird/Kernel/Net
Andreas Kling 77cb5594b0 IPv4: Only buffer payload bytes for SOCK_STREAM sockets
Since stream sockets don't actually need to deliver packets-at-a-time
data in recvfrom(), they can just buffer the payload bytes instead.
This avoids keeping one KBuffer per incoming packet in the receive
queue, which was a big performance issue in ProtocolServer.

This code is definitely not perfect and is something we should keep
improving over time.
2019-12-14 09:43:31 +01:00
..
ARP.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
E1000NetworkAdapter.cpp Kernel: Remove now-unused singleton methods from our network devices 2019-08-29 06:25:06 +02:00
E1000NetworkAdapter.h Kernel: Remove now-unused singleton methods from our network devices 2019-08-29 06:25:06 +02:00
EthernetFrameHeader.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
EtherType.h Kernel: Ignore IPv6 packets; log unknown Ethernet payload types 2019-08-29 06:25:06 +02:00
ICMP.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
IPv4.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
IPv4Socket.cpp IPv4: Only buffer payload bytes for SOCK_STREAM sockets 2019-12-14 09:43:31 +01:00
IPv4Socket.h IPv4: Only buffer payload bytes for SOCK_STREAM sockets 2019-12-14 09:43:31 +01:00
IPv4SocketTuple.h Kernel: Refactor TCP/IP stack 2019-08-06 16:21:17 +02:00
LocalSocket.cpp AK: Use size_t for the length of strings 2019-12-09 17:51:21 +01:00
LocalSocket.h Kernel: Add getsockopt(SO_PEERCRED) for local sockets 2019-12-06 18:38:36 +01:00
LoopbackAdapter.cpp Kernel+ifconfig: Add an MTU value to NetworkAdapter 2019-11-28 14:14:26 +01:00
LoopbackAdapter.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
MACAddress.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
NetworkAdapter.cpp Kernel+ifconfig: Add an MTU value to NetworkAdapter 2019-11-28 14:14:26 +01:00
NetworkAdapter.h Kernel+ifconfig: Add an MTU value to NetworkAdapter 2019-11-28 14:14:26 +01:00
NetworkTask.cpp Kernel: Use a WaitQueue in NetworkTask 2019-12-01 16:47:49 +01:00
NetworkTask.h Kernel: Move networking related files into Kernel/Net/. 2019-04-02 19:54:38 +02:00
Routing.cpp Kernel: Implement is_zero for RoutingDecision 2019-08-29 06:25:06 +02:00
Routing.h Kernel: Implement is_zero for RoutingDecision 2019-08-29 06:25:06 +02:00
RTL8139NetworkAdapter.cpp RTL8139: Fix bogus (but harmless) TX buffer index in send_raw() 2019-09-09 08:51:08 +02:00
RTL8139NetworkAdapter.h Kernel: Remove now-unused singleton methods from our network devices 2019-08-29 06:25:06 +02:00
Socket.cpp Kernel: Add getsockopt(SO_PEERCRED) for local sockets 2019-12-06 18:38:36 +01:00
Socket.h Kernel: Add getsockopt(SO_PEERCRED) for local sockets 2019-12-06 18:38:36 +01:00
TCP.h Kernel: Refactor TCP/IP stack 2019-08-06 16:21:17 +02:00
TCPSocket.cpp IPv4: Protect the list of unacked TCP packets with a lock 2019-11-23 21:44:47 +01:00
TCPSocket.h IPv4: Protect the list of unacked TCP packets with a lock 2019-11-23 21:44:47 +01:00
UDP.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
UDPSocket.cpp ByteBuffer: Remove pointer() in favor of data() 2019-09-30 08:57:01 +02:00
UDPSocket.h Kernel: Move socket role tracking to the Socket class itself 2019-08-11 16:30:43 +02:00