s2n_quic_core/recovery/
mod.rs

1// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2// SPDX-License-Identifier: Apache-2.0
3
4pub use congestion_controller::CongestionController;
5pub use cubic::CubicCongestionController;
6pub use pto::Pto;
7pub use rtt_estimator::*;
8pub use sent_packets::*;
9
10pub mod bandwidth;
11pub mod bbr;
12pub mod congestion_controller;
13pub mod cubic;
14mod hybrid_slow_start;
15pub mod loss;
16mod pacing;
17pub mod persistent_congestion;
18mod pto;
19mod rtt_estimator;
20mod sent_packets;
21
22#[cfg(test)]
23mod simulation;
24
25//= https://www.rfc-editor.org/rfc/rfc9002#section-7.7
26//# Senders SHOULD limit bursts to the initial congestion window; see
27//# Section 7.2.
28
29//= https://www.rfc-editor.org/rfc/rfc9002#section-7.2
30//# Endpoints SHOULD use an initial congestion
31//# window of ten times the maximum datagram size (max_datagram_size),
32//# while limiting the window to the larger of 14,720 bytes or twice the
33//# maximum datagram size.
34
35//= https://www.rfc-editor.org/rfc/rfc9002#section-7.7
36//= type=TODO
37//= feature=Packet pacing
38//= tracking-issue=1073
39//# A sender with knowledge that the network path to the
40//# receiver can absorb larger bursts MAY use a higher limit.
41pub const MAX_BURST_PACKETS: u32 = 10;