pub fn copy_ipaddr_to_slice( src: &IpAddr, buf: &mut [u8], ) -> Result<usize, RESULT>
copy IpAddr to a specified slice