68 void (*cong_event_cb)(
void *ctx);
void congure_quic_snd_setup(congure_quic_snd_t *c, const congure_quic_snd_consts_t *consts)
Set's up the driver for a CongURE QUIC object.
uint16_t congure_wnd_size_t
Define type for window size to allow for possible window size scaling.
uint32_t ztimer_now_t
type for ztimer_now() result
Constants for the congestion control.
uint16_t pc_thresh
period of time in milliseconds for persistent congestion to be establisched
uint8_t loss_reduction_numerator
numerator for the factor the congestion window should be reduced by when a new loss event is detected
uint16_t granularity
system timer granularity in milliseconds (typically 1)
uint8_t inter_msg_interval_numerator
numerator for the factor N used to adapt the message interval
uint16_t init_rtt
The assumed RTT in milliseconds before an RTT sample is taken.
uint8_t loss_reduction_denominator
denominator for the factor the congestion window should be reduced by when a new loss event is detect...
uint16_t max_msg_size
maximum message size in initiator-defined units.
uint8_t inter_msg_interval_denominator
denominator for the factor N used to adapt the message interval
congure_wnd_size_t min_wnd
minimum congestion window size in initiator-defined units.
congure_wnd_size_t init_wnd
Initial congestion window size in initiator-defined units.
State object for CongURE QUIC.
uint16_t smoothed_rtt
The smoothed RTT of a connection between peers in milliseconds.
ztimer_now_t recovery_start
Timestamp in milliseconds of when congestion was first detected.
congure_wnd_size_t ssthresh
Slow start threshold in caller-defined units.
uint16_t rtt_var
The RTT variation.
const congure_quic_snd_consts_t * consts
Constants.
congure_snd_t super
see congure_snd_t
uint16_t min_rtt
The minimum RTT seen over a period of time.
unsigned in_flight_size
Sum of caller-defined units of message sizes of all messages that are yet not ack'd or declared lost.
uint16_t limited
Set to one if congestion control should is limited by the application or flow control.
ztimer_now_t first_rtt_sample
Timestamp in milliseconds of when the first RTT sample was obtained.
uint16_t max_ack_delay
Advertised maximum amount of time in milliseconds a receiver intends to delay its acknowledgements.
Base state object for CongURE implementations.