replacing the hidra_inet functions with hidra_addr functions