ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
QuicShortHeader Struct Reference

A parsed short header (1-RTT). The DCID length is known locally, not on the wire. More...

#include <quic_packet.h>

Public Attributes

uint8_t first
 raw first byte
 
uint8_t spin
 latency spin bit (0x20)
 
uint8_t key_phase
 key-phase bit (0x04)
 
uint8_t pn_len
 packet-number length in bytes (1..4)
 
uint8_t dcid_len
 Destination Connection ID length (caller-supplied)
 
uint8_t dcid [QUIC_MAX_CID_LEN]
 Destination Connection ID.
 
size_t hdr_len
 bytes up to the (protected) Packet Number field
 

Detailed Description

A parsed short header (1-RTT). The DCID length is known locally, not on the wire.

Definition at line 59 of file quic_packet.h.

Member Data Documentation

◆ first

uint8_t QuicShortHeader::first

raw first byte

Definition at line 61 of file quic_packet.h.

◆ spin

uint8_t QuicShortHeader::spin

latency spin bit (0x20)

Definition at line 62 of file quic_packet.h.

◆ key_phase

uint8_t QuicShortHeader::key_phase

key-phase bit (0x04)

Definition at line 63 of file quic_packet.h.

◆ pn_len

uint8_t QuicShortHeader::pn_len

packet-number length in bytes (1..4)

Definition at line 64 of file quic_packet.h.

◆ dcid_len

uint8_t QuicShortHeader::dcid_len

Destination Connection ID length (caller-supplied)

Definition at line 65 of file quic_packet.h.

◆ dcid

uint8_t QuicShortHeader::dcid[QUIC_MAX_CID_LEN]

Destination Connection ID.

Definition at line 66 of file quic_packet.h.

◆ hdr_len

size_t QuicShortHeader::hdr_len

bytes up to the (protected) Packet Number field

Definition at line 67 of file quic_packet.h.


The documentation for this struct was generated from the following file: