smoltcp-rs/smoltcp
View on GitHub ↗ ★ 4,638 Rust
a smol tcp/ip stack
13 mentions on Hacker News by 11 people: 3 stories, 10 comments · first 2016-12-31 · latest 2026-03-13
20082026
-
Similar https://github.com/smoltcp-rs/smoltcp
comment by hermanradtke · 2026-03-13 · in WolfIP: Lightweight TCP/IP stack with no dynamic memory allocations -
There isn't something as mature as gVisor afaik. https://github.com/smoltcp-rs/smoltcp implements many of the same abstractions as gVisor.
comment by gwehrli · 2025-12-19 · in GotaTun – Mullvad's WireGuard Implementation in Rust -
> no networking support Would something like Smoltcp be of help here? https://github.com/smoltcp-rs/smoltcp Great project either way! How do you decide which sys calls to work on? Is is based on what the user space binaries demand?
comment by andrewl-hn · 2025-11-28 · in Moss: a Rust Linux-compatible kernel in 26,000 lines of code -
And similarly, for Rust: https://github.com/smoltcp-rs/smoltcp I've been using it in a toy OS project and it works brilliantly.
comment by Gazoche · 2024-09-06 · in LwIP – Lightweight IP Stack -
There is also the Rust TCP/IP stack https://github.com/smoltcp-rs/smoltcp which is not mentioned as reference (and it's probably more useful to have a look there than querying ChatGPT).
comment by Klasiaster · 2023-11-09 · in Implementing TCP in Rust -
This seems close to what you're asking for: https://github.com/smoltcp-rs/smoltcp A small-ish tcp/ip stack, in rust, that can use TAP so you're down in the weeds making the packets.
comment by tyingq · 2022-07-20 · in Introduction to TCP and Sockets (2001) -
…input, maybe even over the network? This here is a kernel including a memory-safe TCP/IP stack ( https://github.com/smoltcp-rs/smoltcp/ ), and not having it crash or be full of security vulnerabilities due to preventable memory corruption…
comment by Klasiaster · 2021-10-25 · in Kerla: Monolithic kernel in Rust, aiming for Linux ABI compatibility -
…[0] https://docs.rs/smoltcp/0.6.0/smoltcp/ [1] https://news.ycombinator.com/item?id=17896175 [2] https://github.com/smoltcp-rs/smoltcp/blob/master/README.md [3] https://news.ycombinator.com/item?id=20241138 [4]…
comment by ignoramous · 2020-04-15 · in A TCP/IP Tutorial (1991) -
…appliances to userspace Linux. In fact, it has instructions for Hosted Usage[0] in the README. [0]: https://github.com/m-labs/smoltcp#hosted-usage-examples
comment by roblabla · 2019-06-20 · in Smoltcp: A small TCP/IP stack in Rust -
…either simply by reading the original late 70s RFCs. I literally did this. It's called smoltcp ( https://github.com/m-labs/smoltcp ) and we use it in production as an lwIP replacement with great results.
comment by whitequark_ · 2018-09-02 · in USB-C Explorer – A development board to get started working with USB Type-C