/curl/lib/ |
H A D | noproxy.c | 47 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 D | noproxy.h | 34 unsigned int bits); 37 unsigned int bits);
|
H A D | url.c | 696 (!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 D | curl_sha512_256.c | 326 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 D | http_proxy.c | 62 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 D | ftp.c | 457 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 D | http.c | 438 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 D | conncache.c | 131 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 D | socks.c | 299 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 D | connect.c | 165 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 D | urldata.h | 499 #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 D | multi.c | 783 ) || 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 D | tool_cb_rea.c | 70 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 D | unit1614.c | 41 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 D | CURLINFO_LASTSOCKET.md | 40 type is 64 bits large while its 'long' is 32 bits. Use the
|
H A D | CURLOPT_WS_OPTIONS.md | 36 Available bits in the bitmask
|
H A D | CURLOPT_HTTPAUTH.md | 32 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 D | CURLINFO_HTTPAUTH_AVAIL.md | 32 bits is explained in the CURLOPT_HTTPAUTH(3) option for
|
H A D | CURLINFO_PROXYAUTH_AVAIL.md | 32 bits is explained in the CURLOPT_PROXYAUTH(3) option for
|
H A D | CURLOPT_PROXYAUTH.md | 39 The bitmask can be constructed by the bits listed and described in the
|
/curl/lib/vquic/ |
H A D | curl_msh3.c | 217 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 D | haproxy-clientip.md | 29 of consecutive zeroes. The total number of decoded bits must exactly be 128.
|
H A D | noproxy.md | 32 network bits out of the address to use in the comparison. For example
|
/curl/docs/libcurl/ |
H A D | curl_easy_header.md | 108 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 D | curl_version_info.md | 120 *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.
|