Skip to main content

Module network

Module network 

Source
Expand description

The network simulation.

This contains code that simulates the Internet and upstream routers. It does not contain any emulation of Linux networking behaviour, which exists in the crate::host module.

Modules§

dns
graph
packet
router
A Router routes PacketRcs between PacketDevices and the simulated network, enforcing configured send/receive rate limits on the interfaces and the upstream/downstream links to a modeled network provider.

Enums§

RateLimit
Specifies a throughput limit that should be enforced when forwarding packets.

Traits§

PacketDevice