Home
last modified time | relevance | path

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

/curl/lib/
H A Dinet_pton.h29 int Curl_inet_pton(int, const char *, void *);
35 #define Curl_inet_pton(x,y,z) inet_pton(x,y,z) macro
H A Dnoproxy.c56 if(1 != Curl_inet_pton(AF_INET, ipv4, &address)) in Curl_cidr4_match()
58 if(1 != Curl_inet_pton(AF_INET, network, &check)) in Curl_cidr4_match()
94 if(1 != Curl_inet_pton(AF_INET6, ipv6, address)) in Curl_cidr6_match()
96 if(1 != Curl_inet_pton(AF_INET6, network, check)) in Curl_cidr6_match()
165 if(1 == Curl_inet_pton(AF_INET, name, &address)) in Curl_check_noproxy()
H A Dhostip6.c129 if((1 == Curl_inet_pton(AF_INET, hostname, addrbuf)) || in Curl_getaddrinfo()
130 (1 == Curl_inet_pton(AF_INET6, hostname, addrbuf))) { in Curl_getaddrinfo()
H A Dhostip.c546 (void)Curl_inet_pton(AF_INET6, "::1", ipv6); in get_localhost6()
580 if(Curl_inet_pton(AF_INET, "127.0.0.1", (char *)&ipv4) < 1) in get_localhost()
648 if(Curl_inet_pton(AF_INET, hostname, &in) > 0 in Curl_host_is_ipnum()
650 || Curl_inet_pton(AF_INET6, hostname, &in6) > 0 in Curl_host_is_ipnum()
758 if(Curl_inet_pton(AF_INET, hostname, &in) > 0) { in Curl_resolv()
768 if(Curl_inet_pton(AF_INET6, hostname, &in6) > 0) { in Curl_resolv()
780 if(Curl_inet_pton(AF_INET, hostname, &in) > 0) in Curl_resolv()
787 if(Curl_inet_pton(AF_INET6, hostname, &in6) > 0) in Curl_resolv()
H A Dinet_pton.c75 Curl_inet_pton(int af, const char *src, void *dst) in Curl_inet_pton() function
H A Dcurl_addrinfo.c441 if(Curl_inet_pton(AF_INET, address, &in) > 0) in Curl_str2addr()
447 if(Curl_inet_pton(AF_INET6, address, &in6) > 0) in Curl_str2addr()
H A Daltsvc.c260 if(1 == Curl_inet_pton(AF_INET6, as->dst.host, ipv6_unused)) { in altsvc_out()
264 if(1 == Curl_inet_pton(AF_INET6, as->src.host, ipv6_unused)) { in altsvc_out()
H A Dasyn-ares.c906 if(Curl_inet_pton(AF_INET, local_ip4, &a4) != 1) { in Curl_set_dns_local_ip4()
934 if(Curl_inet_pton(AF_INET6, local_ip6, a6) != 1) { in Curl_set_dns_local_ip6()
H A Dsocks.c915 if(1 != Curl_inet_pton(AF_INET6, sx->hostname, ip6)) in do_SOCKS5()
923 if(1 == Curl_inet_pton(AF_INET, sx->hostname, ip4)) { in do_SOCKS5()
H A Dcf-socket.c724 if(Curl_inet_pton(AF_INET6, myhost, &si6->sin6_addr) > 0) { in bindlocal()
747 (Curl_inet_pton(AF_INET, myhost, &si4->sin_addr) > 0)) { in bindlocal()
H A Durlapi.c617 if(1 != Curl_inet_pton(AF_INET6, hostname, dest)) in ipv6_parse()
H A Dftp.c912 if(Curl_inet_pton(AF_INET6, string_ftpport, &sa6->sin6_addr) == 1) { in ftp_state_use_port()
/curl/lib/vtls/
H A Dschannel_verify.c445 int res = Curl_inet_pton(AF_INET, hostname, &ia); in get_num_host_info()
452 res = Curl_inet_pton(AF_INET6, hostname, &ia6); in get_num_host_info()
H A Dgtls.c1563 if(Curl_inet_pton(AF_INET, peer->hostname, addrbuf) > 0) in Curl_gtls_verifyserver()
1566 else if(Curl_inet_pton(AF_INET6, peer->hostname, addrbuf) > 0) in Curl_gtls_verifyserver()
H A Dvtls.c1595 if(Curl_inet_pton(AF_INET, hostname, &addr)) in get_peer_type()
1598 else if(Curl_inet_pton(AF_INET6, hostname, &addr)) { in get_peer_type()
H A Dopenssl.c2124 if(!Curl_inet_pton(AF_INET, peer->hostname, &addr)) in ossl_verifyhost()
2131 if(!Curl_inet_pton(AF_INET6, peer->hostname, &addr)) in ossl_verifyhost()
/curl/tests/server/
H A Dsockfilt.c1508 Curl_inet_pton(AF_INET, addr, &me.sa4.sin_addr); in main()
1519 Curl_inet_pton(AF_INET6, addr, &me.sa6.sin6_addr); in main()
H A Dsocksd.c295 Curl_inet_pton(AF_INET, connectaddr, &me.sa4.sin_addr); in socksconnect()
H A Dsws.c1340 if(Curl_inet_pton(AF_INET, ipaddr, &serveraddr.sa4.sin_addr) < 1) { in connect_to()
1353 if(Curl_inet_pton(AF_INET6, ipaddr, &serveraddr.sa6.sin6_addr) < 1) { in connect_to()

Completed in 234 milliseconds