Lines Matching refs:hints
185 struct addrinfo hints, *ai, *cur;
203 memset(&hints, 0, sizeof(hints));
204 hints.ai_flags = AI_CANONNAME;
205 hints.ai_family = PF_UNSPEC;
206 hints.ai_socktype = SOCK_STREAM;
207 hints.ai_protocol = IPPROTO_TCP;
218 result = getaddrinfo(namebuf, NULL, &hints, &ai);
386 struct addrinfo hints, *ai, *cur;
393 memset(&hints, 0, sizeof(hints));
394 hints.ai_flags = AI_CANONNAME;
395 hints.ai_family = PF_UNSPEC;
396 hints.ai_socktype = SOCK_STREAM;
397 hints.ai_protocol = IPPROTO_TCP;
408 result = getaddrinfo(namebuf, NULL, &hints, &ai);
472 struct addrinfo hints, *ai, *cur;
479 memset(&hints, 0, sizeof(hints));
480 hints.ai_flags = AI_CANONNAME;
481 hints.ai_family = PF_UNSPEC;
482 hints.ai_socktype = SOCK_STREAM;
483 hints.ai_protocol = IPPROTO_TCP;
494 result = getaddrinfo(namebuf, NULL, &hints, &ai);