/curl/lib/ |
H A D | curl_addrinfo.c | 134 else if(ai->ai_family == AF_INET6) in Curl_getaddrinfo_ex() 280 if(he->h_addrtype == AF_INET6) in Curl_he2ai() 330 case AF_INET6: in Curl_he2ai() 383 else if(af == AF_INET6) in Curl_ip2addr() 417 case AF_INET6: in Curl_ip2addr() 447 if(Curl_inet_pton(AF_INET6, address, &in6) > 0) in Curl_str2addr() 449 return Curl_ip2addr(AF_INET6, &in6, address, port); in Curl_str2addr() 578 case AF_INET6: in Curl_addrinfo_set_port()
|
H A D | inet_pton.c | 46 #if !defined(USE_IPV6) && !defined(AF_INET6) 47 #define AF_INET6 (AF_INET + 1) macro 80 case AF_INET6: in Curl_inet_pton()
|
H A D | inet_ntop.c | 49 #if !defined(USE_IPV6) && !defined(AF_INET6) 50 #define AF_INET6 (AF_INET + 1) macro 197 case AF_INET6: in Curl_inet_ntop()
|
H A D | noproxy.c | 94 if(1 != Curl_inet_pton(AF_INET6, ipv6, address)) in Curl_cidr6_match() 96 if(1 != Curl_inet_pton(AF_INET6, network, check)) in Curl_cidr6_match()
|
H A D | if2ip.c | 69 if(sa->sa_family == AF_INET6) { in Curl_ipv6_scope() 125 if(af == AF_INET6) { in Curl_if2ip()
|
H A D | hostip6.c | 130 (1 == Curl_inet_pton(AF_INET6, hostname, addrbuf))) { in Curl_getaddrinfo()
|
H A D | hostip.c | 148 case AF_INET6: { in Curl_printable_address() 541 sa6.sin6_family = AF_INET6; in get_localhost6() 546 (void)Curl_inet_pton(AF_INET6, "::1", ipv6); in get_localhost6() 550 ca->ai_family = AF_INET6; in get_localhost6() 650 || Curl_inet_pton(AF_INET6, hostname, &in6) > 0 in Curl_host_is_ipnum() 768 if(Curl_inet_pton(AF_INET6, hostname, &in6) > 0) { in Curl_resolv() 770 addr = Curl_ip2addr(AF_INET6, &in6, hostname, port); in Curl_resolv() 787 if(Curl_inet_pton(AF_INET6, hostname, &in6) > 0) in Curl_resolv()
|
H A D | cf-socket.c | 374 if(data->conn->scope_id && (addr->family == AF_INET6)) { in socket_open() 686 else if(af == AF_INET6) in bindlocal() 721 if(af == AF_INET6) { in bindlocal() 728 si6->sin6_family = AF_INET6; in bindlocal() 772 if(af == AF_INET6) { in bindlocal() 773 si6->sin6_family = AF_INET6; in bindlocal() 1142 if(ctx->addr.family == AF_INET6) { in cf_socket_open() 1152 || ctx->addr.family == AF_INET6) && in cf_socket_open() 1188 || ctx->addr.family == AF_INET6 in cf_socket_open() 1757 *pres1 = (ctx->addr.family == AF_INET6); in cf_socket_query() [all …]
|
H A D | altsvc.c | 260 if(1 == Curl_inet_pton(AF_INET6, as->dst.host, ipv6_unused)) { in altsvc_out() 264 if(1 == Curl_inet_pton(AF_INET6, as->src.host, ipv6_unused)) { in altsvc_out()
|
H A D | asyn-ares.c | 679 else if(ai->ai_family == AF_INET6) in ares2addr() 934 if(Curl_inet_pton(AF_INET6, local_ip6, a6) != 1) { in Curl_set_dns_local_ip6()
|
H A D | socks.c | 844 AF_INET : AF_INET6; in do_SOCKS5() 876 else if(hp->ai_family == AF_INET6) { in do_SOCKS5() 915 if(1 != Curl_inet_pton(AF_INET6, sx->hostname, ip6)) in do_SOCKS5()
|
H A D | urlapi.c | 65 #if !defined(USE_IPV6) && !defined(AF_INET6) 66 #define AF_INET6 (AF_INET + 1) macro 617 if(1 != Curl_inet_pton(AF_INET6, hostname, dest)) in ipv6_parse() 619 if(Curl_inet_ntop(AF_INET6, dest, hostname, hlen)) { in ipv6_parse()
|
H A D | connect.c | 259 case AF_INET6: in Curl_addr2string() 419 (ai_family == AF_INET6) ? "ipv6" : in eyeballer_new() 795 ai_family0 = AF_INET6; in start_connect() 806 ai_family0 = AF_INET6; in start_connect()
|
H A D | doh.c | 924 addrtype = AF_INET6; in doh2ai() 973 case AF_INET6: in doh2ai()
|
H A D | ftp.c | 912 if(Curl_inet_pton(AF_INET6, string_ftpport, &sa6->sin6_addr) == 1) { in ftp_state_use_port() 990 case AF_INET6: in ftp_state_use_port() 1139 case AF_INET6: in ftp_state_use_port()
|
/curl/tests/server/ |
H A D | socksd.c | 177 , socket_domain_inet6 = AF_INET6 866 case AF_INET6: in sockdaemon() 868 listener.sa6.sin6_family = AF_INET6; in sockdaemon() 904 if(socket_domain == AF_INET6) in sockdaemon() 922 case AF_INET6: in sockdaemon() 1019 socket_domain = AF_INET6; in main()
|
H A D | sws.c | 71 , socket_domain_inet6 = AF_INET6 231 case AF_INET6: in socket_domain_is_ip() 1293 if(socket_domain == AF_INET6) { in connect_to() 1349 case AF_INET6: in connect_to() 1351 serveraddr.sa6.sin6_family = AF_INET6; in connect_to() 1353 if(Curl_inet_pton(AF_INET6, ipaddr, &serveraddr.sa6.sin6_addr) < 1) { in connect_to() 2074 socket_domain = AF_INET6; in main() 2214 case AF_INET6: in main() 2216 me.sa6.sin6_family = AF_INET6; in main() 2246 if(socket_domain != AF_INET6) in main() [all …]
|
H A D | tftpd.c | 659 sock = socket(AF_INET6, SOCK_DGRAM, 0); in main() 691 me.sa6.sin6_family = AF_INET6; in main() 731 case AF_INET6: in main() 806 from.sa6.sin6_family = AF_INET6; in main() 807 peer = socket(AF_INET6, SOCK_DGRAM, 0); in main()
|
H A D | sockfilt.c | 1275 listener.sa6.sin6_family = AF_INET6; in sockdaemon() 1315 case AF_INET6: in sockdaemon() 1486 sock = socket(AF_INET6, SOCK_STREAM, 0); in main() 1515 me.sa6.sin6_family = AF_INET6; in main() 1519 Curl_inet_pton(AF_INET6, addr, &me.sa6.sin6_addr); in main()
|
H A D | mqttd.c | 853 listener.sa6.sin6_family = AF_INET6; in sockdaemon() 893 case AF_INET6: in sockdaemon() 1038 sock = socket(AF_INET6, SOCK_STREAM, 0); in main()
|
H A D | rtspd.c | 1163 sock = socket(AF_INET6, SOCK_STREAM, 0); in main() 1193 me.sa6.sin6_family = AF_INET6; in main() 1232 case AF_INET6: in main()
|
/curl/tests/unit/ |
H A D | unit2600.c | 209 if(ctx->ai_family == AF_INET6) { in cf_test_create()
|
/curl/lib/vtls/ |
H A D | schannel_verify.c | 452 res = Curl_inet_pton(AF_INET6, hostname, &ia6); in get_num_host_info()
|
/curl/lib/vquic/ |
H A D | curl_osslq.c | 187 case AF_INET6: { in make_bio_addr() 190 if(!BIO_ADDR_rawmake(ba, AF_INET6, &sin->sin6_addr, in make_bio_addr()
|
/curl/src/ |
H A D | tool_operate.c | 203 #if defined(IPV6_TCLASS) && defined(AF_INET6) in sockopt_callback() 204 case AF_INET6: in sockopt_callback()
|