Lines Matching full:hints
191 struct addrinfo hints, *res;
220 memset(&hints, 0, sizeof(hints));
221 hints.ai_family = ai->ai_family;
222 hints.ai_socktype = ai->ai_socktype;
223 hints.ai_protocol = ai->ai_protocol;
224 hints.ai_flags = AI_PASSIVE;
225 gaierr = getaddrinfo(options.bind_address, NULL, &hints, &res);
345 struct addrinfo hints, *ai, *aitop;
355 memset(&hints, 0, sizeof(hints));
356 hints.ai_family = family;
357 hints.ai_socktype = SOCK_STREAM;
359 if ((gaierr = getaddrinfo(host, strport, &hints, &aitop)) != 0)