Age | Commit message (Collapse) | Author |
|
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.
|
|
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.
|
|
Turns out unions that include arrays and a integer can have UB due to
endianess not being the same across systems.
|
|
TCP is now in a somewhat good state
|
|
|
|
|
|
|
|
|
|
This is just a commit containing multiple fixes since I am too lazy to
split them up.
|
|
The /include directory contains definitons that both the kernel and libc
need to be in sync.
|
|
|
|
|
|
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.
|