Setting up a TCP state machine in my rust kernel

Опубликовано: 06 Май 2026
на канале: sphaerophoria
737
22

Stream from October 2, 2023 on   / sphaerophoria  

At the end of last stream we had a TCP proof of concept that could package TCP frames up to the point where we could send a reasonable syn-ack in response to a syn request. Going further than this needs some state management, and how we manage state depends on the API we design. In this stream we designed a TCP api, implemented an async channel, and hooked up the TCP state to the appropriate async consumers in our kernel demo

Source code is available at https://github.com/sphaerophoria/stre...