Lines Matching refs:ai_next
274 next = ai->ai_next;
322 sentinel.ai_next = NULL;
332 pai->ai_next = NULL;
339 hints->ai_addr || hints->ai_next)
422 error = explore_null(pai, hostname, servname, &cur->ai_next);
424 error = explore_numeric_scope(pai, hostname, servname, &cur->ai_next);
429 while (cur && cur->ai_next)
430 cur = cur->ai_next;
438 if (sentinel.ai_next)
482 &cur->ai_next);
484 while (cur && cur->ai_next)
485 cur = cur->ai_next;
490 if (sentinel.ai_next)
496 if (sentinel.ai_next) {
498 *res = sentinel.ai_next;
505 if (sentinel.ai_next)
506 freeaddrinfo(sentinel.ai_next);
535 sentinel.ai_next = NULL;
645 GET_AI(cur->ai_next, afd, ap);
646 GET_PORT(cur->ai_next, servname);
658 get_name(ap, afd, &cur->ai_next,
662 while (cur && cur->ai_next)
663 cur = cur->ai_next;
666 *res = sentinel.ai_next;
678 if (sentinel.ai_next)
679 freeaddrinfo(sentinel.ai_next);
702 sentinel.ai_next = NULL;
725 GET_AI(cur->ai_next, afd, afd->a_addrany);
729 GET_PORT(cur->ai_next, servname);
731 GET_AI(cur->ai_next, afd, afd->a_loopback);
735 GET_PORT(cur->ai_next, servname);
737 cur = cur->ai_next;
739 *res = sentinel.ai_next;
743 if (sentinel.ai_next)
744 freeaddrinfo(sentinel.ai_next);
766 sentinel.ai_next = NULL;
805 GET_AI(cur->ai_next, afd, pton);
806 GET_PORT(cur->ai_next, servname);
818 get_name(pton, afd, &cur->ai_next,
821 while (cur && cur->ai_next)
822 cur = cur->ai_next;
827 *res = sentinel.ai_next;
832 if (sentinel.ai_next)
833 freeaddrinfo(sentinel.ai_next);
895 for (cur = *res; cur; cur = cur->ai_next) {