pub fn ipv4_to_u32_bytes(ipv4: &[u8]) -> Result<u32, &'static str>