netstack_testing_common/
constants.rs1pub mod ipv4 {
9    pub const DEFAULT_TTL: u8 = 64;
11}
12
13pub mod ipv6 {
15    use net_declare::{net_ip_v6, net_subnet_v6};
16    use net_types::ip as net_types_ip;
17
18    pub const DEFAULT_HOP_LIMIT: u8 = 64;
20
21    pub const GLOBAL_PREFIX: net_types_ip::Subnet<net_types_ip::Ipv6Addr> =
23        net_subnet_v6!("2001:f1f0:4060:1::/64");
24
25    pub const GLOBAL_ADDR: net_types_ip::Ipv6Addr = net_ip_v6!("2001:f1f0:4060:1::1");
27
28    pub const LINK_LOCAL_ADDR: net_types_ip::Ipv6Addr = net_ip_v6!("fe80::1");
32
33    pub const LINK_LOCAL_SUBNET_PREFIX: u8 = 64;
35}
36
37pub mod eth {
39    use net_declare::net_mac;
40    use net_types::ethernet::Mac;
41
42    pub const MAC_ADDR: Mac = net_mac!("02:00:00:00:00:01");
46
47    pub const MAC_ADDR2: Mac = net_mac!("02:FF:FF:FF:FF:FF");
49}