Home
last modified time | relevance | path

Searched refs:Curl_inet_pton (Results 1 – 21 of 21) sorted by relevance

/third_party/curl/lib/
Dinet_pton.h27 int Curl_inet_pton(int, const char *, void *);
36 #define Curl_inet_pton(x,y,z) inet_pton(x,y,z) macro
Dhostip.c488 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()
Dhostip6.c161 if((1 == Curl_inet_pton(AF_INET, hostname, addrbuf)) || in Curl_getaddrinfo()
162 (1 == Curl_inet_pton(AF_INET6, hostname, addrbuf))) { in Curl_getaddrinfo()
Dcurl_addrinfo.c450 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()
Dinet_pton.c66 Curl_inet_pton(int af, const char *src, void *dst) in Curl_inet_pton() function
Dasyn-ares.c759 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()
Dx509asn1.c1167 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()
Dconnect.c395 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()
Durlapi.c652 if(1 != Curl_inet_pton(AF_INET6, hostname, dest)) in hostname_check()
Dftp.c995 if(Curl_inet_pton(AF_INET6, string_ftpport, sa6) == 1) { in ftp_state_use_port()
/third_party/curl/lib/vtls/
Drustls.c278 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()
Dmesalink.c224 (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()
Dgtls.c540 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()
Dwolfssl.c402 (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()
Dbearssl.c406 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()
Dopenssl.c1663 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()
Dschannel.c858 if(Curl_inet_pton(AF_INET, hostname, &addr) in schannel_connect_step1()
860 || Curl_inet_pton(AF_INET6, hostname, &addr6) in schannel_connect_step1()
Dsectransp.c2037 if((Curl_inet_pton(AF_INET, hostname, &addr))
2039 || (Curl_inet_pton(AF_INET6, hostname, &addr))
/third_party/curl/tests/server/
Dsockfilt.c1471 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()
Dsocksd.c286 Curl_inet_pton(AF_INET, connectaddr, &me.sa4.sin_addr); in socksconnect()
Dsws.c1254 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()