Searched refs:aquery (Results 1 – 1 of 1) sorted by relevance
63 static void next_lookup(struct addr_query *aquery);66 static void end_aquery(struct addr_query *aquery, int status,74 struct addr_query *aquery; in ares_gethostbyaddr() local82 if ((family == AF_INET && addrlen != sizeof(aquery->addr.addrV4)) || in ares_gethostbyaddr()83 (family == AF_INET6 && addrlen != sizeof(aquery->addr.addrV6))) in ares_gethostbyaddr()89 aquery = malloc(sizeof(struct addr_query)); in ares_gethostbyaddr()90 if (!aquery) in ares_gethostbyaddr()95 aquery->channel = channel; in ares_gethostbyaddr()97 memcpy(&aquery->addr.addrV4, addr, sizeof(aquery->addr.addrV4)); in ares_gethostbyaddr()99 memcpy(&aquery->addr.addrV6, addr, sizeof(aquery->addr.addrV6)); in ares_gethostbyaddr()[all …]