ladybird/Kernel/Net
Liav A d8b514873f Kernel: Use FixedStringBuffer for fixed-length strings in syscalls
Using the kernel stack is preferable, especially when the examined
strings should be limited to a reasonable length.

This is a small improvement, because if we don't actually move these
strings then we don't need to own heap allocations for them during the
syscall handler function scope.

In addition to that, some kernel strings are known to be limited, like
the hostname string, for these strings we also can use FixedStringBuffer
to store and copy to and from these buffers, without using any heap
allocations at all.
2023-08-09 21:06:54 -06:00
..
Intel Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
Realtek Everywhere: Move global Kernel pattern code to Kernel/Library directory 2023-06-04 21:32:34 +02:00
VirtIO Kernel: Add an initial implementation of virtio-net driver 2023-07-11 00:49:11 -06: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 Kernel: Use FixedStringBuffer for fixed-length strings in syscalls 2023-08-09 21:06:54 -06:00
IPv4Socket.h Kernel/Net: Rework ephemeral port allocation 2023-07-29 16:51:58 -06:00
IPv4SocketTuple.h Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
LocalSocket.cpp Everywhere: Move global Kernel pattern code to Kernel/Library directory 2023-06-04 21:32:34 +02:00
LocalSocket.h Everywhere: Move global Kernel pattern code to Kernel/Library directory 2023-06-04 21:32:34 +02:00
LoopbackAdapter.cpp Kernel: Put loopback adapter debug spam behind a flag 2023-06-18 08:50:33 +01:00
LoopbackAdapter.h Kernel/Net: Make the LoopbackAdapter initializer to use ErrorOr pattern 2023-04-14 19:27:56 +02:00
NetworkAdapter.cpp Kernel: Move InterruptDisabler to the Interrupts subdirectory 2023-06-04 21:32:34 +02:00
NetworkAdapter.h Everywhere: Move global Kernel pattern code to Kernel/Library directory 2023-06-04 21:32:34 +02:00
NetworkingManagement.cpp Kernel: Add an initial implementation of virtio-net driver 2023-07-11 00:49:11 -06:00
NetworkingManagement.h Kernel/Net: Iron out the locking mechanism across the subsystem 2023-04-14 19:27:56 +02:00
NetworkTask.cpp Kernel: Don't allocate memory for names of processes and threads 2023-08-09 21:06:54 -06:00
NetworkTask.h Kernel: Avoid deadlock when trying to send packets from the NetworkTask 2021-04-30 23:11:56 +02:00
Routing.cpp Everywhere: Run clang-format 2023-07-08 10:32:56 +01:00
Routing.h Kernel: Move all tasks-related code to the Tasks subdirectory 2023-06-04 21:32:34 +02:00
Socket.cpp Kernel: Use FixedStringBuffer for fixed-length strings in syscalls 2023-08-09 21:06:54 -06:00
Socket.h Kernel: Use UnixDateTime wherever applicable 2023-05-24 23:18:07 +02:00
TCP.h Everywhere: Remove unused includes of AK/StdLibExtras.h 2023-01-02 20:27:20 -05:00
TCPSocket.cpp Kernel/Net: Rework ephemeral port allocation 2023-07-29 16:51:58 -06:00
TCPSocket.h Kernel/Net: Rework ephemeral port allocation 2023-07-29 16:51:58 -06:00
UDP.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
UDPSocket.cpp Kernel/Net: Rework ephemeral port allocation 2023-07-29 16:51:58 -06:00
UDPSocket.h Kernel/Net: Rework ephemeral port allocation 2023-07-29 16:51:58 -06:00