Home
last modified time | relevance | path

Searched refs:ai_family (Results 1 – 15 of 15) sorted by relevance

/curl/lib/
H A Dcurl_addrinfo.c131 if(ai->ai_family == AF_INET) in Curl_getaddrinfo_ex()
134 else if(ai->ai_family == AF_INET6) in Curl_getaddrinfo_ex()
158 ca->ai_family = ai->ai_family; in Curl_getaddrinfo_ex()
306 ai->ai_family = he->h_addrtype; in Curl_he2ai()
316 switch(ai->ai_family) { in Curl_he2ai()
398 ai->ai_family = af; in Curl_ip2addr()
486 ai->ai_family = AF_UNIX; in Curl_unix2addr()
571 switch(ca->ai_family) { in Curl_addrinfo_set_port()
H A Dhostip6.c80 ai->ai_family, ai->ai_canonname ? ai->ai_canonname : "<none>"); in dump_addrinfo()
120 hints.ai_family = pf; in Curl_getaddrinfo()
H A Dcurl_addrinfo.h54 int ai_family; member
H A Dasyn-ares.c534 if(res->temp_ai && res->temp_ai->ai_family == PF_INET6) { in compound_results()
676 if(ai->ai_family == AF_INET) in ares2addr()
679 else if(ai->ai_family == AF_INET6) in ares2addr()
703 ca->ai_family = ai->ai_family; in ares2addr()
794 hints.ai_family = pf; in Curl_resolver_getaddrinfo()
H A Dconnect.c215 if(addr->ai_family == family) in addr_first_match()
227 if(addr->ai_family == family) in addr_next_match()
360 int ai_family; /* matching address family only */ member
404 int ai_family, in eyeballer_new() argument
417 baller->name = ((ai_family == AF_INET) ? "ipv4" : ( in eyeballer_new()
419 (ai_family == AF_INET6) ? "ipv6" : in eyeballer_new()
424 baller->ai_family = ai_family; in eyeballer_new()
427 baller->timeoutms = addr_next_match(baller->addr, baller->ai_family) ? in eyeballer_new()
462 baller->addr = addr_next_match(baller->addr, baller->ai_family); in baller_next_addr()
496 if(addr_next_match(baller->addr, baller->ai_family)) { in baller_initiate()
[all …]
H A Dhostip.c140 switch(ai->ai_family) { in Curl_printable_address()
144 (void)Curl_inet_ntop(ai->ai_family, (const void *)ipaddr4, buf, bufsize); in Curl_printable_address()
151 (void)Curl_inet_ntop(ai->ai_family, (const void *)ipaddr6, buf, bufsize); in Curl_printable_address()
325 if(addr->ai_family == pf) { in fetch_addr()
550 ca->ai_family = AF_INET6; in get_localhost6()
588 ca->ai_family = AF_INET; in get_localhost()
1360 a->ai_family == PF_INET6 || in show_resolve_info()
1362 a->ai_family == PF_INET) { in show_resolve_info()
1364 struct dynbuf *d = &out[(a->ai_family != PF_INET)]; in show_resolve_info()
H A Dhostip4.c140 hints.ai_family = PF_INET; in Curl_ipv4_resolve_r()
H A Dsocks.c375 while(hp && (hp->ai_family != AF_INET)) in do_SOCKS4()
846 while(hp && (hp->ai_family != wanted_family)) in do_SOCKS5()
862 if(hp->ai_family == AF_INET) { in do_SOCKS5()
876 else if(hp->ai_family == AF_INET6) { in do_SOCKS5()
H A Dasyn-thread.c730 hints.ai_family = pf; in Curl_resolver_getaddrinfo()
H A Ddoh.c949 ai->ai_family = addrtype; in doh2ai()
959 switch(ai->ai_family) { in doh2ai()
H A Dcf-socket.c320 dest->family = ai->ai_family; in Curl_sock_assign_addr()
696 int h_af = h->addr->ai_family; in bindlocal()
/curl/tests/unit/
H A Dunit2600.c114 int ai_family; member
205 ctx->ai_family = ai->ai_family; in cf_test_create()
209 if(ctx->ai_family == AF_INET6) { in cf_test_create()
H A Dunit1305.c89 ai->ai_family = AF_INET; in fake_ai()
/curl/tests/server/
H A Dresolve.c129 hints.ai_family = use_ipv6 ? PF_INET6 : PF_INET; in main()
/curl/m4/
H A Dcurl-functions.m41380 hints.ai_family = AF_UNSPEC;

Completed in 43 milliseconds