Home
last modified time | relevance | path

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

/external/curl/lib/
Dinet_pton.h27 int Curl_inet_pton(int, const char *, void *);
33 #define Curl_inet_pton(x,y,z) inet_pton(x,y,z) macro
Dhostcheck.c84 if(Curl_inet_pton(AF_INET, hostname, &ignored) > 0) in hostmatch()
87 else if(Curl_inet_pton(AF_INET6, hostname, &si6.sin6_addr) > 0) in hostmatch()
Dhostip6.c199 if((1 == Curl_inet_pton(AF_INET, hostname, addrbuf)) || in Curl_getaddrinfo()
200 (1 == Curl_inet_pton(AF_INET6, hostname, addrbuf))) { in Curl_getaddrinfo()
Dasyn-ares.c505 if(Curl_inet_pton(AF_INET, hostname, &in) > 0) { in Curl_resolver_getaddrinfo()
512 if(Curl_inet_pton (AF_INET6, hostname, &in6) > 0) in Curl_resolver_getaddrinfo()
651 if(Curl_inet_pton(AF_INET, local_ip4, &a4) != 1) { in Curl_set_dns_local_ip4()
677 if(Curl_inet_pton(AF_INET6, local_ip6, a6) != 1) { in Curl_set_dns_local_ip6()
Dasyn-thread.c570 if(Curl_inet_pton(AF_INET, hostname, &in) > 0) in Curl_resolver_getaddrinfo()
607 if(Curl_inet_pton(AF_INET, hostname, &in) > 0) in Curl_resolver_getaddrinfo()
613 if(Curl_inet_pton (AF_INET6, hostname, &in6) > 0) in Curl_resolver_getaddrinfo()
Dcurl_addrinfo.c461 if(Curl_inet_pton(AF_INET, address, &in) > 0) in Curl_str2addr()
467 if(Curl_inet_pton(AF_INET6, address, &in6) > 0) in Curl_str2addr()
Dhostip4.c133 if(Curl_inet_pton(AF_INET, hostname, &in) > 0)
Dinet_pton.c66 Curl_inet_pton(int af, const char *src, void *dst) in Curl_inet_pton() function
Dcookie.c334 if(Curl_inet_pton(AF_INET, domain, &addr) in isip()
336 || Curl_inet_pton(AF_INET6, domain, &addr6) in isip()
Dconnect.c384 if(Curl_inet_pton(AF_INET6, myhost, &si6->sin6_addr) > 0) { in bindlocal()
402 (Curl_inet_pton(AF_INET, myhost, &si4->sin_addr) > 0)) { in bindlocal()
Dx509asn1.c1089 if(conn->bits.ipv6_ip && Curl_inet_pton(AF_INET6, conn->host.name, &addr)) in Curl_verifyhost()
1093 if(Curl_inet_pton(AF_INET, conn->host.name, &addr)) in Curl_verifyhost()
Dftp.c1039 if(Curl_inet_pton(AF_INET6, string_ftpport, sa6) == 1) { in ftp_state_use_port()
Durl.c4981 if(Curl_inet_pton(AF_INET6, conn->host.name, &in6) > 0) { in parse_remote_port()
/external/curl/lib/vtls/
Dgtls.c514 if((0 == Curl_inet_pton(AF_INET, conn->host.name, &addr)) && in gtls_connect_step1()
516 (0 == Curl_inet_pton(AF_INET6, conn->host.name, &addr)) && in gtls_connect_step1()
1060 if(Curl_inet_pton(AF_INET, conn->host.name, addrbuf) > 0) in gtls_connect_step3()
1063 else if(Curl_inet_pton(AF_INET6, conn->host.name, addrbuf) > 0) in gtls_connect_step3()
Dcyassl.c263 (0 == Curl_inet_pton(AF_INET, conn->host.name, &addr4)) && in cyassl_connect_step1()
265 (0 == Curl_inet_pton(AF_INET6, conn->host.name, &addr6)) && in cyassl_connect_step1()
Dpolarssl.c347 if(!Curl_inet_pton(AF_INET, conn->host.name, &addr) && in polarssl_connect_step1()
349 !Curl_inet_pton(AF_INET6, conn->host.name, &addr) && in polarssl_connect_step1()
Dopenssl.c1102 Curl_inet_pton(AF_INET6, conn->host.name, &addr)) { in verifyhost()
1108 if(Curl_inet_pton(AF_INET, conn->host.name, &addr)) { in verifyhost()
2074 if((0 == Curl_inet_pton(AF_INET, conn->host.name, &addr)) && in ossl_connect_step1()
2076 (0 == Curl_inet_pton(AF_INET6, conn->host.name, &addr)) && in ossl_connect_step1()
Dschannel.c205 if(Curl_inet_pton(AF_INET, conn->host.name, &addr) in schannel_connect_step1()
207 || Curl_inet_pton(AF_INET6, conn->host.name, &addr6) in schannel_connect_step1()
Ddarwinssl.c1352 if((Curl_inet_pton(AF_INET, conn->host.name, &addr))
1354 || (Curl_inet_pton(AF_INET6, conn->host.name, &addr))
/external/curl/tests/server/
Dsockfilt.c1462 Curl_inet_pton(AF_INET, addr, &me.sa4.sin_addr); in main()
1473 Curl_inet_pton(AF_INET6, addr, &me.sa6.sin6_addr); in main()
Dsws.c1331 if(Curl_inet_pton(AF_INET, ipaddr, &serveraddr.sa4.sin_addr) < 1) { in connect_to()
1344 if(Curl_inet_pton(AF_INET6, ipaddr, &serveraddr.sa6.sin6_addr) < 1) { in connect_to()
/external/curl/
DCHANGES.02351 fix internal Curl_inet_pton() failures to reject certain malformed literals.