Expand description
Netemul utilities.
Modules§
- guest
- Methods for creating and interacting with virtualized guests in netemul tests.
Structs§
- Interface
Config TestInterface
configuration.- Packet
Capture - The object that has the same life as the packet capture, once the object is dropped, the underlying packet capture will be stopped.
- Test
Endpoint - A virtual network endpoint backed by Netemul.
- Test
Fake Endpoint - A virtual fake network endpoint backed by Netemul.
- Test
Interface - A
TestEndpoint
that is installed in a realm’s Netstack. - Test
Network - A virtual Network.
- Test
Network Setup - A set of virtual networks and endpoints.
- Test
Realm - A realm within a netemul sandbox.
- Test
Sandbox - A test sandbox backed by a
fnetemul::SandboxProxy
.
Enums§
- Dhcp
Client Version - The DHCP client version.
- InStack
- The in-Netstack2 DHCP client.
- OutOf
Stack - The out-of-stack DHCP client.
Constants§
- DEFAULT_
MTU - The default MTU used in netemul endpoint configurations.
- NETDEVICE_
DEVFS_ PATH - The devfs path at which endpoints show up.
Traits§
- Dhcp
Client - Abstraction for how DHCP client functionality is provided.
- Realm
TcpListener - Trait describing TCP listeners bound in a testing realm.
- Realm
TcpStream - Trait describing TCP streams in a testing realm.
- Realm
UdpSocket - Trait describing UDP sockets that can be bound in a testing realm.
Functions§
- devfs_
device_ path - Returns the full path for a device node
node_name
relative to devfs root. - new_
endpoint_ config - Creates a common netemul endpoint configuration for tests.