Home | History | Annotate | Download | only in net

Lines Matching refs:cur

592 	struct addrinfo *cur;
605 cur = &sentinel;
708 error = explore_null(pai, servname, &cur->ai_next);
711 &cur->ai_next);
716 while (cur->ai_next)
717 cur = cur->ai_next;
767 &cur->ai_next);
769 while (cur && cur->ai_next)
770 cur = cur->ai_next;
803 struct addrinfo *cur;
838 for (cur = result; cur; cur = cur->ai_next) {
839 GET_PORT(cur, servname);
866 struct addrinfo *cur;
876 cur = &sentinel;
900 GET_AI(cur->ai_next, afd, afd->a_addrany);
902 * GET_CANONNAME(cur->ai_next, "anyaddr");
904 GET_PORT(cur->ai_next, servname);
906 GET_AI(cur->ai_next, afd, afd->a_loopback);
908 * GET_CANONNAME(cur->ai_next, "localhost");
910 GET_PORT(cur->ai_next, servname);
912 cur = cur->ai_next;
931 struct addrinfo *cur;
943 cur = &sentinel;
961 GET_AI(cur->ai_next, afd, pton);
962 GET_PORT(cur->ai_next, servname);
969 GET_CANONNAME(cur->ai_next, canonname);
971 while (cur && cur->ai_next)
972 cur = cur->ai_next;
982 GET_AI(cur->ai_next, afd, pton);
983 GET_PORT(cur->ai_next, servname);
990 GET_CANONNAME(cur->ai_next, canonname);
992 while (cur->ai_next)
993 cur = cur->ai_next;
1021 struct addrinfo *cur;
1063 for (cur = *res; cur; cur = cur->ai_next) {
1064 if (cur->ai_family != AF_INET6)
1066 sin6 = (struct sockaddr_in6 *)(void *)cur->ai_addr;
1301 struct addrinfo sentinel, *cur;
1321 cur = &sentinel;
1462 cur->ai_next = get_ai(&ai, afd, (const char *)cp);
1463 if (cur->ai_next == NULL)
1465 while (cur && cur->ai_next)
1466 cur = cur->ai_next;
1825 struct addrinfo *cur;
1829 cur = list_sentinel->ai_next;
1830 while (cur) {
1832 cur = cur->ai_next;
1844 for (i = 0, cur = list_sentinel->ai_next; i < nelem; ++i, cur = cur->ai_next) {
1846 assert(cur != NULL);
1847 elems[i].ai = cur;
1850 has_src_addr = _find_src_addr(cur->ai_addr, &elems[i].src_addr.generic);
1878 struct addrinfo sentinel, *cur;
1889 cur = &sentinel;
1975 cur->ai_next = ai;
1976 while (cur && cur->ai_next)
1977 cur = cur->ai_next;
1982 cur->ai_next = ai;
2098 struct addrinfo sentinel, *cur;
2107 cur = &sentinel;
2111 cur->ai_next = p;
2112 while (cur && cur->ai_next)
2113 cur = cur->ai_next;