Lines Matching refs:hints
61 struct addrinfo *ai = NULL, *tmpai, hints;
138 memset(&hints, 0, sizeof(hints));
140 hints.ai_family = PF_INET;
142 hints.ai_family = PF_INET6;
144 hints.ai_family = PF_UNSPEC;
146 hints.ai_flags = AI_ADDRCONFIG;
149 hints.ai_socktype = SOCK_STREAM;
153 result = getaddrinfo(hostname, NULL, &hints, &ai);
164 if ((hints.ai_flags & AI_ADDRCONFIG) != 0) {
165 hints.ai_flags &= ~AI_ADDRCONFIG;