Lines Matching defs:hints
261 * @param hints structure containing input values that set socktype and protocol
269 const struct addrinfo *hints, struct addrinfo **res)
288 if (hints != NULL) {
289 ai_family = hints->ai_family;
319 if ((hints != NULL) && (hints->ai_flags & AI_NUMERICHOST)) {
347 if ((hints != NULL) && (hints->ai_flags & AI_PASSIVE)) {
400 if (hints != NULL) {
401 /* copy socktype & protocol from hints if specified */
402 ai->ai_socktype = hints->ai_socktype;
403 ai->ai_protocol = hints->ai_protocol;