Debian Codegraph @

third_party/rust/neqo-transport/src/cc/tests/mod.rs

raw
1 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
2 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
3 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
4 // option. This file may not be copied, modified, or distributed
5 // except according to those terms.
6
7 use std::{
8 net::{IpAddr, Ipv4Addr},
9 time::Duration,
10 };
11
12 mod cubic;
13 mod new_reno;
14
15 pub const IP_ADDR: IpAddr = IpAddr::V4(Ipv4Addr::UNSPECIFIED);
16 pub const MTU: Option<usize> = Some(1_500);
17 pub const RTT: Duration = Duration::from_millis(100);