Home
last modified time | relevance | path

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

/external/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
Dhostcheck.c89 if(Curl_inet_pton(AF_INET, hostname, &ignored) > 0) in hostmatch()
92 if(Curl_inet_pton(AF_INET6, hostname, &si6.sin6_addr) > 0) in hostmatch()
Dhostip6.c178 if((1 == Curl_inet_pton(AF_INET, hostname, addrbuf)) || in Curl_getaddrinfo()
179 (1 == Curl_inet_pton(AF_INET6, hostname, addrbuf))) { in Curl_getaddrinfo()
Dhostip.c535 if(Curl_inet_pton(AF_INET, hostname, &in) > 0) in Curl_resolv()
542 if(Curl_inet_pton(AF_INET6, hostname, &in6) > 0) in Curl_resolv()
550 if(Curl_inet_pton(AF_INET, hostname, &in) > 0) in Curl_resolv()
557 if(Curl_inet_pton(AF_INET6, hostname, &in6) > 0) in Curl_resolv()
Dinet_pton.c66 Curl_inet_pton(int af, const char *src, void *dst) in Curl_inet_pton() function
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()
Dasyn-ares.c776 if(Curl_inet_pton(AF_INET, local_ip4, &a4) != 1) { in Curl_set_dns_local_ip4()
802 if(Curl_inet_pton(AF_INET6, local_ip6, a6) != 1) { in Curl_set_dns_local_ip6()
Dx509asn1.c1171 if(conn->bits.ipv6_ip && Curl_inet_pton(AF_INET6, hostname, &addr)) in Curl_verifyhost()
1175 if(Curl_inet_pton(AF_INET, hostname, &addr)) in Curl_verifyhost()
Dcookie.c156 if(Curl_inet_pton(AF_INET, domain, &addr) in isip()
158 || Curl_inet_pton(AF_INET6, domain, &addr6) in isip()
Dconnect.c394 if(Curl_inet_pton(AF_INET6, myhost, &si6->sin6_addr) > 0) { in bindlocal()
412 (Curl_inet_pton(AF_INET, myhost, &si4->sin_addr) > 0)) { in bindlocal()
Durlapi.c646 if(1 != Curl_inet_pton(AF_INET6, hostname, dest)) in hostname_check()
Dftp.c977 if(Curl_inet_pton(AF_INET6, string_ftpport, sa6) == 1) { in ftp_state_use_port()
/external/curl/lib/vtls/
Dmesalink.c225 (0 == Curl_inet_pton(AF_INET, hostname, &addr4)) in mesalink_connect_step1()
227 && (0 == Curl_inet_pton(AF_INET6, hostname, &addr6)) in mesalink_connect_step1()
Dgtls.c536 if((0 == Curl_inet_pton(AF_INET, hostname, &addr)) && in gtls_connect_step1()
538 (0 == Curl_inet_pton(AF_INET6, hostname, &addr)) && in gtls_connect_step1()
1086 if(Curl_inet_pton(AF_INET, hostname, addrbuf) > 0) in gtls_connect_step3()
1089 else if(Curl_inet_pton(AF_INET6, hostname, addrbuf) > 0) in gtls_connect_step3()
Dwolfssl.c425 (0 == Curl_inet_pton(AF_INET, hostname, &addr4)) && in wolfssl_connect_step1()
427 (0 == Curl_inet_pton(AF_INET6, hostname, &addr6)) && in wolfssl_connect_step1()
Dbearssl.c410 if((1 == Curl_inet_pton(AF_INET, hostname, &addr)) in bearssl_connect_step1()
412 || (1 == Curl_inet_pton(AF_INET6, hostname, &addr)) in bearssl_connect_step1()
Dopenssl.c1590 Curl_inet_pton(AF_INET6, hostname, &addr)) { in verifyhost()
1596 if(Curl_inet_pton(AF_INET, hostname, &addr)) { in verifyhost()
3137 if((0 == Curl_inet_pton(AF_INET, hostname, &addr)) && in ossl_connect_step1()
3139 (0 == Curl_inet_pton(AF_INET6, hostname, &addr)) && in ossl_connect_step1()
Dsectransp.c1808 if((Curl_inet_pton(AF_INET, hostname, &addr))
1810 || (Curl_inet_pton(AF_INET6, hostname, &addr))
/external/curl/tests/server/
Dsockfilt.c1464 Curl_inet_pton(AF_INET, addr, &me.sa4.sin_addr); in main()
1475 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.c1256 if(Curl_inet_pton(AF_INET, ipaddr, &serveraddr.sa4.sin_addr) < 1) { in connect_to()
1269 if(Curl_inet_pton(AF_INET6, ipaddr, &serveraddr.sa6.sin6_addr) < 1) { in connect_to()