if_nametoindex

Function if_nametoindex 

Source
pub fn if_nametoindex<P>(name: &P) -> Result<u32, Errno>
where P: NixPath + ?Sized,
Expand description

Resolve an interface into an interface number.