Searched refs:RouterConfig (Results 1 – 8 of 8) sorted by relevance
118 let r = Router::new(RouterConfig { in test_router_standalone_cidr_parsing()135 let r = Router::new(RouterConfig { in test_router_standalone_assign_ip_address()160 let wan = Arc::new(Mutex::new(Router::new(RouterConfig { in test_router_standalone_add_net()191 let wan = Arc::new(Mutex::new(Router::new(RouterConfig { in test_router_standalone_routing()278 let wan = Arc::new(Mutex::new(Router::new(RouterConfig { in test_router_standalone_add_chunk_filter()607 let lan = Router::new(RouterConfig { in test_router_static_ips_more_than_one()627 let lan = Router::new(RouterConfig { in test_router_static_ips_static_ip_local_ip_mapping()655 let result = Router::new(RouterConfig { in test_router_static_ips_static_ip_local_ip_mapping()666 let result = Router::new(RouterConfig { in test_router_static_ips_static_ip_local_ip_mapping()677 let result = Router::new(RouterConfig { in test_router_static_ips_static_ip_local_ip_mapping()[all …]
40 let r = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in test_vnet_gather_dynamic_ip_address()74 let r = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in test_vnet_gather_listen_udp()122 let wan = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in test_vnet_gather_with_nat_1to1_as_host_candidates()127 let lan = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in test_vnet_gather_with_nat_1to1_as_host_candidates()238 let wan = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in test_vnet_gather_with_nat_1to1_as_srflx_candidates()243 let lan = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in test_vnet_gather_with_nat_1to1_as_srflx_candidates()323 let r = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in test_vnet_gather_with_interface_filter()430 let lan = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in test_vnet_gather_muxed_udp()
73 let wan = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in build_simple_vnet()86 let lan = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in build_simple_vnet()122 let wan = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in build_vnet()135 let lan0 = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in build_vnet()155 let lan1 = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in build_vnet()762 let wan = router::Router::new(router::RouterConfig { in test_disconnected_to_connected()902 let wan = router::Router::new(router::RouterConfig { in test_write_use_valid_pair()
404 let wan = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in test_connectivity_on_startup()
107 let wan = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in build_vnet()140 let lan = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in build_vnet()
14 use util::vnet::router::{Router, RouterConfig};20 let wan = Arc::new(Mutex::new(Router::new(RouterConfig { in create_vnet_pair()
465 let wan = Arc::new(Mutex::new(Router::new(RouterConfig { in test_net_virtual_dail_eth0()497 let wan = Arc::new(Mutex::new(Router::new(RouterConfig { in test_net_virtual_resolver()649 let wan = Arc::new(Mutex::new(Router::new(RouterConfig { in test_net_virtual_end2end()792 let wan = Arc::new(Mutex::new(Router::new(RouterConfig { in test_net_virtual_two_ips_on_a_nic()
40 pub struct RouterConfig { struct215 pub fn new(config: RouterConfig) -> Result<Self> { in new()