Home
last modified time | relevance | path

Searched refs:bits (Results 1 – 25 of 70) sorted by relevance

123

/curl/lib/
H A Dnoproxy.c47 unsigned int bits) in Curl_cidr4_match() argument
52 if(bits > 32) in Curl_cidr4_match()
61 if(bits && (bits != 32)) { in Curl_cidr4_match()
79 unsigned int bits) in Curl_cidr6_match() argument
87 if(!bits) in Curl_cidr6_match()
88 bits = 128; in Curl_cidr6_match()
90 bytes = bits/8; in Curl_cidr6_match()
91 rest = bits & 0x07; in Curl_cidr6_match()
107 (void)bits; in Curl_cidr6_match()
222 unsigned int bits = 0; in Curl_check_noproxy() local
[all …]
H A Dnoproxy.h34 unsigned int bits);
37 unsigned int bits);
H A Durl.c696 (!conn->bits.protoconnstart || !conn->bits.close)) { in IsMultiplexingPossible()
1059 if(needle->bits.conn_to_host != check->bits.conn_to_host) in ConnectionExists()
1064 if(needle->bits.conn_to_port != check->bits.conn_to_port) in ConnectionExists()
1070 if(needle->bits.httpproxy != check->bits.httpproxy || in ConnectionExists()
1071 needle->bits.socksproxy != check->bits.socksproxy) in ConnectionExists()
1080 if(needle->bits.tunnel_proxy != check->bits.tunnel_proxy) in ConnectionExists()
1182 || !needle->bits.httpproxy || needle->bits.tunnel_proxy in ConnectionExists()
1379 conn->bits.httpproxy = (conn->bits.proxy && in allocate_conn()
1384 conn->bits.socksproxy = (conn->bits.proxy && in allocate_conn()
2524 conn->bits.proxy = conn->bits.httpproxy || conn->bits.socksproxy;
[all …]
H A Dcurl_sha512_256.c326 MHDx_rotr64(curl_uint64_t value, unsigned int bits) in MHDx_rotr64() argument
328 bits %= 64; in MHDx_rotr64()
329 if(0 == bits) in MHDx_rotr64()
332 return (value >> bits) | (value << (64 - bits)); in MHDx_rotr64()
H A Dhttp_proxy.c62 if(cf->conn->bits.conn_to_host) in Curl_http_proxy_get_destination()
71 else if(cf->conn->bits.conn_to_port) in Curl_http_proxy_get_destination()
79 *pipv6_ip = cf->conn->bits.ipv6_ip; in Curl_http_proxy_get_destination()
H A Dftp.c457 conn->bits.do_more = FALSE; in AcceptServerConnect()
1297 if(!conn->bits.ftp_use_eprt && conn->bits.ipv6) in ftp_state_use_port()
1416 if(!conn->bits.ftp_use_epsv && conn->bits.ipv6) in ftp_state_use_pasv()
1880 if(conn->bits.ipv6 in ftp_epsv_disable()
1882 && !(conn->bits.tunnel_proxy || conn->bits.socksproxy) in ftp_epsv_disable()
1892 conn->bits.ftp_use_epsv = FALSE; in ftp_epsv_disable()
1914 if(conn->bits.tunnel_proxy || conn->bits.socksproxy) in control_address()
2046 if(conn->bits.proxy) { in ftp_state_pasv_resp()
2075 if(conn->bits.tcp_fastopen && !conn->bits.reuse && !ftpc->newhost[0]) { in ftp_state_pasv_resp()
2127 conn->bits.do_more = TRUE; in ftp_state_pasv_resp()
[all …]
H A Dhttp.c438 if(conn->bits.close) in http_perhapsrewind()
731 (conn->bits.httpproxy && conn->bits.proxy_user_passwd) || in Curl_http_output_auth()
778 || conn->bits.netrc in Curl_http_output_auth()
1195 !conn->bits.retry && in Curl_http_done()
1280 proxy = conn->bits.httpproxy && !conn->bits.tunnel_proxy? in Curl_dynhds_add_custom()
1427 proxy = conn->bits.httpproxy && !conn->bits.tunnel_proxy? in Curl_add_custom_headers()
1804 if(conn->bits.httpproxy && !conn->bits.tunnel_proxy) { in Curl_http_target()
2398 if(conn->bits.close) { in Curl_http_firstwrite()
2517 conn->bits.proxy && !conn->bits.tunnel_proxy in Curl_http()
3523 if(conn->bits.close && in http_on_response()
[all …]
H A Dconncache.c131 if(conn->bits.httpproxy && !conn->bits.tunnel_proxy) { in hashkey()
137 if(conn->bits.conn_to_host) in hashkey()
491 if(!CONN_INUSE(conn) && !conn->bits.close && in Curl_conncache_extract_oldest()
H A Dsocks.c299 if(conn->bits.httpproxy) in do_SOCKS4()
596 if(conn->bits.httpproxy) in do_SOCKS5()
913 if(conn->bits.ipv6_ip) { in do_SOCKS5()
1160 conn->bits.httpproxy ? in socks_proxy_cf_connect()
1162 conn->bits.conn_to_host ? in socks_proxy_cf_connect()
1167 conn->bits.httpproxy ? (int)conn->http_proxy.port : in socks_proxy_cf_connect()
1169 conn->bits.conn_to_port ? conn->conn_to_port : in socks_proxy_cf_connect()
H A Dconnect.c165 conn->bits.proxy in Curl_persistconninfo()
333 else if((bit)closeit != conn->bits.close) { in Curl_conncontrol()
334 conn->bits.close = closeit; /* the only place in the source code that in Curl_conncontrol()
718 if(conn->bits.socksproxy) in is_connected()
720 else if(conn->bits.httpproxy) in is_connected()
724 if(conn->bits.conn_to_host) in is_connected()
1215 if(ctx->state < CF_SETUP_CNNCT_SOCKS && cf->conn->bits.socksproxy) { in cf_setup_connect()
1224 if(ctx->state < CF_SETUP_CNNCT_HTTP_PROXY && cf->conn->bits.httpproxy) { in cf_setup_connect()
1235 if(cf->conn->bits.tunnel_proxy) { in cf_setup_connect()
H A Durldata.h499 #define CONN_IS_PROXIED(x) x->bits.proxy
871 struct ConnectBits bits; /* various state-flags for this connection */ member
1016 ((c)->bits.socksproxy ? (c)->socks_proxy.host.dispname : \
1017 (c)->bits.httpproxy ? (c)->http_proxy.host.dispname : \
1018 (c)->bits.conn_to_host ? (c)->conn_to_host.dispname : \
1022 (c)->bits.conn_to_host ? (c)->conn_to_host.dispname : \
H A Dmulti.c783 ) || conn->bits.close in multi_done()
800 conn->bits.socksproxy ? in multi_done()
1885 && conn->bits.protoconnstart) {
1898 if(!conn->bits.protoconnstart) {
1911 conn->bits.protoconnstart = TRUE;
2053 if(conn->bits.httpproxy)
2057 if(conn->bits.conn_to_host)
2158 if(!result && data->conn->bits.reuse) {
2276 data->conn->bits.reuse) {
2381 if(data->conn->bits.multiplex)
[all …]
/curl/src/
H A Dtool_cb_rea.c70 fd_set bits; in tool_read_cb() local
78 FD_ZERO(&bits); in tool_read_cb()
79 FD_SET(per->infd, &bits); in tool_read_cb()
80 if(!select(per->infd + 1, &bits, NULL, NULL, &timeout)) in tool_read_cb()
/curl/tests/unit/
H A Dunit1614.c41 unsigned int bits; member
129 bool match = Curl_cidr4_match(list4[i].a, list4[i].n, list4[i].bits);
132 list4[i].a, list4[i].n, list4[i].bits,
138 bool match = Curl_cidr6_match(list6[i].a, list6[i].n, list6[i].bits);
141 list6[i].a, list6[i].n, list6[i].bits,
/curl/docs/libcurl/opts/
H A DCURLINFO_LASTSOCKET.md40 type is 64 bits large while its 'long' is 32 bits. Use the
H A DCURLOPT_WS_OPTIONS.md36 Available bits in the bitmask
H A DCURLOPT_HTTPAUTH.md32 The available bits are listed below. If more than one bit is set, libcurl
104 This is a convenience macro that sets all bits and thus makes libcurl pick any
109 This is a convenience macro that sets all bits except Basic and thus makes
H A DCURLINFO_HTTPAUTH_AVAIL.md32 bits is explained in the CURLOPT_HTTPAUTH(3) option for
H A DCURLINFO_PROXYAUTH_AVAIL.md32 bits is explained in the CURLOPT_PROXYAUTH(3) option for
H A DCURLOPT_PROXYAUTH.md39 The bitmask can be constructed by the bits listed and described in the
/curl/lib/vquic/
H A Dcurl_msh3.c217 unsigned char bits; in drain_stream_from_other_thread() local
220 bits = CURL_CSELECT_IN; in drain_stream_from_other_thread()
222 bits |= CURL_CSELECT_OUT; in drain_stream_from_other_thread()
223 if(data->state.select_bits != bits) { in drain_stream_from_other_thread()
224 data->state.select_bits = bits; in drain_stream_from_other_thread()
234 unsigned char bits; in drain_stream() local
237 bits = CURL_CSELECT_IN; in drain_stream()
239 bits |= CURL_CSELECT_OUT; in drain_stream()
240 if(data->state.select_bits != bits) { in drain_stream()
241 data->state.select_bits = bits; in drain_stream()
[all …]
/curl/docs/cmdline-opts/
H A Dhaproxy-clientip.md29 of consecutive zeroes. The total number of decoded bits must exactly be 128.
H A Dnoproxy.md32 network bits out of the address to use in the comparison. For example
/curl/docs/libcurl/
H A Dcurl_easy_header.md108 The **origin** field in the "curl_header" struct has one of the origin bits
110 there are 5 bits with defined use. The undocumented 27 remaining bits are
H A Dcurl_version_info.md120 *version_num* is a 24 bit number created like this: \<8 bits major number\> |
121 \<8 bits minor number\> | \<8 bits patch number\>. Version 7.9.8 is therefore
129 one or more bits set. The use of this field is deprecated: use
131 associated bits.

Completed in 101 milliseconds

123