shadow / shadow

Shadow is a discrete-event network simulator that directly executes real application code, enabling you to simulate distributed systems with thousands of network-connected processes in realistic and scalable private network experiments using your laptop, desktop, or server running Linux.

Home Page:https://shadow.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Replace the C `Packet` with a rust version

stevenengler opened this issue · comments

Moving the packet object to rust will make it easier to support things like ICMP packets and packets with payloads consisting of multiple buffers (specifically Bytes objects).

The C TCP code is the last socket type written in C, so we'll need to wait until we've removed the C TCP code before migrating the packet object to rust. The remaining C code that interacts with the packet I think will be just the network interface.