has_addr
static boolean_t has_addr(struct addrinfo *, union any_in_addr *);
if (!has_addr(aip, &tmp1_al->addr)) {