Lines Matching refs:hints
241 struct addrinfo hints, *res;
252 memset(&hints, 0, sizeof(hints));
253 hints.ai_family = options.address_family == -1 ?
255 hints.ai_socktype = SOCK_STREAM;
257 hints.ai_flags = AI_CANONNAME;
258 if ((gaierr = getaddrinfo(name, strport, &hints, &res)) != 0) {
292 struct addrinfo hints, *res;
298 memset(&hints, 0, sizeof(hints));
299 hints.ai_family = options.address_family == -1 ?
301 hints.ai_socktype = SOCK_STREAM;
302 hints.ai_flags = AI_NUMERICHOST|AI_NUMERICSERV;
303 if (getaddrinfo(name, strport, &hints, &res) != 0)
323 struct addrinfo hints, *res;
329 memset(&hints, 0, sizeof(hints));
330 hints.ai_family = options.address_family == -1 ?
332 hints.ai_socktype = SOCK_STREAM;
333 hints.ai_flags = AI_NUMERICHOST|AI_NUMERICSERV;
334 if ((gaierr = getaddrinfo(name, strport, &hints, &res)) != 0) {