Function nix::net::if_::if_nametoindex   
                   
                       [−]
                   
               [src]
pub fn if_nametoindex<P: ?Sized + NixPath>(name: &P) -> Result<c_uint>
Resolve an interface into a interface number.