/curl/lib/ |
H A D | inet_pton.h | 29 int Curl_inet_pton(int, const char *, void *); 35 #define Curl_inet_pton(x,y,z) inet_pton(x,y,z) macro
|
H A D | noproxy.c | 56 if(1 != Curl_inet_pton(AF_INET, ipv4, &address)) in Curl_cidr4_match() 58 if(1 != Curl_inet_pton(AF_INET, network, &check)) in Curl_cidr4_match() 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() 165 if(1 == Curl_inet_pton(AF_INET, name, &address)) in Curl_check_noproxy()
|
H A D | hostip6.c | 129 if((1 == Curl_inet_pton(AF_INET, hostname, addrbuf)) || in Curl_getaddrinfo() 130 (1 == Curl_inet_pton(AF_INET6, hostname, addrbuf))) { in Curl_getaddrinfo()
|
H A D | hostip.c | 546 (void)Curl_inet_pton(AF_INET6, "::1", ipv6); in get_localhost6() 580 if(Curl_inet_pton(AF_INET, "127.0.0.1", (char *)&ipv4) < 1) in get_localhost() 648 if(Curl_inet_pton(AF_INET, hostname, &in) > 0 in Curl_host_is_ipnum() 650 || Curl_inet_pton(AF_INET6, hostname, &in6) > 0 in Curl_host_is_ipnum() 758 if(Curl_inet_pton(AF_INET, hostname, &in) > 0) { in Curl_resolv() 768 if(Curl_inet_pton(AF_INET6, hostname, &in6) > 0) { in Curl_resolv() 780 if(Curl_inet_pton(AF_INET, hostname, &in) > 0) in Curl_resolv() 787 if(Curl_inet_pton(AF_INET6, hostname, &in6) > 0) in Curl_resolv()
|
H A D | inet_pton.c | 75 Curl_inet_pton(int af, const char *src, void *dst) in Curl_inet_pton() function
|
H A D | curl_addrinfo.c | 441 if(Curl_inet_pton(AF_INET, address, &in) > 0) in Curl_str2addr() 447 if(Curl_inet_pton(AF_INET6, address, &in6) > 0) in Curl_str2addr()
|
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 | 906 if(Curl_inet_pton(AF_INET, local_ip4, &a4) != 1) { in Curl_set_dns_local_ip4() 934 if(Curl_inet_pton(AF_INET6, local_ip6, a6) != 1) { in Curl_set_dns_local_ip6()
|
H A D | socks.c | 915 if(1 != Curl_inet_pton(AF_INET6, sx->hostname, ip6)) in do_SOCKS5() 923 if(1 == Curl_inet_pton(AF_INET, sx->hostname, ip4)) { in do_SOCKS5()
|
H A D | cf-socket.c | 727 if(Curl_inet_pton(AF_INET6, myhost, &si6->sin6_addr) > 0) { in bindlocal() 750 (Curl_inet_pton(AF_INET, myhost, &si4->sin_addr) > 0)) { in bindlocal()
|
H A D | urlapi.c | 617 if(1 != Curl_inet_pton(AF_INET6, hostname, dest)) in ipv6_parse()
|
H A D | ftp.c | 912 if(Curl_inet_pton(AF_INET6, string_ftpport, &sa6->sin6_addr) == 1) { in ftp_state_use_port()
|
/curl/lib/vtls/ |
H A D | schannel_verify.c | 445 int res = Curl_inet_pton(AF_INET, hostname, &ia); in get_num_host_info() 452 res = Curl_inet_pton(AF_INET6, hostname, &ia6); in get_num_host_info()
|
H A D | gtls.c | 1563 if(Curl_inet_pton(AF_INET, peer->hostname, addrbuf) > 0) in Curl_gtls_verifyserver() 1566 else if(Curl_inet_pton(AF_INET6, peer->hostname, addrbuf) > 0) in Curl_gtls_verifyserver()
|
H A D | vtls.c | 1595 if(Curl_inet_pton(AF_INET, hostname, &addr)) in get_peer_type() 1598 else if(Curl_inet_pton(AF_INET6, hostname, &addr)) { in get_peer_type()
|
H A D | openssl.c | 2124 if(!Curl_inet_pton(AF_INET, peer->hostname, &addr)) in ossl_verifyhost() 2131 if(!Curl_inet_pton(AF_INET6, peer->hostname, &addr)) in ossl_verifyhost()
|
/curl/tests/server/ |
H A D | sockfilt.c | 1508 Curl_inet_pton(AF_INET, addr, &me.sa4.sin_addr); in main() 1519 Curl_inet_pton(AF_INET6, addr, &me.sa6.sin6_addr); in main()
|
H A D | socksd.c | 295 Curl_inet_pton(AF_INET, connectaddr, &me.sa4.sin_addr); in socksconnect()
|
H A D | sws.c | 1340 if(Curl_inet_pton(AF_INET, ipaddr, &serveraddr.sa4.sin_addr) < 1) { in connect_to() 1353 if(Curl_inet_pton(AF_INET6, ipaddr, &serveraddr.sa6.sin6_addr) < 1) { in connect_to()
|