Lines Matching refs:hints
266 "Invalid value for hints", /* EAI_BADHINTS */
415 const struct addrinfo *hints, struct addrinfo **res, unsigned netid)
460 hints == NULL ? -1 : hints->ai_flags,
461 hints == NULL ? -1 : hints->ai_family,
462 hints == NULL ? -1 : hints->ai_socktype,
463 hints == NULL ? -1 : hints->ai_protocol,
586 const struct addrinfo *hints, struct addrinfo **res)
588 return android_getaddrinfofornet(hostname, servname, hints, NETID_UNSET, MARK_UNSET, res);
593 const struct addrinfo *hints, unsigned netid, unsigned mark, struct addrinfo **res)
606 /* hints is allowed to be NULL */
622 if (hints) {
623 /* error check for hints */
624 if (hints->ai_addrlen || hints->ai_canonname ||
625 hints->ai_addr || hints->ai_next)
627 if (hints->ai_flags & ~AI_MASK)
629 switch (hints->ai_family) {
639 memcpy(pai, hints, sizeof(*pai));
742 return android_getaddrinfo_proxy(hostname, servname, hints, res, netid);
2040 struct addrinfo hints, *res0, *res;
2082 hints = *pai;
2083 hints.ai_flags = AI_NUMERICHOST;
2084 error = getaddrinfo(addr, NULL, &hints, &res0);