1#ifndef WIRED_H3SRV_STATE_H
2#define WIRED_H3SRV_STATE_H
4#include "app/qpack/qpack/dyntable.h"
5#include "app/qpack/qpackdyn/dec_stream.h"
6#include "app/qpack/qpackdyn/enc_stream.h"
RFC 9204 2.1 / 3.2 / 4.3.3 / 4.4.
void wired_h3srv_state_init(wired_h3srv_state *st, u64 max_table_capacity)
RFC 9204 3.2: initialise st's dynamic table empty and its own advertised capacity limit – called once...
RFC 9204 4.4.
Definition dec_stream.h:21
RFC 9204 4.2 / RFC 9000 2.2: the peer's encoder stream reassembled from stream offset 0,...
Definition enc_stream.h:31
RFC 9204 3.2.
Definition dyntable.h:31
One connection's QPACK encoder-side state.
Definition qpackenc.h:18
HTTP/3 server response-layer state after the 1-RTT handshake.
Definition state.h:16
u8 peer_qpack_decoder
1 once a peer QPACK decoder stream has been seen
Definition state.h:23
u8 settings_sent
local control opened and SETTINGS emitted first
Definition state.h:17
qdyn_dec qdec
RFC 9204 4.4: what this decoder owes the peer on its decoder stream.
Definition state.h:42
qdyn_encrx qenc_rx
RFC 9204 4.2: the peer's encoder stream, reassembled and applied to qdyn as it arrives.
Definition state.h:40
u8 peer_control
1 once a peer control stream has been seen
Definition state.h:18
u8 peer_settings
peer SETTINGS-first recorded
Definition state.h:19
qpackenc_state qenc
RFC 9204 2.1/3.2: this connection's OWN encoder-side dynamic table – the send-direction counterpart t...
Definition state.h:49
u8 request_seen
a request HEADERS has been decoded
Definition state.h:20
u8 peer_qpack_encoder
1 once a peer QPACK encoder stream has been seen
Definition state.h:21
u64 qpack_max_table_capacity
RFC 9204 5 (SETTINGS_QPACK_MAX_TABLE_CAPACITY): the maximum dynamic table capacity (in bytes) this se...
Definition state.h:37
qpack_dyn qdyn
RFC 9204 3.2 / 4.3.1: this connection's QPACK dynamic table, the peer's encoder stream instructions (...
Definition state.h:31
unsigned char u8
unsigned 8-bit integer / byte
Definition types.h:18
unsigned long u64
unsigned 64-bit integer
Definition types.h:13