Home | History | Annotate | Download | only in net

Lines Matching full:hints

263 	"Invalid value for hints",			/* EAI_BADHINTS	  */
410 const struct addrinfo *hints, struct addrinfo **res, const char *iface)
453 hints == NULL ? -1 : hints->ai_flags,
454 hints == NULL ? -1 : hints->ai_family,
455 hints == NULL ? -1 : hints->ai_socktype,
456 hints == NULL ? -1 : hints->ai_protocol,
579 const struct addrinfo *hints, struct addrinfo **res)
581 return android_getaddrinfoforiface(hostname, servname, hints, NULL, 0, res);
586 const struct addrinfo *hints, const char *iface, int mark, struct addrinfo **res)
599 /* hints is allowed to be NULL */
615 if (hints) {
616 /* error check for hints */
617 if (hints->ai_addrlen || hints->ai_canonname ||
618 hints->ai_addr || hints->ai_next)
620 if (hints->ai_flags & ~AI_MASK)
622 switch (hints->ai_family) {
632 memcpy(pai, hints, sizeof(*pai));
735 return android_getaddrinfo_proxy(hostname, servname, hints, res, iface);
2053 struct addrinfo hints, *res0, *res;
2095 hints = *pai;
2096 hints.ai_flags = AI_NUMERICHOST;
2097 error = getaddrinfo(addr, NULL, &hints, &res0);