pub fn get_interface_by_index(index: u32) -> Option<Interface>