Constants for the congestion control. More...
Constants for the congestion control.
Example usage (to use the same values as specified in RFC 9002):
#include <quic.h>
Data Fields | |
void(* | cong_event_cb )(void *ctx) |
congestion event callback | |
congure_wnd_size_t | init_wnd |
Initial congestion window size in initiator-defined units. | |
congure_wnd_size_t | min_wnd |
minimum congestion window size in initiator-defined units. | |
uint16_t | init_rtt |
The assumed RTT in milliseconds before an RTT sample is taken. | |
uint16_t | max_msg_size |
maximum message size in initiator-defined units. | |
uint16_t | pc_thresh |
period of time in milliseconds for persistent congestion to be establisched | |
uint16_t | granularity |
system timer granularity in milliseconds (typically 1) | |
uint8_t | loss_reduction_numerator |
numerator for the factor the congestion window should be reduced by when a new loss event is detected | |
uint8_t | loss_reduction_denominator |
denominator for the factor the congestion window should be reduced by when a new loss event is detected | |
uint8_t | inter_msg_interval_numerator |
numerator for the factor N used to adapt the message interval | |
uint8_t | inter_msg_interval_denominator |
denominator for the factor N used to adapt the message interval | |
void(* congure_quic_snd_consts_t::cong_event_cb) (void *ctx) |
uint16_t congure_quic_snd_consts_t::granularity |
uint16_t congure_quic_snd_consts_t::init_rtt |
congure_wnd_size_t congure_quic_snd_consts_t::init_wnd |
uint8_t congure_quic_snd_consts_t::inter_msg_interval_denominator |
denominator for the factor N used to adapt the message interval
uint8_t congure_quic_snd_consts_t::inter_msg_interval_numerator |
numerator for the factor N used to adapt the message interval
uint8_t congure_quic_snd_consts_t::loss_reduction_denominator |
uint8_t congure_quic_snd_consts_t::loss_reduction_numerator |
uint16_t congure_quic_snd_consts_t::max_msg_size |
congure_wnd_size_t congure_quic_snd_consts_t::min_wnd |
uint16_t congure_quic_snd_consts_t::pc_thresh |
period of time in milliseconds for persistent congestion to be establisched