Lines Matching refs:CongestionControlAlgorithm
1070 pub enum CongestionControlAlgorithm { enum
1079 impl FromStr for CongestionControlAlgorithm { implementation
1087 "reno" => Ok(CongestionControlAlgorithm::Reno), in from_str()
1088 "cubic" => Ok(CongestionControlAlgorithm::CUBIC), in from_str()
1089 "bbr" => Ok(CongestionControlAlgorithm::BBR), in from_str()
1130 impl From<CongestionControlAlgorithm> for &'static CongestionControlOps {
1131 fn from(algo: CongestionControlAlgorithm) -> Self { in from()
1133 CongestionControlAlgorithm::Reno => &reno::RENO, in from()
1134 CongestionControlAlgorithm::CUBIC => &cubic::CUBIC, in from()
1135 CongestionControlAlgorithm::BBR => &bbr::BBR, in from()
1402 let algo = CongestionControlAlgorithm::from_str("reno").unwrap(); in lookup_cc_algo_ok()
1403 assert_eq!(algo, CongestionControlAlgorithm::Reno); in lookup_cc_algo_ok()
1409 CongestionControlAlgorithm::from_str("???"), in lookup_cc_algo_bad()
1417 cfg.set_cc_algorithm(CongestionControlAlgorithm::Reno); in collapse_cwnd()
1429 cfg.set_cc_algorithm(CongestionControlAlgorithm::Reno); in loss_on_pto()
1662 cfg.set_cc_algorithm(CongestionControlAlgorithm::Reno); in loss_on_timer()
1822 cfg.set_cc_algorithm(CongestionControlAlgorithm::Reno); in loss_on_reordering()
1994 cfg.set_cc_algorithm(CongestionControlAlgorithm::CUBIC); in pacing()