Module proxy
Available on crate features
std and udp only.Expand description
Bounded, packet-preserving forwarding between two fixed UDP peers: the datagram counterpart of forwarding a byte stream untouched.
This is address translation, not an IP tunnel. Payloads and datagram boundaries are preserved, including empty datagrams and GRO groups. ECN preservation is explicit; timestamps, interface indices and original destinations remain local receive metadata. No QUIC parsing, retransmission or congestion control occurs.
Structs§
- Datagram
Forward Service - Per-association memory and metadata policy.
- Datagram
ToProxy Bridge - Connects an egress socket for each ingress association, with a pluggable connector, and
hands both to the inner service as a
BridgeIo. - Datagram
ToProxy Bridge Layer - A
Layerthat producesDatagramToProxyBridgeservices. - Peer
- An application-authorized peer on a dedicated receive socket.
- UdpConnector
- Connects a
UdpPacketSocketto the request’s IP target, configured by itsUdpSocketConfig. Resolving a name is the caller’s: a domain target is refused.
Enums§
- Datagram
Forward Error - A forwarding failure ends both directions; it never authorizes a route change.
- EcnPolicy
- ECN behavior selected before either direction starts sending.
Traits§
- Datagram
Bridge Input - What a
DatagramToProxyBridgebridges: an ingress socket, alone or with what an inspection learned about it, handed on with its egress.