Skip to main content

Crate yip_wire

Crate yip_wire 

Source
Expand description

Wire framing for the yip data plane: keyed header-protection and coverage-based authentication. Behavior lands in milestone M2; this milestone establishes the public surface later crates depend on.

Structs§

Codec
Wire codec: frames Frames with a SipHash coverage-auth tag and keyed header protection. Keys are injected (real session keys arrive in M3).
Frame
A single on-wire frame carrying one FEC symbol.

Enums§

WireError
Errors from decoding a wire datagram.

Constants§

HEADER_LEN
Length of the logical (and protected) frame header in bytes.
MIN_FRAME
Smallest valid frame: header + tag, empty payload.
TAG_LEN
Length of the trailing coverage-auth tag in bytes.

Traits§

WireCodec
Encodes Frames to datagrams and back. Implemented in M2.