MCPcopy Index your code
hub / github.com/canndrew/netsim

github.com/canndrew/netsim @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
199 symbols 455 edges 32 files 47 documented · 24%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

Pointer (Interface)
(no doc) [5 implementers]
src/packet.rs
SinkStreamExt (Interface)
Extension trait for types which are both `Sink`s and `Stream`s. [1 implementers]
src/stream_ext.rs
IpSinkStream (Interface)
Helper trait for types which are both `Sink`s and `Stream`s of `Box `. [1 implementers]
src/iface/stream.rs

Core symbols most depended-on inside this repo

spawn
called by 21
src/namespace.rs
push
called by 20
src/adapter/delay.rs
source_addr
called by 18
src/packet.rs
ipv4_header_len
called by 18
src/packet.rs
destination_addr
called by 17
src/packet.rs
build
called by 13
src/iface/create.rs
write_u16
called by 11
src/packet.rs
spawn
called by 10
src/machine.rs

Shape

Method 132
Function 32
Class 28
Enum 4
Interface 3

Languages

Rust100%

Modules by API surface

src/packet.rs40 symbols
src/network.rs19 symbols
src/device/nat/mod.rs18 symbols
src/iface/create.rs15 symbols
src/adapter/loss.rs13 symbols
src/device/hub.rs10 symbols
src/device/channel.rs10 symbols
src/adapter/delay.rs10 symbols
src/namespace.rs9 symbols
src/machine.rs9 symbols
src/iface/configure.rs9 symbols
src/iface/stream.rs8 symbols

For agents

$ claude mcp add netsim \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact