Lines Matching refs:hints
106 * hints - optional argument that points to an addrinfo structure
107 * to provide hints on the type of socket that the caller
109 * Possible setting of the ai_flags member of the hints structure:
180 const struct addrinfo *hints, struct addrinfo **res, int version)
215 if (hints != NULL) {
216 /* check for bad flags in hints */
217 if ((hints->ai_flags != 0) && (hints->ai_flags & ~AI_MASK)) {
222 (hints->ai_flags & AI_CANONNAME)) {
226 if (hints->ai_family != PF_UNSPEC &&
227 hints->ai_family != PF_INET &&
228 hints->ai_family != PF_INET6) {
233 (void) memcpy(aip, hints, sizeof (*aip));
542 const struct addrinfo *hints, struct addrinfo **res)
544 return (_getaddrinfo(hostname, servname, hints, res, GAIV_DEFAULT));
549 const struct addrinfo *hints, struct addrinfo **res)
551 return (_getaddrinfo(hostname, servname, hints, res, GAIV_XPG6));