summaryrefslogtreecommitdiff
path: root/kernel/network/ipv4.c
AgeCommit message (Collapse)Author
2024-10-06Kernel/Networking: Modify outgoing packet in placeAnton Kling
This avoids creation of new buffers and unnecessary memcpys. The old interface still exists for UDP but will be removed when I am less lazy. From testing it does not appear to have any performance improvement but this is most likely due to other bottlenecks as extra copies should always be worse.
2024-07-08Kernel/Net: Don't use kmalloc to create send buffersAnton Kling
Current method is also really bad since it uses multiple copies when it should instead just copy to the send buffer of the network card directly. But I have other things that I want to prioritize first.
2024-06-28Bug fix: Fix undefined behavior of ipv4_t type.Anton Kling
Turns out unions that include arrays and a integer can have UB due to endianess not being the same across systems.
2024-06-26Networking stuffAnton Kling
TCP is now in a somewhat good state
2024-06-11TCP stuffAnton Kling
2024-03-17stuffAnton Kling
2024-02-21New clang-format optionsAnton Kling
2023-11-28Meta: Apply new clang-format rules to kernelAnton Kling
2023-11-22Kernel/RTL8139/Networking fixesAnton Kling
This is just a commit containing multiple fixes since I am too lazy to split them up.
2023-11-22Meta: Cleanup of header files such that they are partially sharedAnton Kling
The /include directory contains definitons that both the kernel and libc need to be in sync.
2023-11-10Kernel Style: Change uint*_t -> u*Anton Kling
2023-11-01Kernel: Add a simple TCP implementationAnton Kling
2023-10-31Meta: Move kernel and userland to their own folders.Anton Kling
This is to allow both the kernel and the userland to share certain header files and to make the folder structure a bit more clear.