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

A parsed long header (invariant fields). A Version of 0 marks a Version Negotiation. More...

#include <quic_packet.h>

Public Attributes

uint8_t first
 raw first byte
 
uint8_t type
 long packet type (first & 0x30) >> 4; meaningful when version != 0
 
uint32_t version
 QUIC version; 0 = Version Negotiation.
 
uint8_t dcid_len
 Destination Connection ID length.
 
uint8_t dcid [QUIC_MAX_CID_LEN]
 Destination Connection ID.
 
uint8_t scid_len
 Source Connection ID length.
 
uint8_t scid [QUIC_MAX_CID_LEN]
 Source Connection ID.
 
size_t hdr_len
 bytes consumed up to the start of the type-specific payload
 

Detailed Description

A parsed long header (invariant fields). A Version of 0 marks a Version Negotiation.

Definition at line 46 of file quic_packet.h.

Member Data Documentation

◆ first

uint8_t QuicLongHeader::first

raw first byte

Definition at line 48 of file quic_packet.h.

◆ type

uint8_t QuicLongHeader::type

long packet type (first & 0x30) >> 4; meaningful when version != 0

Definition at line 49 of file quic_packet.h.

◆ version

uint32_t QuicLongHeader::version

QUIC version; 0 = Version Negotiation.

Definition at line 50 of file quic_packet.h.

◆ dcid_len

uint8_t QuicLongHeader::dcid_len

Destination Connection ID length.

Definition at line 51 of file quic_packet.h.

◆ dcid

uint8_t QuicLongHeader::dcid[QUIC_MAX_CID_LEN]

Destination Connection ID.

Definition at line 52 of file quic_packet.h.

◆ scid_len

uint8_t QuicLongHeader::scid_len

Source Connection ID length.

Definition at line 53 of file quic_packet.h.

◆ scid

uint8_t QuicLongHeader::scid[QUIC_MAX_CID_LEN]

Source Connection ID.

Definition at line 54 of file quic_packet.h.

◆ hdr_len

size_t QuicLongHeader::hdr_len

bytes consumed up to the start of the type-specific payload

Definition at line 55 of file quic_packet.h.


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