Home
last modified time | relevance | path

Searched refs:CongestionControlAlgorithm (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/quiche/src/recovery/
Dreno.rs169 cfg.set_cc_algorithm(recovery::CongestionControlAlgorithm::Reno); in reno_init()
180 cfg.set_cc_algorithm(recovery::CongestionControlAlgorithm::Reno); in reno_send()
194 cfg.set_cc_algorithm(recovery::CongestionControlAlgorithm::Reno); in reno_slow_start()
238 cfg.set_cc_algorithm(recovery::CongestionControlAlgorithm::Reno); in reno_slow_start_multi_acks()
294 cfg.set_cc_algorithm(recovery::CongestionControlAlgorithm::Reno); in reno_congestion_event()
311 cfg.set_cc_algorithm(recovery::CongestionControlAlgorithm::Reno); in reno_congestion_avoidance()
Dcubic.rs406 cfg.set_cc_algorithm(recovery::CongestionControlAlgorithm::CUBIC); in cubic_init()
417 cfg.set_cc_algorithm(recovery::CongestionControlAlgorithm::CUBIC); in cubic_send()
429 cfg.set_cc_algorithm(recovery::CongestionControlAlgorithm::CUBIC); in cubic_slow_start()
472 cfg.set_cc_algorithm(recovery::CongestionControlAlgorithm::CUBIC); in cubic_slow_start_multi_acks()
527 cfg.set_cc_algorithm(recovery::CongestionControlAlgorithm::CUBIC); in cubic_congestion_event()
543 cfg.set_cc_algorithm(recovery::CongestionControlAlgorithm::CUBIC); in cubic_congestion_avoidance()
591 cfg.set_cc_algorithm(recovery::CongestionControlAlgorithm::CUBIC); in cubic_collapse_cwnd_and_restart()
628 cfg.set_cc_algorithm(recovery::CongestionControlAlgorithm::CUBIC); in cubic_hystart_limited_slow_start()
745 cfg.set_cc_algorithm(recovery::CongestionControlAlgorithm::CUBIC); in cubic_spurious_congestion_event()
789 cfg.set_cc_algorithm(recovery::CongestionControlAlgorithm::CUBIC); in cubic_fast_convergence()
Dmod.rs868 pub enum CongestionControlAlgorithm { enum
875 impl FromStr for CongestionControlAlgorithm { implementation
883 "reno" => Ok(CongestionControlAlgorithm::Reno), in from_str()
884 "cubic" => Ok(CongestionControlAlgorithm::CUBIC), in from_str()
913 impl From<CongestionControlAlgorithm> for &'static CongestionControlOps {
914 fn from(algo: CongestionControlAlgorithm) -> Self { in from()
916 CongestionControlAlgorithm::Reno => &reno::RENO, in from()
917 CongestionControlAlgorithm::CUBIC => &cubic::CUBIC, in from()
1065 let algo = CongestionControlAlgorithm::from_str("reno").unwrap(); in lookup_cc_algo_ok()
1066 assert_eq!(algo, CongestionControlAlgorithm::Reno); in lookup_cc_algo_ok()
[all …]
/external/rust/crates/quiche/src/
Dffi.rs284 config: &mut Config, algo: CongestionControlAlgorithm, in quiche_config_set_cc_algorithm() argument
Dlib.rs543 cc_algorithm: CongestionControlAlgorithm,
580 cc_algorithm: CongestionControlAlgorithm::CUBIC, in new()
888 self.cc_algorithm = CongestionControlAlgorithm::from_str(name)?; in set_cc_algorithm_name()
896 pub fn set_cc_algorithm(&mut self, algo: CongestionControlAlgorithm) { in set_cc_algorithm() argument
10203 pub use crate::recovery::CongestionControlAlgorithm;