Function nix::net::if_::if_nametoindex

source ยท
pub fn if_nametoindex<P: ?Sized + NixPath>(name: &P) -> Result<c_uint>
Expand description

Resolve an interface into an interface number.