Home
last modified time | relevance | path

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

/third_party/node/deps/cares/src/lib/
Dares_gethostbyaddr.c50 static void next_lookup(struct addr_query *aquery);
53 static void end_aquery(struct addr_query *aquery, int status,
61 struct addr_query *aquery; in ares_gethostbyaddr() local
69 if ((family == AF_INET && addrlen != sizeof(aquery->addr.addrV4)) || in ares_gethostbyaddr()
70 (family == AF_INET6 && addrlen != sizeof(aquery->addr.addrV6))) in ares_gethostbyaddr()
76 aquery = ares_malloc(sizeof(struct addr_query)); in ares_gethostbyaddr()
77 if (!aquery) in ares_gethostbyaddr()
82 aquery->channel = channel; in ares_gethostbyaddr()
84 memcpy(&aquery->addr.addrV4, addr, sizeof(aquery->addr.addrV4)); in ares_gethostbyaddr()
86 memcpy(&aquery->addr.addrV6, addr, sizeof(aquery->addr.addrV6)); in ares_gethostbyaddr()
[all …]