Lines Matching refs:hints
52 * hints is an optional pointer to a struct addrinfo. This structure can
53 * be used to provide hints concerning the type of socket that the caller
55 * structure elements in *hints:
98 * All other elements of the struct addrinfo passed via hints must be
101 * A hints of NULL is treated as if the caller provided a struct addrinfo
175 const struct addrinfo *hints, struct addrinfo **res)
189 if (hints != NULL) {
190 if ((hints->ai_flags & ~(ISC_AI_MASK)) != 0)
192 if (hints->ai_addrlen || hints->ai_canonname ||
193 hints->ai_addr || hints->ai_next) {
197 family = hints->ai_family;
198 socktype = hints->ai_socktype;
199 protocol = hints->ai_protocol;
200 flags = hints->ai_flags;
203 switch (hints->ai_socktype) {
214 switch (hints->ai_socktype) {
231 switch (hints->ai_socktype) {