Home
last modified time | relevance | path

Searched refs:aquery (Results 1 - 1 of 1) sorted by relevance

/third_party/node/deps/cares/src/lib/
H A Dares_gethostbyaddr.c62 static void next_lookup(struct addr_query *aquery);
65 static void end_aquery(struct addr_query *aquery, ares_status_t status,
75 struct addr_query *aquery; in ares_gethostbyaddr_int() local
82 if ((family == AF_INET && addrlen != sizeof(aquery->addr.addr.addr4)) || in ares_gethostbyaddr_int()
83 (family == AF_INET6 && addrlen != sizeof(aquery->addr.addr.addr6))) { in ares_gethostbyaddr_int()
88 aquery = ares_malloc(sizeof(struct addr_query)); in ares_gethostbyaddr_int()
89 if (!aquery) { in ares_gethostbyaddr_int()
93 aquery->lookups = ares_strdup(channel->lookups); in ares_gethostbyaddr_int()
94 if (aquery->lookups == NULL) { in ares_gethostbyaddr_int()
95 ares_free(aquery); in ares_gethostbyaddr_int()
125 next_lookup(struct addr_query *aquery) next_lookup() argument
165 struct addr_query *aquery = (struct addr_query *)arg; addr_callback() local
188 end_aquery(struct addr_query *aquery, ares_status_t status, struct hostent *host) end_aquery() argument
[all...]

Completed in 1 milliseconds