Searched refs:Interface (Results 1 – 7 of 7) sorted by relevance
| /webrtc/util/src/vnet/ |
| H A D | interface.rs | 7 pub struct Interface { struct 12 impl Interface { implementation 14 Interface { name, addrs } in new()
|
| H A D | net.rs | 40 pub(crate) interfaces: Vec<Interface>, // read-only 46 fn get_interface(&self, ifc_name: &str) -> Option<&Interface> { in get_interface() argument 112 pub(crate) interfaces: Vec<Interface>, // read-only 119 async fn get_interface(&self, ifc_name: &str) -> Option<Interface> { in get_interface() argument 179 pub(crate) fn get_interfaces(&self) -> &[Interface] { in get_interfaces() argument 400 Ifs(Vec<Interface>), 412 let mut lo0 = Interface::new(LO0_STR.to_owned(), vec![]); in new() 413 if let Ok(ipnet) = Interface::convert( in new() 420 let eth0 = Interface::new("eth0".to_owned(), vec![]); in new() 468 ifs.push(Interface::new(name, addrs)); in new() [all …]
|
| H A D | router.rs | 65 async fn get_interface(&self, ifc_name: &str) -> Option<Interface>; in get_interface() argument 95 interfaces: Vec<Interface>, // read-only 107 async fn get_interface(&self, ifc_name: &str) -> Option<Interface> { in get_interface() argument 225 let mut lo0 = Interface::new(LO0_STR.to_owned(), vec![]); in new() 226 if let Ok(ipnet) = Interface::convert( in new() 234 let eth0 = Interface::new("eth0".to_owned(), vec![]); in new() 295 pub(crate) fn get_interfaces(&self) -> &[Interface] { in get_interfaces() argument
|
| /webrtc/util/src/ifaces/ffi/windows/ |
| H A D | mod.rs | 31 use crate::ifaces::{Interface, Kind, NextHop}; 319 unsafe fn map_adapter_addresses(mut adapter_addr: *const IpAdapterAddresses) -> Vec<Interface> { in map_adapter_addresses() argument 333 adapter_addresses.push(Interface { in map_adapter_addresses() 344 adapter_addresses.push(Interface { in map_adapter_addresses() 364 pub fn ifaces() -> Result<Vec<Interface>, ::std::io::Error> { in ifaces()
|
| /webrtc/util/src/ifaces/ |
| H A D | mod.rs | 20 pub struct Interface { struct
|
| /webrtc/util/src/ifaces/ffi/unix/ |
| H A D | mod.rs | 7 use crate::ifaces::{Interface, Kind, NextHop}; 137 pub fn ifaces() -> Result<Vec<Interface>, Error> { in ifaces() 188 ret.push(Interface { in ifaces()
|
| /webrtc/util/src/vnet/router/ |
| H A D | router_test.rs | 31 async fn get_interface(&self, ifc_name: &str) -> Option<Interface> { in get_interface() argument
|