Home
last modified time | relevance | path

Searched refs:AF_INET6 (Results 1 – 25 of 31) sorted by relevance

12

/curl/lib/
H A Dcurl_addrinfo.c134 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 Dinet_pton.c46 #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 Dinet_ntop.c49 #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 Dnoproxy.c94 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 Dif2ip.c69 if(sa->sa_family == AF_INET6) { in Curl_ipv6_scope()
125 if(af == AF_INET6) { in Curl_if2ip()
H A Dhostip6.c130 (1 == Curl_inet_pton(AF_INET6, hostname, addrbuf))) { in Curl_getaddrinfo()
H A Dhostip.c148 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 Dcf-socket.c374 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 Daltsvc.c260 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 Dasyn-ares.c679 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 Dsocks.c844 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 Durlapi.c65 #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 Dconnect.c259 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 Ddoh.c924 addrtype = AF_INET6; in doh2ai()
973 case AF_INET6: in doh2ai()
H A Dftp.c912 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 Dsocksd.c177 , 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 Dsws.c71 , 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 Dtftpd.c659 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 Dsockfilt.c1275 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 Dmqttd.c853 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 Drtspd.c1163 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 Dunit2600.c209 if(ctx->ai_family == AF_INET6) { in cf_test_create()
/curl/lib/vtls/
H A Dschannel_verify.c452 res = Curl_inet_pton(AF_INET6, hostname, &ia6); in get_num_host_info()
/curl/lib/vquic/
H A Dcurl_osslq.c187 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 Dtool_operate.c203 #if defined(IPV6_TCLASS) && defined(AF_INET6) in sockopt_callback()
204 case AF_INET6: in sockopt_callback()

Completed in 114 milliseconds

12