Lines Matching defs:hints
262 * @param hints structure containing input values that set socktype and protocol
270 const struct addrinfo *hints, struct addrinfo **res)
289 if (hints != NULL) {
290 ai_family = hints->ai_family;
316 if ((hints != NULL) && (hints->ai_flags & AI_NUMERICHOST)) {
344 if ((hints != NULL) && (hints->ai_flags & AI_PASSIVE)) {
394 if (hints != NULL) {
395 /* copy socktype & protocol from hints if specified */
396 ai->ai_socktype = hints->ai_socktype;
397 ai->ai_protocol = hints->ai_protocol;