⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module quic

Module quic 

Source
Expand description

QUIC Protocol Implementation (RFC 9000)

Provides QUIC transport protocol support including:

  • Variable-length integer encoding (RFC 9000 Section 16)
  • Long and short header packet formats
  • Frame encoding/decoding (ACK, STREAM, CRYPTO, etc.)
  • Connection management with state machine
  • Bidirectional and unidirectional stream multiplexing
  • Loss detection and recovery (RFC 9002)

All arithmetic is integer-only (no floating point) for no_std compatibility.

Structs§

AckRange
An ACK range (gap + ack_range_length).
ConnectionId
A QUIC Connection ID (0-20 bytes).
EcnCounts
ECN counts for ACK frames.
LongHeader
A parsed QUIC long header.
LossDetector
Loss detection state for a connection.
PnSpace
Packet number space state.
QuicConnection
QUIC connection.
QuicStream
A single QUIC stream.
RttEstimator
RTT estimator using Jacobson’s algorithm (RFC 6298), integer-only.
SentPacketInfo
Metadata about a sent packet.
ShortHeader
A parsed QUIC short header (1-RTT).
StreamManager
Manages all streams for a connection.

Enums§

ConnectionState
QUIC connection state machine.
LongPacketType
QUIC long header packet types.
PacketNumberSpace
QUIC packet number space.
QuicError
QUIC transport error codes (RFC 9000 Section 20)
QuicFrame
QUIC frame types.
StreamState
Stream state machine.
StreamType
Stream type classification from stream ID.

Constants§

QUIC_V1
QUIC version 1 (RFC 9000)

Type Aliases§

QuicResult