Lines Matching refs:hints
156 struct addrinfo hints, *res, *res0;
186 memset(&hints, 0, sizeof(hints));
187 hints.ai_socktype = SOCK_DGRAM; /*dummy*/
188 hints.ai_flags = AI_NUMERICHOST;
190 if (getaddrinfo(append_dot(host->name), "0", &hints, &res0) == 0)
192 if (getaddrinfo(host->name, "0", &hints, &res0) == 0)
214 memset(&hints, 0, sizeof(hints));
215 hints.ai_family = sa->sa_family;
216 hints.ai_socktype = SOCK_DGRAM; /*dummy*/
217 hints.ai_flags = AI_CANONNAME;
219 if (getaddrinfo(append_dot(host->name), "0", &hints, &res0) != 0)
221 if (getaddrinfo(host->name, "0", &hints, &res0) != 0)
230 host->name, hints.ai_family);