• Home
  • Raw
  • Download

Lines Matching refs:ai_next

205         struct addrinfo* next = ai->ai_next;  in freeaddrinfo()
293 .ai_next = nullptr, in android_getaddrinfofornetcontext()
303 if (hints->ai_addrlen || hints->ai_canonname || hints->ai_addr || hints->ai_next) { in android_getaddrinfofornetcontext()
369 error = explore_null(&tmp, servname, &cur->ai_next); in android_getaddrinfofornetcontext()
371 error = explore_numeric_scope(&tmp, hostname, servname, &cur->ai_next); in android_getaddrinfofornetcontext()
375 while (cur->ai_next) cur = cur->ai_next; in android_getaddrinfofornetcontext()
384 if (sentinel.ai_next) break; in android_getaddrinfofornetcontext()
416 error = explore_fqdn(&tmp, hostname, servname, &cur->ai_next, netcontext); in android_getaddrinfofornetcontext()
418 while (cur->ai_next) cur = cur->ai_next; in android_getaddrinfofornetcontext()
421 if (sentinel.ai_next) { in android_getaddrinfofornetcontext()
429 freeaddrinfo(sentinel.ai_next); in android_getaddrinfofornetcontext()
432 *res = sentinel.ai_next; in android_getaddrinfofornetcontext()
458 for (cur = result; cur; cur = cur->ai_next) { in explore_fqdn()
490 sentinel.ai_next = NULL; in explore_null()
512 GET_AI(cur->ai_next, afd, afd->a_addrany); in explore_null()
513 GET_PORT(cur->ai_next, servname); in explore_null()
515 GET_AI(cur->ai_next, afd, afd->a_loopback); in explore_null()
516 GET_PORT(cur->ai_next, servname); in explore_null()
518 cur = cur->ai_next; in explore_null()
520 *res = sentinel.ai_next; in explore_null()
524 freeaddrinfo(sentinel.ai_next); in explore_null()
545 sentinel.ai_next = NULL; in explore_numeric()
558 GET_AI(cur->ai_next, afd, pton); in explore_numeric()
559 GET_PORT(cur->ai_next, servname); in explore_numeric()
566 error = get_canonname(pai, cur->ai_next, canonname); in explore_numeric()
568 freeaddrinfo(sentinel.ai_next); in explore_numeric()
572 while (cur->ai_next) cur = cur->ai_next; in explore_numeric()
577 *res = sentinel.ai_next; in explore_numeric()
581 freeaddrinfo(sentinel.ai_next); in explore_numeric()
630 for (cur = *res; cur; cur = cur->ai_next) { in explore_numeric_scope()
991 cur->ai_next = get_ai(&ai, afd, (const char*) cp); in getanswer()
992 if (cur->ai_next == NULL) had_error++; in getanswer()
993 while (cur && cur->ai_next) cur = cur->ai_next; in getanswer()
1003 (void) get_canonname(pai, sentinel.ai_next, qname); in getanswer()
1005 (void) get_canonname(pai, sentinel.ai_next, canonname); in getanswer()
1007 return sentinel.ai_next; in getanswer()
1340 cur = list_sentinel->ai_next; in _rfc6724_sort()
1343 cur = cur->ai_next; in _rfc6724_sort()
1355 for (i = 0, cur = list_sentinel->ai_next; i < nelem; ++i, cur = cur->ai_next) { in _rfc6724_sort()
1371 list_sentinel->ai_next = elems[0].ai; in _rfc6724_sort()
1373 elems[i].ai->ai_next = elems[i + 1].ai; in _rfc6724_sort()
1375 elems[nelem - 1].ai->ai_next = NULL; in _rfc6724_sort()
1458 cur->ai_next = ai; in dns_getaddrinfo()
1459 while (cur && cur->ai_next) cur = cur->ai_next; in dns_getaddrinfo()
1463 if (ai) cur->ai_next = ai; in dns_getaddrinfo()
1465 if (sentinel.ai_next == NULL) { in dns_getaddrinfo()
1473 *rv = sentinel.ai_next; in dns_getaddrinfo()
1528 for (res = res0; res; res = res->ai_next) { in _gethtent()
1551 cur->ai_next = p; in files_getaddrinfo()
1552 while (cur && cur->ai_next) cur = cur->ai_next; in files_getaddrinfo()
1556 *res = sentinel.ai_next; in files_getaddrinfo()
1557 return sentinel.ai_next != NULL; in files_getaddrinfo()