name_to_index

Function name_to_index 

Source
pub(crate) fn name_to_index(fd: BorrowedFd<'_>, if_name: &str) -> Result<u32>