<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sbos.git/kernel/network, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.kling.gg/sbos.git/atom?h=master</id>
<link rel='self' href='https://git.kling.gg/sbos.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.kling.gg/sbos.git/'/>
<updated>2024-12-12T15:03:08+00:00</updated>
<entry>
<title>formatting: Use clang-format on all projects</title>
<updated>2024-12-12T15:03:08+00:00</updated>
<author>
<name>Anton Kling</name>
<email>anton@kling.gg</email>
</author>
<published>2024-12-12T15:03:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kling.gg/sbos.git/commit/?id=b033314bf1901d436dc71d41d5e1f37dda47e511'/>
<id>urn:sha1:b033314bf1901d436dc71d41d5e1f37dda47e511</id>
<content type='text'>
This commit also add braces to all `if` statements.
</content>
</entry>
<entry>
<title>changes</title>
<updated>2024-11-27T23:12:17+00:00</updated>
<author>
<name>Anton Kling</name>
<email>anton@kling.gg</email>
</author>
<published>2024-11-27T23:06:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kling.gg/sbos.git/commit/?id=54869df7835565d0983096f65326cdd2d5f4f3d8'/>
<id>urn:sha1:54869df7835565d0983096f65326cdd2d5f4f3d8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>kernel: stuff</title>
<updated>2024-10-14T19:42:38+00:00</updated>
<author>
<name>Anton Kling</name>
<email>anton@kling.gg</email>
</author>
<published>2024-10-14T19:42:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kling.gg/sbos.git/commit/?id=87af93c7521be331a5794c6a53f31d13b3a24baa'/>
<id>urn:sha1:87af93c7521be331a5794c6a53f31d13b3a24baa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>TCP: Don't free buffer prematurely</title>
<updated>2024-10-14T18:57:00+00:00</updated>
<author>
<name>Anton Kling</name>
<email>anton@kling.gg</email>
</author>
<published>2024-10-14T18:57:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kling.gg/sbos.git/commit/?id=a5b508d1fb751015ecb9b6701749dcdcd81e3071'/>
<id>urn:sha1:a5b508d1fb751015ecb9b6701749dcdcd81e3071</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Kernel/Networking: Modify outgoing packet in place</title>
<updated>2024-10-06T09:12:16+00:00</updated>
<author>
<name>Anton Kling</name>
<email>anton@kling.gg</email>
</author>
<published>2024-10-06T09:12:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kling.gg/sbos.git/commit/?id=f18beba3cb3d85ed6e0f44fdff9256c50adcc5e1'/>
<id>urn:sha1:f18beba3cb3d85ed6e0f44fdff9256c50adcc5e1</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Kernel/Net: Don't use kmalloc to create send buffers</title>
<updated>2024-07-08T19:37:15+00:00</updated>
<author>
<name>Anton Kling</name>
<email>anton@kling.gg</email>
</author>
<published>2024-07-08T19:37:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kling.gg/sbos.git/commit/?id=e49d2a9fa5a485c33a250ce843d44fc6dedea8b5'/>
<id>urn:sha1:e49d2a9fa5a485c33a250ce843d44fc6dedea8b5</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Kernel: Add queue syscall and improve TCP</title>
<updated>2024-07-06T18:46:22+00:00</updated>
<author>
<name>Anton Kling</name>
<email>anton@kling.gg</email>
</author>
<published>2024-07-06T18:46:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kling.gg/sbos.git/commit/?id=6d6289f0fb3b07b0d1a02f671df6b096318d4a4c'/>
<id>urn:sha1:6d6289f0fb3b07b0d1a02f671df6b096318d4a4c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>TCP: Add back support for listening on a socket</title>
<updated>2024-07-05T10:46:50+00:00</updated>
<author>
<name>Anton Kling</name>
<email>anton@kling.gg</email>
</author>
<published>2024-07-04T21:03:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kling.gg/sbos.git/commit/?id=6bf371cc35c11890ab18c32aabd11bf8a816e574'/>
<id>urn:sha1:6bf371cc35c11890ab18c32aabd11bf8a816e574</id>
<content type='text'>
</content>
</entry>
<entry>
<title>TCP: Allow delay for sends</title>
<updated>2024-07-04T18:10:47+00:00</updated>
<author>
<name>Anton Kling</name>
<email>anton@kling.gg</email>
</author>
<published>2024-07-04T18:09:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kling.gg/sbos.git/commit/?id=afc2b4d4766b0e4ee8519ac6fcd98353d3864322'/>
<id>urn:sha1:afc2b4d4766b0e4ee8519ac6fcd98353d3864322</id>
<content type='text'>
This is not at all optimal for applications that already buffer their
data but can have a huge impact on those that don't. Applications that
don't wish to use this should disable this for their socket.
</content>
</entry>
<entry>
<title>Bug fix: Fix undefined behavior of ipv4_t type.</title>
<updated>2024-06-28T15:57:45+00:00</updated>
<author>
<name>Anton Kling</name>
<email>anton@kling.gg</email>
</author>
<published>2024-06-28T15:56:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kling.gg/sbos.git/commit/?id=b747eb399c556858e05de51b1bb3e875c834c8e0'/>
<id>urn:sha1:b747eb399c556858e05de51b1bb3e875c834c8e0</id>
<content type='text'>
Turns out unions that include arrays and a integer can have UB due to
endianess not being the same across systems.
</content>
</entry>
</feed>
