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 More... | |
| 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 More... | |
| 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 More... | |
| uint8_t | inter_msg_interval_denominator |
| denominator for the factor N used to adapt the message interval More... | |
| void(* congure_quic_snd_consts_t::cong_event_cb) (void *ctx) |
| 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
| uint16_t congure_quic_snd_consts_t::pc_thresh |
period of time in milliseconds for persistent congestion to be establisched