Lines Matching defs:hints
120 * hints - optional argument that points to an addrinfo structure
121 * to provide hints on the type of socket that the caller
123 * Possible setting of the ai_flags member of the hints structure:
194 const struct addrinfo *hints, struct addrinfo **res, int version)
229 if (hints != NULL) {
230 /* check for bad flags in hints */
231 if ((hints->ai_flags != 0) && (hints->ai_flags & ~AI_MASK)) {
236 (hints->ai_flags & AI_CANONNAME)) {
240 if (hints->ai_family != PF_UNSPEC &&
241 hints->ai_family != PF_INET &&
242 hints->ai_family != PF_INET6) {
247 (void) memcpy(aip, hints, sizeof (*aip));
548 const struct addrinfo *hints, struct addrinfo **res)
550 return (_getaddrinfo(hostname, servname, hints, res, GAIV_DEFAULT));
555 const struct addrinfo *hints, struct addrinfo **res)
557 return (_getaddrinfo(hostname, servname, hints, res, GAIV_XPG6));