wired
libc-free QUIC/HTTP3 SDK in C for x86_64-linux
Loading...
Searching...
No Matches
wired_srvboot_out Struct Reference

The sealed reply datagrams of a bootstrap. More...

#include <srvboot.h>

Data Fields

quic_obufinitial
 sealed server Initial datagram (>= 1200 bytes)
quic_obufflight
 all sealed Handshake datagrams, concatenated
usz dgram_len [WIRED_SRVBOOT_FLIGHT_MAX]
 each flight datagram's length
usz dgram_count
 flight datagrams sealed (their lengths sum to flight->len)
u64 client_pn
 the client Initial's recovered packet number (the one the server Initial acknowledges, RFC 9000 13.2.1)

Detailed Description

The sealed reply datagrams of a bootstrap.

The Initial is kept separate because it alone is padded to 1200 bytes (RFC 9000 14.1); a TLS flight too large for one MTU datagram is split into several Handshake packets (RFC 9000 19.6), concatenated in flight and sliced by dgram_len. The caller sends the Initial first, then each flight slice as its own UDP datagram.


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