pub fn get_ifindex(fd: RawFd, iface: &str) -> Result<i32>
Look up the interface index for iface via SIOCGIFINDEX.
iface
SIOCGIFINDEX