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;
217 result = getaddrinfo(namebuf, NULL, &hints, &ai);
385 struct addrinfo hints, *ai, *cur;
392 memset(&hints, 0, sizeof(hints));
393 hints.ai_flags = AI_CANONNAME;
394 hints.ai_family = PF_UNSPEC;
395 hints.ai_socktype = SOCK_STREAM;
396 hints.ai_protocol = IPPROTO_TCP;
406 result = getaddrinfo(namebuf, NULL, &hints, &ai);
470 struct addrinfo hints, *ai, *cur;
477 memset(&hints, 0, sizeof(hints));
478 hints.ai_flags = AI_CANONNAME;
479 hints.ai_family = PF_UNSPEC;
480 hints.ai_socktype = SOCK_STREAM;
481 hints.ai_protocol = IPPROTO_TCP;
491 result = getaddrinfo(namebuf, NULL, &hints, &ai);