Expand description
The Consomme user-mode TCP stack.
This crate implements a user-mode TCP stack designed for use with virtualization. The guest operating system sends Ethernet frames, and this crate parses them and distributes the data streams to individual TCP and UDP sockets.
The current implementation supports OS-backed TCP and UDP sockets, essentially causing this stack to act as a NAT implementation, providing guest OS networking by leveraging the host’s network stack.
This implementation includes a small DHCP server for address assignment.
Structs§
- Access
- An accessor for consomme.
- Checksum
State - Specifies the checksum state for a packet being transmitted.
- Consomme
- A consomme instance.
- Consomme
Control - Provide dynamic updates during runtime.
- Consomme
State - Dynamic networking properties of a consomme endpoint.
- Invalid
Cidr - An error indicating that the CIDR is invalid.
Enums§
- Consomme
Message Error - Error type returned from some dynamic update functions like bind_port.
- Drop
Reason - The reason a packet was dropped without being handled.
- Error
- An error to create a consomme instance.
Constants§
- MIN_MTU
- The minimum MTU for receives supported by Consomme (including the Ethernet frame).
Traits§
- Client
- A consomme client.
Type Aliases§
- Consomme
State Update Fn - Callback to modify network state dynamically.