Home | History | Annotate | Download | only in missing

Lines Matching refs:cur

295 	struct addrinfo *cur;
316 cur = &sentinel;
415 error = explore_null(pai, hostname, servname, &cur->ai_next);
417 error = explore_numeric_scope(pai, hostname, servname, &cur->ai_next);
422 while (cur && cur->ai_next)
423 cur = cur->ai_next;
475 &cur->ai_next);
477 while (cur && cur->ai_next)
478 cur = cur->ai_next;
519 struct addrinfo sentinel, *cur;
529 cur = &sentinel;
638 GET_AI(cur->ai_next, afd, ap);
639 GET_PORT(cur->ai_next, servname);
651 get_name(ap, afd, &cur->ai_next,
655 while (cur && cur->ai_next)
656 cur = cur->ai_next;
690 struct addrinfo *cur;
696 cur = &sentinel;
718 GET_AI(cur->ai_next, afd, afd->a_addrany);
720 * GET_CANONNAME(cur->ai_next, "anyaddr");
722 GET_PORT(cur->ai_next, servname);
724 GET_AI(cur->ai_next, afd, afd->a_loopback);
726 * GET_CANONNAME(cur->ai_next, "localhost");
728 GET_PORT(cur->ai_next, servname);
730 cur = cur->ai_next;
752 struct addrinfo *cur;
760 cur = &sentinel;
798 GET_AI(cur->ai_next, afd, pton);
799 GET_PORT(cur->ai_next, servname);
811 get_name(pton, afd, &cur->ai_next,
814 while (cur && cur->ai_next)
815 cur = cur->ai_next;
844 struct addrinfo *cur;
888 for (cur = *res; cur; cur = cur->ai_next) {
889 if (cur->ai_family != AF_INET6)
891 sin6 = (struct sockaddr_in6 *)cur->ai_addr;
914 struct addrinfo *cur = NULL;
926 GET_AI(cur, afd, hp->h_addr_list[0]);
927 GET_PORT(cur, servname);
928 GET_CANONNAME(cur, hp->h_name);
941 GET_AI(cur, afd, ap);
942 GET_PORT(cur, servname);
943 GET_CANONNAME(cur, cn);
948 GET_AI(cur, afd, numaddr);
949 GET_PORT(cur, servname);
956 *res = cur;
959 if (cur)
960 freeaddrinfo(cur);