Lines Matching refs:hints
89 struct addrinfo hints, *res, *ai;
98 memset(&hints, 0, sizeof(hints));
99 hints.ai_family = family;
100 hints.ai_socktype = SOCK_STREAM;
101 hints.ai_protocol = 0;
103 &hints, &res);
183 struct addrinfo hints, *local_res, *remote_res, *lr, *rr;
201 memset(&hints, 0, sizeof(hints));
202 hints.ai_family = family;
203 hints.ai_socktype = SOCK_STREAM;
204 hints.ai_flags = AI_PASSIVE;
205 if ((errno = getaddrinfo(lclhost, NULL, &hints, &local_res)) != 0) {
213 memset(&hints, 0, sizeof(hints));
214 hints.ai_family = family;
215 hints.ai_socktype = SOCK_STREAM;
216 hints.ai_flags = AI_PASSIVE;
218 &hints, &remote_res)) != 0) {