pub fn str_ip_to_int(str_ip: &str) -> u32