Searched refs:get_interface (Results 1 – 4 of 4) sorted by relevance
31 async fn get_interface(&self, ifc_name: &str) -> Option<Interface> { in get_interface() method32 self.net.get_interface(ifc_name).await in get_interface()107 let eth0 = n.get_interface("eth0").await.ok_or(Error::ErrNoInterface)?; in get_ipaddr()177 let eth0 = n.get_interface("eth0").await; in test_router_standalone_add_net()226 if let Some(eth0) = n.get_interface("eth0").await { in test_router_standalone_routing()306 if let Some(eth0) = n.get_interface("eth0").await { in test_router_standalone_add_chunk_filter()409 if let Some(eth0) = n.get_interface("eth0").await { in delay_sub_test()
129 if let Some(ifc) = nw.get_interface(&lo_name).await { in test_net_native_unexpected_operations()136 let result = nw.get_interface("foo0").await; in test_net_native_unexpected_operations()182 if let Some(ifc) = nic.get_interface(LO0_STR).await { in test_net_virtual_interface_by_name()190 if let Some(ifc) = nic.get_interface("eth0").await { in test_net_virtual_interface_by_name()198 let result = nic.get_interface("foo0").await; in test_net_virtual_interface_by_name()218 if let Some(ifc) = nic.get_interface("eth0").await { in test_net_virtual_has_ipaddr()252 if let Some(ifc) = nic.get_interface("eth0").await { in test_net_virtual_get_all_ipaddrs()621 let eth0 = n.get_interface("eth0").await.ok_or(Error::ErrNoInterface)?; in get_ipaddr()
46 fn get_interface(&self, ifc_name: &str) -> Option<&Interface> { in get_interface() method96 if let Some(ifc) = self.get_interface("eth0") { in determine_source_ip()119 async fn get_interface(&self, ifc_name: &str) -> Option<Interface> { in get_interface() method487 pub async fn get_interface(&self, ifc_name: &str) -> Option<Interface> { in get_interface() method491 net.get_interface(ifc_name).await in get_interface()
65 async fn get_interface(&self, ifc_name: &str) -> Option<Interface>; in get_interface() method107 async fn get_interface(&self, ifc_name: &str) -> Option<Interface> { in get_interface() method175 if let Some(ifc) = self.get_interface("eth0").await { in set_router()