Home
last modified time | relevance | path

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

/external/rust/crates/quiche/src/recovery/
Dreno.rs141 cfg.set_cc_algorithm(recovery::CongestionControlAlgorithm::Reno); in reno_init()
152 cfg.set_cc_algorithm(recovery::CongestionControlAlgorithm::Reno); in reno_send()
166 cfg.set_cc_algorithm(recovery::CongestionControlAlgorithm::Reno); in reno_slow_start()
212 cfg.set_cc_algorithm(recovery::CongestionControlAlgorithm::Reno); in reno_congestion_event()
229 cfg.set_cc_algorithm(recovery::CongestionControlAlgorithm::Reno); in reno_congestion_avoidance()
Dmod.rs791 pub enum CongestionControlAlgorithm { enum
798 impl FromStr for CongestionControlAlgorithm { implementation
806 "reno" => Ok(CongestionControlAlgorithm::Reno), in from_str()
807 "cubic" => Ok(CongestionControlAlgorithm::CUBIC), in from_str()
830 impl From<CongestionControlAlgorithm> for &'static CongestionControlOps {
831 fn from(algo: CongestionControlAlgorithm) -> Self { in from()
833 CongestionControlAlgorithm::Reno => &reno::RENO, in from()
834 CongestionControlAlgorithm::CUBIC => &cubic::CUBIC, in from()
976 let algo = CongestionControlAlgorithm::from_str("reno").unwrap(); in lookup_cc_algo_ok()
977 assert_eq!(algo, CongestionControlAlgorithm::Reno); in lookup_cc_algo_ok()
[all …]
Dcubic.rs297 cfg.set_cc_algorithm(recovery::CongestionControlAlgorithm::CUBIC); in cubic_init()
308 cfg.set_cc_algorithm(recovery::CongestionControlAlgorithm::CUBIC); in cubic_send()
320 cfg.set_cc_algorithm(recovery::CongestionControlAlgorithm::CUBIC); in cubic_slow_start()
365 cfg.set_cc_algorithm(recovery::CongestionControlAlgorithm::CUBIC); in cubic_congestion_event()
381 cfg.set_cc_algorithm(recovery::CongestionControlAlgorithm::CUBIC); in cubic_congestion_avoidance()
417 cfg.set_cc_algorithm(recovery::CongestionControlAlgorithm::CUBIC); in cubic_collapse_cwnd_and_restart()
456 cfg.set_cc_algorithm(recovery::CongestionControlAlgorithm::CUBIC); in cubic_hystart_limited_slow_start()
/external/rust/crates/quiche/src/
Dffi.rs237 config: &mut Config, algo: CongestionControlAlgorithm, in quiche_config_set_cc_algorithm() argument
Dlib.rs437 cc_algorithm: CongestionControlAlgorithm,
463 cc_algorithm: CongestionControlAlgorithm::CUBIC, in new()
736 self.cc_algorithm = CongestionControlAlgorithm::from_str(name)?; in set_cc_algorithm_name()
744 pub fn set_cc_algorithm(&mut self, algo: CongestionControlAlgorithm) { in set_cc_algorithm() argument
7754 pub use crate::recovery::CongestionControlAlgorithm;