1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 21:08:12 +00:00
serenity/Kernel/Net
Lenny Maiorani e0ab7763da AK: Combine SinglyLinkedList and SinglyLinkedListWithCount
Using policy based design `SinglyLinkedList` and
`SinglyLinkedListWithCount` can be combined into one class which takes
a policy to determine how to keep track of the size of the list. The
default policy is to use list iteration to count the items in the list
each time. The `WithCount` form is a different policy which tracks the
size, but comes with the overhead of storing the count and
incrementing/decrementing on each modification.

This model is extensible to have other forms of counting by
implementing only a new policy instead of implementing a totally new
type.
2023-01-02 20:13:24 +00:00
..
Intel Kernel: Propagate errors in E1000NetworkAdapter 2022-12-17 18:34:57 +01:00
NE2000 Kernel: Propagate errors during network adapter detection/initialization 2022-12-13 11:20:11 +01:00
Realtek Kernel: Propagate errors during network adapter detection/initialization 2022-12-13 11:20:11 +01:00
ARP.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
EthernetFrameHeader.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
EtherType.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ICMP.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
IPv4.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
IPv4Socket.cpp AK+Kernel: Handle some allocation failures in IPv4Socket and TCPSocket 2022-11-01 14:31:48 +00:00
IPv4Socket.h AK: Combine SinglyLinkedList and SinglyLinkedListWithCount 2023-01-02 20:13:24 +00:00
IPv4SocketTuple.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
LocalSocket.cpp Kernel: Make sys$recvfrom() with MSG_DONTWAIT not so racy 2022-08-21 16:45:42 +02:00
LocalSocket.h Kernel: Make sys$recvfrom() with MSG_DONTWAIT not so racy 2022-08-21 16:45:42 +02:00
LoopbackAdapter.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
LoopbackAdapter.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
NetworkAdapter.cpp Kernel: Move InterruptDisabler out of Arch directory 2022-10-17 20:11:31 +02:00
NetworkAdapter.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
NetworkingManagement.cpp Kernel: Propagate errors during network adapter detection/initialization 2022-12-13 11:20:11 +01:00
NetworkingManagement.h Kernel: Propagate errors during network adapter detection/initialization 2022-12-13 11:20:11 +01:00
NetworkTask.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +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: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
Routing.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
Socket.cpp Kernel: Make sys$recvfrom() with MSG_DONTWAIT not so racy 2022-08-21 16:45:42 +02:00
Socket.h Kernel: Make sys$recvfrom() with MSG_DONTWAIT not so racy 2022-08-21 16:45:42 +02:00
TCP.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
TCPSocket.cpp Kernel: Check against TCP packet size overflows in checksum calculation 2022-12-14 15:17:05 +00:00
TCPSocket.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
UDP.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
UDPSocket.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
UDPSocket.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00