Searched refs:ai_family (Results 1 – 15 of 15) sorted by relevance
/curl/lib/ |
H A D | curl_addrinfo.c | 131 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 D | hostip6.c | 80 ai->ai_family, ai->ai_canonname ? ai->ai_canonname : "<none>"); in dump_addrinfo() 120 hints.ai_family = pf; in Curl_getaddrinfo()
|
H A D | curl_addrinfo.h | 54 int ai_family; member
|
H A D | asyn-ares.c | 534 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 D | connect.c | 215 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 D | hostip.c | 140 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 D | hostip4.c | 140 hints.ai_family = PF_INET; in Curl_ipv4_resolve_r()
|
H A D | socks.c | 375 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 D | asyn-thread.c | 730 hints.ai_family = pf; in Curl_resolver_getaddrinfo()
|
H A D | doh.c | 949 ai->ai_family = addrtype; in doh2ai() 959 switch(ai->ai_family) { in doh2ai()
|
H A D | cf-socket.c | 320 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 D | unit2600.c | 114 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 D | unit1305.c | 89 ai->ai_family = AF_INET; in fake_ai()
|
/curl/tests/server/ |
H A D | resolve.c | 129 hints.ai_family = use_ipv6 ? PF_INET6 : PF_INET; in main()
|
/curl/m4/ |
H A D | curl-functions.m4 | 1380 hints.ai_family = AF_UNSPEC;
|
Completed in 62 milliseconds