Home
last modified time | relevance | path

Searched refs:ip_version (Results 1 – 15 of 15) sorted by relevance

/curl/lib/
H A Dhostip6.c65 if(conn->ip_version == CURL_IPRESOLVE_V6) in Curl_ipvalid()
115 if((data->conn->ip_version != CURL_IPRESOLVE_V4) && Curl_ipv6works(data)) in Curl_getaddrinfo()
H A Dhostip4.c64 if(conn->ip_version == CURL_IPRESOLVE_V6) in Curl_ipvalid()
H A Dasyn-ares.c785 if((data->conn->ip_version != CURL_IPRESOLVE_V4) && in Curl_resolver_getaddrinfo()
788 if(data->conn->ip_version == CURL_IPRESOLVE_V6) in Curl_resolver_getaddrinfo()
809 if((data->conn->ip_version != CURL_IPRESOLVE_V4) && Curl_ipv6works(data)) { in Curl_resolver_getaddrinfo()
H A Dasyn-thread.c720 if((data->conn->ip_version != CURL_IPRESOLVE_V4) && Curl_ipv6works(data)) { in Curl_resolver_getaddrinfo()
722 if(data->conn->ip_version == CURL_IPRESOLVE_V6) in Curl_resolver_getaddrinfo()
H A Dhostip.c314 if(dns && data->conn->ip_version != CURL_IPRESOLVE_WHATEVER) { in fetch_addr()
320 if(data->conn->ip_version == CURL_IPRESOLVE_V6) in fetch_addr()
797 if(conn->ip_version == CURL_IPRESOLVE_V6 && !Curl_ipv6works(data)) in Curl_resolv()
H A Dcf-socket.c680 unsigned char ipver = conn->ip_version; in bindlocal()
684 conn->ip_version = CURL_IPRESOLVE_V4; in bindlocal()
687 conn->ip_version = CURL_IPRESOLVE_V6; in bindlocal()
693 conn->ip_version = ipver; in bindlocal()
H A Dconnect.c793 if(conn->ip_version == CURL_IPRESOLVE_V6) { in start_connect()
799 else if(conn->ip_version == CURL_IPRESOLVE_V4) { in start_connect()
H A Dsocks.c298 conn->ip_version = CURL_IPRESOLVE_V4; in do_SOCKS4()
H A Durldata.h996 unsigned char ip_version; /* copied from the Curl_easy at creation time */ member
H A Ddoh.c453 if((conn->ip_version != CURL_IPRESOLVE_V4) && Curl_ipv6works(data)) { in Curl_doh()
H A Durl.c877 && data->set.ipver != conn->ip_version) { in url_match_conn()
1366 conn->ip_version = data->set.ipver; in allocate_conn()
/curl/tests/unit/
H A Dunit2600.c81 unsigned char ip_version; member
320 curl_easy_setopt(easy, CURLOPT_IPRESOLVE, (long)tc->ip_version); in test_connect()
/curl/src/
H A Dtool_cfgable.h200 long ip_version; member
H A Dtool_getparam.c1806 config->ip_version = CURL_IPRESOLVE_V4; in getparameter()
1809 config->ip_version = CURL_IPRESOLVE_V6; in getparameter()
H A Dtool_operate.c1522 my_setopt(curl, CURLOPT_IPRESOLVE, config->ip_version); in config2setopts()

Completed in 70 milliseconds