Home
last modified time | relevance | path

Searched refs:add_addrs_to_interface (Results 1 – 4 of 4) sorted by relevance

/webrtc/util/src/vnet/
H A Drouter.rs66 async fn add_addrs_to_interface(&mut self, ifc_name: &str, addrs: &[IpNet]) -> Result<()>; in add_addrs_to_interface() method
116 async fn add_addrs_to_interface(&mut self, ifc_name: &str, addrs: &[IpNet]) -> Result<()> { in add_addrs_to_interface() method
556 let _ = ni.add_addrs_to_interface("eth0", &ipnets).await; in add_nic()
H A Dnet.rs128 async fn add_addrs_to_interface(&mut self, ifc_name: &str, addrs: &[IpNet]) -> Result<()> { in add_addrs_to_interface() method
/webrtc/util/src/vnet/net/
H A Dnet_test.rs216 nic.add_addrs_to_interface("eth0", &[ipnet]).await?; in test_net_virtual_has_ipaddr()
250 nic.add_addrs_to_interface("eth0", &[ipnet]).await?; in test_net_virtual_get_all_ipaddrs()
284 nic.add_addrs_to_interface("eth0", &[ipnet]).await?; in test_net_virtual_assign_port()
336 nic.add_addrs_to_interface("eth0", &[ipnet]).await?; in test_net_virtual_determine_source_ip()
/webrtc/util/src/vnet/router/
H A Drouter_test.rs35 async fn add_addrs_to_interface(&mut self, ifc_name: &str, addrs: &[IpNet]) -> Result<()> { in add_addrs_to_interface() method
38 net.add_addrs_to_interface(ifc_name, addrs).await in add_addrs_to_interface()