Show HN: I integrated my from-scratch TCP/IP stack into the xv6-riscv OS

pandax381 | 146 points

This is amazing work. Most people don’t realize how much effort and depth there is behind writing a TCP/IP stack and plugging it into xv6 with virtio-net and sockets. Huge respect for making it public. Projects like this are gold for those of us who love low-level systems.

Tony_Delco | 6 days ago

Awesome work! Thank you for showing it to the world!

I've considered writing a network stack myself. It's much more complex than most people can imagine. We have great tooling for TCP and that makes people believe it's simple technology. It's not.

dancek | 6 days ago

Well done. I am actually solving the labs rn. I am on mmap, trying to get fork to work :)

AbbeFaria | 6 days ago

Are you using any RISC-V extensions? If so, which? I couldn't find this information on the xv6 project page. It would be cool if you could run this project in bare metal.

lesser-shadow | 6 days ago

Well done! Thank you for sharing

theosp | 6 days ago

The readme implies that UDP is included. Is that true?

cardiffspaceman | 6 days ago