fn find_interface_by_index( interfaces: &[NetworkInterface], interface_index: u32, ) -> Option<&NetworkInterface>