/third_party/curl/lib/ |
D | inet_pton.h | 27 int Curl_inet_pton(int, const char *, void *); 36 #define Curl_inet_pton(x,y,z) inet_pton(x,y,z) macro
|
D | hostip.c | 488 if(Curl_inet_pton(AF_INET6, "::1", ipv6) < 1) in get_localhost6() 525 if(Curl_inet_pton(AF_INET, "127.0.0.1", (char *)&ipv4) < 1) in get_localhost() 552 if(Curl_inet_pton(AF_INET, hostname, &in) > 0 in Curl_host_is_ipnum() 554 || Curl_inet_pton(AF_INET6, hostname, &in6) > 0 in Curl_host_is_ipnum() 652 if(Curl_inet_pton(AF_INET, hostname, &in) > 0) in Curl_resolv() 659 if(Curl_inet_pton(AF_INET6, hostname, &in6) > 0) in Curl_resolv() 667 if(Curl_inet_pton(AF_INET, hostname, &in) > 0) in Curl_resolv() 674 if(Curl_inet_pton(AF_INET6, hostname, &in6) > 0) in Curl_resolv()
|
D | hostip6.c | 161 if((1 == Curl_inet_pton(AF_INET, hostname, addrbuf)) || in Curl_getaddrinfo() 162 (1 == Curl_inet_pton(AF_INET6, hostname, addrbuf))) { in Curl_getaddrinfo()
|
D | curl_addrinfo.c | 450 if(Curl_inet_pton(AF_INET, address, &in) > 0) in Curl_str2addr() 456 if(Curl_inet_pton(AF_INET6, address, &in6) > 0) in Curl_str2addr()
|
D | inet_pton.c | 66 Curl_inet_pton(int af, const char *src, void *dst) in Curl_inet_pton() function
|
D | asyn-ares.c | 759 if(Curl_inet_pton(AF_INET, local_ip4, &a4) != 1) { in Curl_set_dns_local_ip4() 786 if(Curl_inet_pton(AF_INET6, local_ip6, a6) != 1) { in Curl_set_dns_local_ip6()
|
D | x509asn1.c | 1167 if(conn->bits.ipv6_ip && Curl_inet_pton(AF_INET6, hostname, &addr)) in Curl_verifyhost() 1171 if(Curl_inet_pton(AF_INET, hostname, &addr)) in Curl_verifyhost()
|
D | connect.c | 395 if(Curl_inet_pton(AF_INET6, myhost, &si6->sin6_addr) > 0) { in bindlocal() 413 (Curl_inet_pton(AF_INET, myhost, &si4->sin_addr) > 0)) { in bindlocal()
|
D | urlapi.c | 652 if(1 != Curl_inet_pton(AF_INET6, hostname, dest)) in hostname_check()
|
D | ftp.c | 995 if(Curl_inet_pton(AF_INET6, string_ftpport, sa6) == 1) { in ftp_state_use_port()
|
/third_party/curl/lib/vtls/ |
D | rustls.c | 278 if(Curl_inet_pton(AF_INET6, hostname, &in6) > 0) { in cr_hostname_is_ip() 282 if(Curl_inet_pton(AF_INET, hostname, &in) > 0) { in cr_hostname_is_ip()
|
D | mesalink.c | 224 (0 == Curl_inet_pton(AF_INET, hostname, &addr4)) in mesalink_connect_step1() 226 && (0 == Curl_inet_pton(AF_INET6, hostname, &addr6)) in mesalink_connect_step1()
|
D | gtls.c | 540 if((0 == Curl_inet_pton(AF_INET, hostname, &addr)) && in gtls_connect_step1() 542 (0 == Curl_inet_pton(AF_INET6, hostname, &addr)) && in gtls_connect_step1() 1091 if(Curl_inet_pton(AF_INET, hostname, addrbuf) > 0) in gtls_connect_step3() 1094 else if(Curl_inet_pton(AF_INET6, hostname, addrbuf) > 0) in gtls_connect_step3()
|
D | wolfssl.c | 402 (0 == Curl_inet_pton(AF_INET, hostname, &addr4)) && in wolfssl_connect_step1() 404 (0 == Curl_inet_pton(AF_INET6, hostname, &addr6)) && in wolfssl_connect_step1()
|
D | bearssl.c | 406 if((1 == Curl_inet_pton(AF_INET, hostname, &addr)) in bearssl_connect_step1() 408 || (1 == Curl_inet_pton(AF_INET6, hostname, &addr)) in bearssl_connect_step1()
|
D | openssl.c | 1663 Curl_inet_pton(AF_INET6, hostname, &addr)) { in verifyhost() 1669 if(Curl_inet_pton(AF_INET, hostname, &addr)) { in verifyhost() 3219 if((0 == Curl_inet_pton(AF_INET, hostname, &addr)) && in ossl_connect_step1() 3221 (0 == Curl_inet_pton(AF_INET6, hostname, &addr)) && in ossl_connect_step1()
|
D | schannel.c | 858 if(Curl_inet_pton(AF_INET, hostname, &addr) in schannel_connect_step1() 860 || Curl_inet_pton(AF_INET6, hostname, &addr6) in schannel_connect_step1()
|
D | sectransp.c | 2037 if((Curl_inet_pton(AF_INET, hostname, &addr)) 2039 || (Curl_inet_pton(AF_INET6, hostname, &addr))
|
/third_party/curl/tests/server/ |
D | sockfilt.c | 1471 Curl_inet_pton(AF_INET, addr, &me.sa4.sin_addr); in main() 1482 Curl_inet_pton(AF_INET6, addr, &me.sa6.sin6_addr); in main()
|
D | socksd.c | 286 Curl_inet_pton(AF_INET, connectaddr, &me.sa4.sin_addr); in socksconnect()
|
D | sws.c | 1254 if(Curl_inet_pton(AF_INET, ipaddr, &serveraddr.sa4.sin_addr) < 1) { in connect_to() 1267 if(Curl_inet_pton(AF_INET6, ipaddr, &serveraddr.sa6.sin6_addr) < 1) { in connect_to()
|