Function rustix::backend::net::netdevice::name_to_index

source ยท
pub(crate) fn name_to_index(fd: impl AsFd, if_name: &str) -> Result<u32>