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 *);
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.c206 if((1 == Curl_inet_pton(AF_INET, hostname, addrbuf)) || in Curl_getaddrinfo()
207 (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.c572 if(Curl_inet_pton(AF_INET, hostname, &in) > 0) in Curl_resolver_getaddrinfo()
610 if(Curl_inet_pton(AF_INET, hostname, &in) > 0) in Curl_resolver_getaddrinfo()
616 if(Curl_inet_pton(AF_INET6, hostname, &in6) > 0) in Curl_resolver_getaddrinfo()
Dhostip4.c133 if(Curl_inet_pton(AF_INET, hostname, &in) > 0)
Dcurl_addrinfo.c460 if(Curl_inet_pton(AF_INET, address, &in) > 0) in Curl_str2addr()
466 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
Dcookie.c337 if(Curl_inet_pton(AF_INET, domain, &addr) in isip()
339 || Curl_inet_pton(AF_INET6, domain, &addr6) in isip()
Dx509asn1.c1103 if(conn->bits.ipv6_ip && Curl_inet_pton(AF_INET6, hostname, &addr)) in Curl_verifyhost()
1107 if(Curl_inet_pton(AF_INET, hostname, &addr)) in Curl_verifyhost()
Dconnect.c385 if(Curl_inet_pton(AF_INET6, myhost, &si6->sin6_addr) > 0) { in bindlocal()
403 (Curl_inet_pton(AF_INET, myhost, &si4->sin_addr) > 0)) { in bindlocal()
Dftp.c1050 if(Curl_inet_pton(AF_INET6, string_ftpport, sa6) == 1) { in ftp_state_use_port()
Durl.c5360 if(Curl_inet_pton(AF_INET6, conn->host.name, &in6) > 0) { in parse_remote_port()
/external/curl/lib/vtls/
Dgtls.c537 if((0 == Curl_inet_pton(AF_INET, hostname, &addr)) && in gtls_connect_step1()
539 (0 == Curl_inet_pton(AF_INET6, hostname, &addr)) && in gtls_connect_step1()
1137 if(Curl_inet_pton(AF_INET, hostname, addrbuf) > 0)
1140 else if(Curl_inet_pton(AF_INET6, hostname, addrbuf) > 0)
Dcyassl.c307 (0 == Curl_inet_pton(AF_INET, hostname, &addr4)) && in cyassl_connect_step1()
309 (0 == Curl_inet_pton(AF_INET6, hostname, &addr6)) && in cyassl_connect_step1()
Dopenssl.c1104 Curl_inet_pton(AF_INET6, hostname, &addr)) { in verifyhost()
1110 if(Curl_inet_pton(AF_INET, hostname, &addr)) { in verifyhost()
2153 if((0 == Curl_inet_pton(AF_INET, hostname, &addr)) && in ossl_connect_step1()
2155 (0 == Curl_inet_pton(AF_INET6, hostname, &addr)) && in ossl_connect_step1()
Dschannel.c264 if(Curl_inet_pton(AF_INET, hostname, &addr) in schannel_connect_step1()
266 || Curl_inet_pton(AF_INET6, hostname, &addr6) in schannel_connect_step1()
Ddarwinssl.c1414 if((Curl_inet_pton(AF_INET, hostname, &addr))
1416 || (Curl_inet_pton(AF_INET6, hostname, &addr))
/external/curl/tests/server/
Dsockfilt.c1483 Curl_inet_pton(AF_INET, addr, &me.sa4.sin_addr); in main()
1494 Curl_inet_pton(AF_INET6, addr, &me.sa6.sin6_addr); in main()
Dsws.c1336 if(Curl_inet_pton(AF_INET, ipaddr, &serveraddr.sa4.sin_addr) < 1) { in connect_to()
1349 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.