capsid_protocol/
network.rs1macro_rules! host {
2 ($suffix:literal) => {
3 concat!("172.30.0.1", $suffix)
4 };
5}
6
7pub const HOST_ADDRESS: &str = host!("");
8
9pub const HOST_CIDR: &str = host!("/30");
10
11pub const GUEST_ADDRESS: &str = "172.30.0.2";
12
13pub const HOST_MAC: &str = "02:fc:00:00:00:01";
14
15pub const GUEST_MAC: &str = "02:fc:00:00:00:02";
16
17pub const DNS_ADDRESS: &str = host!(":53");
18
19pub const PROXY_ADDRESS: &str = host!(":3128");
20
21pub const PRIVATE_GATEWAY_ADDRESS: &str = host!(":1054");
22
23pub const RESOLV_CONF: &str = concat!("nameserver ", host!(""), "\noptions timeout:2 attempts:2\n");