Lines Matching defs:hints
306 "Invalid value for hints", /* EAI_BADHINTS */
452 const struct addrinfo *hints, struct addrinfo **res)
467 /* hints is allowed to be NULL */
486 if (hints) {
487 /* error check for hints */
488 if (hints->ai_addrlen || hints->ai_canonname ||
489 hints->ai_addr || hints->ai_next)
491 if (hints->ai_flags & ~AI_MASK)
493 switch (hints->ai_family) {
503 memcpy(pai, hints, sizeof(*pai));
685 if (hints == NULL || !(hints->ai_flags & AI_PASSIVE)) {
2329 struct addrinfo hints, *res0, *res;
2371 hints = *pai;
2372 hints.ai_flags = AI_NUMERICHOST;
2373 error = getaddrinfo(addr, NULL, &hints, &res0);
2429 struct addrinfo hints, *res, *res0;
2476 hints = *pai;
2477 hints.ai_flags = AI_NUMERICHOST;
2478 error = getaddrinfo(addr, NULL, &hints, &res0);