Home | History | Annotate | Download | only in net

Lines Matching refs:hints

266 	"Invalid value for hints",			/* EAI_BADHINTS	  */
408 const struct addrinfo *hints, struct addrinfo **res, unsigned netid)
436 hints == NULL ? -1 : hints->ai_flags,
437 hints == NULL ? -1 : hints->ai_family,
438 hints == NULL ? -1 : hints->ai_socktype,
439 hints == NULL ? -1 : hints->ai_protocol,
565 const struct addrinfo *hints, struct addrinfo **res)
567 return android_getaddrinfofornet(hostname, servname, hints, NETID_UNSET, MARK_UNSET, res);
573 const struct addrinfo *hints, unsigned netid, unsigned mark, struct addrinfo **res)
582 return android_getaddrinfofornetcontext(hostname, servname, hints, &netcontext, res);
588 const struct addrinfo *hints, const struct android_net_context *netcontext,
601 /* hints is allowed to be NULL */
618 if (hints) {
619 /* error check for hints */
620 if (hints->ai_addrlen || hints->ai_canonname ||
621 hints->ai_addr || hints->ai_next)
623 if (hints->ai_flags & ~AI_MASK)
625 switch (hints->ai_family) {
635 memcpy(pai, hints, sizeof(*pai));
735 hostname, servname, hints, res, netcontext->app_netid);
2055 struct addrinfo hints, *res0, *res;
2097 hints = *pai;
2098 hints.ai_flags = AI_NUMERICHOST;
2099 error = getaddrinfo(addr, NULL, &hints, &res0);