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
Params - Dynamic networking properties of a consomme endpoint.
- Invalid
Cidr - An error indicating that the CIDR is invalid.
- TcpBuffer
Bounds - Bounds for a per-connection TCP ring buffer.
Enums§
- Bind
Error - An error from a port bind or unbind operation.
- Drop
Reason - The reason a packet was dropped without being handled.
- Error
- An error to create a consomme instance.
- IpVersion
- Internet protocol version.
- Static
DnsRecord - DNS record type and data for a static record.
- Static
DnsRecord Error - An error adding a static DNS record.
Constants§
- MIN_MTU
- The minimum MTU for receives supported by Consomme (including the Ethernet frame).
Traits§
- Client
- A consomme client.