Expand description
Definitions of QUIC packet types.
Modules§
- io
- The io module provides the functions to parse and write the packet type.
- long
- Definitions of packet types related to long headers
- short
- Definitions of packet types related to short headers
Structs§
- Specific
Bits - The lower specific bits of the first byte of the long or short header. ‘R’ represents the reserved bits.
Enums§
- Type
- The Type of the packet
Constants§
- LONG_
RESERVED_ MASK - Reserved bits mask for long headers, for the 5th and 6th bits of the first byte of the long header
- SHORT_
RESERVED_ MASK - Reserved bits mask for short headers, for the 4th and 5th bits of the first byte of the short header
Traits§
- GetPacket
Number Length - Get the packet number length from the protected first byte of the long or short header. The reserved bits must be 0; otherwise, a connection error of type PROTOCOL_VIOLATION is returned.
Type Aliases§
- Long
Specific Bits - The lower 4 bits of the first byte of the long header.
- Short
Specific Bits - The lower 5 bits of the first byte of the short header, i.e., the last 5 bits.