Home
last modified time | relevance | path

Searched refs:ccv (Results 1 – 25 of 52) sorted by relevance

123

/f-stack/freebsd/netinet/cc/
H A Dcc_htcp.c197 htcp_record_rtt(ccv); in htcp_ack_received()
206 CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh) || in htcp_ack_received()
208 htcp_recalc_beta(ccv); in htcp_ack_received()
216 CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh)) in htcp_ack_received()
232 CCV(ccv, t_maxseg))) * CCV(ccv, t_maxseg)) in htcp_ack_received()
308 CCV(ccv, snd_cwnd) = CCV(ccv, snd_ssthresh); in htcp_cong_signal()
316 CCV(ccv, snd_ssthresh) = max(min(CCV(ccv, snd_wnd), in htcp_cong_signal()
372 pipe = CCV(ccv, snd_max) - ccv->curack; in htcp_post_recovery()
379 CCV(ccv, snd_cwnd) = max(pipe, CCV(ccv, t_maxseg)) + in htcp_post_recovery()
518 CCV(ccv, snd_ssthresh) = ((u_long)CCV(ccv, snd_cwnd) * in htcp_ssthresh_update()
[all …]
H A Dcc_newreno.c119 ccv->cc_data = nreno; in newreno_malloc()
185 if (CCV(ccv, snd_nxt) == CCV(ccv, snd_max)) in newreno_ack_received()
190 incr = min(ccv->bytes_this_ack, CCV(ccv, t_maxseg)); in newreno_ack_received()
223 CCV(ccv, snd_ssthresh) = max(CCV(ccv, snd_ssthresh), in newreno_after_idle()
224 CCV(ccv, snd_cwnd)-(CCV(ccv, snd_cwnd)>>2)); in newreno_after_idle()
226 CCV(ccv, snd_cwnd) = min(rw, CCV(ccv, snd_cwnd)); in newreno_after_idle()
241 nreno = ccv->cc_data; in newreno_cong_signal()
279 CCV(ccv, snd_ssthresh) = max(min(CCV(ccv, snd_wnd), in newreno_cong_signal()
308 pipe = CCV(ccv, snd_max) - ccv->curack; in newreno_post_recovery()
315 CCV(ccv, snd_cwnd) = max(pipe, CCV(ccv, t_maxseg)) + in newreno_post_recovery()
[all …]
H A Dcc_dctcp.c110 dctcp_data = ccv->cc_data; in dctcp_ack_received()
126 bytes_acked = min(ccv->bytes_this_ack, CCV(ccv, t_maxseg)); in dctcp_ack_received()
159 dctcp_update_alpha(ccv); in dctcp_ack_received()
222 ccv->cc_data = dctcp_data; in dctcp_cb_init()
279 CCV(ccv, snd_cwnd) = CCV(ccv, snd_ssthresh); in dctcp_cong_signal()
285 CCV(ccv, snd_ssthresh) = max(min(CCV(ccv, snd_wnd), in dctcp_cong_signal()
289 dctcp_update_alpha(ccv); in dctcp_cong_signal()
303 dctcp_data = ccv->cc_data; in dctcp_conn_init()
318 dctcp_update_alpha(ccv); in dctcp_post_recovery()
332 dctcp_data = ccv->cc_data; in dctcp_ecnpkt_handler()
[all …]
H A Dcc_cubic.c139 cubic_data = ccv->cc_data; in cubic_ack_received()
140 cubic_record_rtt(ccv); in cubic_ack_received()
149 if (CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh) || in cubic_ack_received()
167 CCV(ccv, t_maxseg)); in cubic_ack_received()
186 CCV(ccv, t_maxseg)); in cubic_ack_received()
241 cubic_data = ccv->cc_data; in cubic_after_idle()
307 CCV(ccv, snd_cwnd) = CCV(ccv, snd_ssthresh); in cubic_cong_signal()
320 CCV(ccv, snd_ssthresh) = ((uint64_t)CCV(ccv, snd_cwnd) * in cubic_cong_signal()
379 pipe = CCV(ccv, snd_max) - ccv->curack; in cubic_post_recovery()
386 CCV(ccv, snd_cwnd) = max(pipe, CCV(ccv, t_maxseg)) + in cubic_post_recovery()
[all …]
H A Dcc_chd.c147 win = min(CCV(ccv, snd_wnd), CCV(ccv, snd_cwnd)) / CCV(ccv, t_maxseg); in chd_window_decrease()
149 CCV(ccv, snd_ssthresh) = max(win, 2) * CCV(ccv, t_maxseg); in chd_window_decrease()
193 if (CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh)) { in chd_window_increase()
197 if (CCV(ccv, snd_nxt) == CCV(ccv, snd_max)) { in chd_window_increase()
225 CCV(ccv,snd_cwnd) = min(CCV(ccv, snd_cwnd) + incr, in chd_window_increase()
340 CCV(ccv, snd_cwnd) = CCV(ccv, snd_ssthresh); in chd_cong_signal()
341 CCV(ccv, snd_recover) = CCV(ccv, snd_max); in chd_cong_signal()
356 CCV(ccv, snd_cwnd) = max(CCV(ccv, snd_cwnd), in chd_cong_signal()
365 CCV(ccv, snd_ssthresh) = CCV(ccv, snd_cwnd); in chd_cong_signal()
366 CCV(ccv, snd_recover) = CCV(ccv, snd_max); in chd_cong_signal()
[all …]
H A Dcc_vegas.c132 vegas_data = ccv->cc_data; in vegas_ack_received()
150 CCV(ccv, snd_cwnd) = in vegas_ack_received()
152 CCV(ccv, t_maxseg), in vegas_ack_received()
185 ccv->cc_data = vegas_data; in vegas_cb_init()
200 vegas_data = ccv->cc_data; in vegas_cong_signal()
210 CCV(ccv, snd_cwnd) = max(2 * CCV(ccv, t_maxseg), in vegas_cong_signal()
211 CCV(ccv, snd_cwnd) - CCV(ccv, t_maxseg)); in vegas_cong_signal()
212 if (CCV(ccv, snd_cwnd) < CCV(ccv, snd_ssthresh)) in vegas_cong_signal()
214 CCV(ccv, snd_ssthresh) = CCV(ccv, snd_cwnd); in vegas_cong_signal()
224 (CCV(ccv, snd_cwnd) < CCV(ccv, snd_ssthresh)) ? 1 : 0; in vegas_cong_signal()
[all …]
H A Dcc_cdg.c314 ccv->cc_data = cdg_data; in cdg_cb_init()
337 cdg_data = ccv->cc_data; in cdg_cb_destroy()
415 if (CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh)) { in cdg_window_increase()
441 CCV(ccv, snd_cwnd) = ulmin(CCV(ccv, snd_cwnd) + incr, in cdg_window_increase()
452 CCV(ccv, snd_ssthresh) = cdg_window_decrease(ccv, in cdg_cong_signal()
454 CCV(ccv, snd_cwnd) = CCV(ccv, snd_ssthresh); in cdg_cong_signal()
455 CCV(ccv, snd_recover) = CCV(ccv, snd_max); in cdg_cong_signal()
466 CCV(ccv, snd_ssthresh) = CCV(ccv, snd_cwnd); in cdg_cong_signal()
467 CCV(ccv, snd_recover) = CCV(ccv, snd_max); in cdg_cong_signal()
479 cdg_window_decrease(ccv, CCV(ccv, snd_cwnd), in cdg_cong_signal()
[all …]
H A Dcc.h138 int (*cb_init)(struct cc_var *ccv);
141 void (*cb_destroy)(struct cc_var *ccv);
144 void (*conn_init)(struct cc_var *ccv);
147 void (*ack_received)(struct cc_var *ccv, uint16_t type);
150 void (*cong_signal)(struct cc_var *ccv, uint32_t type);
153 void (*post_recovery)(struct cc_var *ccv);
156 void (*after_idle)(struct cc_var *ccv);
159 void (*ecnpkt_handler)(struct cc_var *ccv);
171 #define CC_DATA(tp) ((tp)->ccv->cc_data)
H A Dcc_hd.c85 static void hd_ack_received(struct cc_var *ccv, uint16_t ack_type);
132 hd_ack_received(struct cc_var *ccv, uint16_t ack_type) in hd_ack_received() argument
138 e_t = khelp_get_osd(CCV(ccv, osd), ertt_id); in hd_ack_received()
144 !IN_RECOVERY(CCV(ccv, t_flags))) { in hd_ack_received()
153 newreno_cc_algo.cong_signal(ccv, in hd_ack_received()
160 newreno_cc_algo.ack_received(ccv, ack_type); /* As for NewReno. */ in hd_ack_received()
H A Dcc_module.h59 #define CCV(ccv, what) (ccv)->ccvc.tcp->what argument
/f-stack/app/nginx-1.16.1/src/stream/
H A Dngx_stream_script.c116 v = ccv->value; in ngx_stream_compile_complex_value()
133 && (ccv->conf_prefix || ccv->root_prefix)) in ngx_stream_compile_complex_value()
135 if (ngx_conf_full_name(ccv->cf->cycle, v, ccv->conf_prefix) != NGX_OK) { in ngx_stream_compile_complex_value()
139 ccv->conf_prefix = 0; in ngx_stream_compile_complex_value()
140 ccv->root_prefix = 0; in ngx_stream_compile_complex_value()
143 ccv->complex_value->value = *v; in ngx_stream_compile_complex_value()
185 sc.cf = ccv->cf; in ngx_stream_compile_complex_value()
192 sc.zero = ccv->zero; in ngx_stream_compile_complex_value()
237 ccv.cf = cf; in ngx_stream_set_complex_value_slot()
238 ccv.value = &value[1]; in ngx_stream_set_complex_value_slot()
[all …]
H A Dngx_stream_return_module.c195 ngx_stream_compile_complex_value_t ccv; in ngx_stream_return() local
203 ngx_memzero(&ccv, sizeof(ngx_stream_compile_complex_value_t)); in ngx_stream_return()
205 ccv.cf = cf; in ngx_stream_return()
206 ccv.value = &value[1]; in ngx_stream_return()
207 ccv.complex_value = &rscf->text; in ngx_stream_return()
209 if (ngx_stream_compile_complex_value(&ccv) != NGX_OK) { in ngx_stream_return()
H A Dngx_stream_map_module.c186 ngx_stream_compile_complex_value_t ccv; in ngx_stream_map_block() local
207 ngx_memzero(&ccv, sizeof(ngx_stream_compile_complex_value_t)); in ngx_stream_map_block()
209 ccv.cf = cf; in ngx_stream_map_block()
210 ccv.value = &value[1]; in ngx_stream_map_block()
211 ccv.complex_value = &map->value; in ngx_stream_map_block()
213 if (ngx_stream_compile_complex_value(&ccv) != NGX_OK) { in ngx_stream_map_block()
390 ngx_stream_compile_complex_value_t ccv; in ngx_stream_map() local
475 ccv.cf = ctx->cf; in ngx_stream_map()
476 ccv.value = &v; in ngx_stream_map()
477 ccv.complex_value = &cv; in ngx_stream_map()
[all …]
H A Dngx_stream_split_clients_module.c119 ngx_stream_compile_complex_value_t ccv; in ngx_conf_split_clients_block() local
128 ngx_memzero(&ccv, sizeof(ngx_stream_compile_complex_value_t)); in ngx_conf_split_clients_block()
130 ccv.cf = cf; in ngx_conf_split_clients_block()
131 ccv.value = &value[1]; in ngx_conf_split_clients_block()
132 ccv.complex_value = &ctx->value; in ngx_conf_split_clients_block()
134 if (ngx_stream_compile_complex_value(&ccv) != NGX_OK) { in ngx_conf_split_clients_block()
H A Dngx_stream_ssl_module.c825 ngx_stream_compile_complex_value_t ccv; in ngx_stream_ssl_compile_certificates() local
867 ccv.cf = cf; in ngx_stream_ssl_compile_certificates()
868 ccv.value = &cert[i]; in ngx_stream_ssl_compile_certificates()
869 ccv.complex_value = cv; in ngx_stream_ssl_compile_certificates()
870 ccv.zero = 1; in ngx_stream_ssl_compile_certificates()
872 if (ngx_stream_compile_complex_value(&ccv) != NGX_OK) { in ngx_stream_ssl_compile_certificates()
883 ccv.cf = cf; in ngx_stream_ssl_compile_certificates()
884 ccv.value = &key[i]; in ngx_stream_ssl_compile_certificates()
885 ccv.complex_value = cv; in ngx_stream_ssl_compile_certificates()
886 ccv.zero = 1; in ngx_stream_ssl_compile_certificates()
[all …]
/f-stack/app/nginx-1.16.1/src/http/modules/
H A Dngx_http_image_filter_module.c1413 ccv.cf = cf; in ngx_http_image_filter()
1459 ccv.cf = cf; in ngx_http_image_filter()
1460 ccv.value = &value[++i]; in ngx_http_image_filter()
1461 ccv.complex_value = &cv; in ngx_http_image_filter()
1487 ccv.cf = cf; in ngx_http_image_filter()
1539 ccv.cf = cf; in ngx_http_image_filter_jpeg_quality()
1540 ccv.value = &value[1]; in ngx_http_image_filter_jpeg_quality()
1586 ccv.cf = cf; in ngx_http_image_filter_webp_quality()
1587 ccv.value = &value[1]; in ngx_http_image_filter_webp_quality()
1633 ccv.cf = cf; in ngx_http_image_filter_sharpen()
[all …]
H A Dngx_http_map_module.c188 ngx_http_compile_complex_value_t ccv; in ngx_http_map_block() local
209 ngx_memzero(&ccv, sizeof(ngx_http_compile_complex_value_t)); in ngx_http_map_block()
211 ccv.cf = cf; in ngx_http_map_block()
212 ccv.value = &value[1]; in ngx_http_map_block()
213 ccv.complex_value = &map->value; in ngx_http_map_block()
215 if (ngx_http_compile_complex_value(&ccv) != NGX_OK) { in ngx_http_map_block()
391 ngx_http_compile_complex_value_t ccv; in ngx_http_map() local
476 ccv.cf = ctx->cf; in ngx_http_map()
477 ccv.value = &v; in ngx_http_map()
478 ccv.complex_value = &cv; in ngx_http_map()
[all …]
H A Dngx_http_split_clients_module.c121 ngx_http_compile_complex_value_t ccv; in ngx_conf_split_clients_block() local
130 ngx_memzero(&ccv, sizeof(ngx_http_compile_complex_value_t)); in ngx_conf_split_clients_block()
132 ccv.cf = cf; in ngx_conf_split_clients_block()
133 ccv.value = &value[1]; in ngx_conf_split_clients_block()
134 ccv.complex_value = &ctx->value; in ngx_conf_split_clients_block()
136 if (ngx_http_compile_complex_value(&ccv) != NGX_OK) { in ngx_conf_split_clients_block()
H A Dngx_http_auth_basic_module.c408 ngx_http_compile_complex_value_t ccv; in ngx_http_auth_basic_user_file() local
416 ngx_memzero(&ccv, sizeof(ngx_http_compile_complex_value_t)); in ngx_http_auth_basic_user_file()
418 ccv.cf = cf; in ngx_http_auth_basic_user_file()
419 ccv.value = &value[1]; in ngx_http_auth_basic_user_file()
420 ccv.complex_value = &alcf->user_file; in ngx_http_auth_basic_user_file()
421 ccv.zero = 1; in ngx_http_auth_basic_user_file()
422 ccv.conf_prefix = 1; in ngx_http_auth_basic_user_file()
424 if (ngx_http_compile_complex_value(&ccv) != NGX_OK) { in ngx_http_auth_basic_user_file()
H A Dngx_http_headers_filter_module.c731 ngx_http_compile_complex_value_t ccv; in ngx_http_headers_expires() local
756 ngx_memzero(&ccv, sizeof(ngx_http_compile_complex_value_t)); in ngx_http_headers_expires()
758 ccv.cf = cf; in ngx_http_headers_expires()
759 ccv.value = &value[n]; in ngx_http_headers_expires()
760 ccv.complex_value = &cv; in ngx_http_headers_expires()
762 if (ngx_http_compile_complex_value(&ccv) != NGX_OK) { in ngx_http_headers_expires()
799 ngx_http_compile_complex_value_t ccv; in ngx_http_headers_add() local
845 ccv.cf = cf; in ngx_http_headers_add()
846 ccv.value = &value[2]; in ngx_http_headers_add()
847 ccv.complex_value = &hv->value; in ngx_http_headers_add()
[all …]
H A Dngx_http_auth_request_module.c390 ngx_http_compile_complex_value_t ccv; in ngx_http_auth_request_set() local
433 ngx_memzero(&ccv, sizeof(ngx_http_compile_complex_value_t)); in ngx_http_auth_request_set()
435 ccv.cf = cf; in ngx_http_auth_request_set()
436 ccv.value = &value[2]; in ngx_http_auth_request_set()
437 ccv.complex_value = &av->value; in ngx_http_auth_request_set()
439 if (ngx_http_compile_complex_value(&ccv) != NGX_OK) { in ngx_http_auth_request_set()
H A Dngx_http_xslt_filter_module.c887 ngx_http_compile_complex_value_t ccv; in ngx_http_xslt_stylesheet() local
971 ccv.cf = cf; in ngx_http_xslt_stylesheet()
972 ccv.value = &value[i]; in ngx_http_xslt_stylesheet()
973 ccv.complex_value = &param->value; in ngx_http_xslt_stylesheet()
974 ccv.zero = 1; in ngx_http_xslt_stylesheet()
991 ngx_http_compile_complex_value_t ccv; in ngx_http_xslt_param() local
1014 ccv.cf = cf; in ngx_http_xslt_param()
1015 ccv.value = &value[2]; in ngx_http_xslt_param()
1016 ccv.complex_value = &param->value; in ngx_http_xslt_param()
1017 ccv.zero = 1; in ngx_http_xslt_param()
[all …]
H A Dngx_http_ssl_module.c871 ngx_http_compile_complex_value_t ccv; in ngx_http_ssl_compile_certificates() local
913 ccv.cf = cf; in ngx_http_ssl_compile_certificates()
914 ccv.value = &cert[i]; in ngx_http_ssl_compile_certificates()
915 ccv.complex_value = cv; in ngx_http_ssl_compile_certificates()
916 ccv.zero = 1; in ngx_http_ssl_compile_certificates()
918 if (ngx_http_compile_complex_value(&ccv) != NGX_OK) { in ngx_http_ssl_compile_certificates()
929 ccv.cf = cf; in ngx_http_ssl_compile_certificates()
930 ccv.value = &key[i]; in ngx_http_ssl_compile_certificates()
931 ccv.complex_value = cv; in ngx_http_ssl_compile_certificates()
932 ccv.zero = 1; in ngx_http_ssl_compile_certificates()
[all …]
/f-stack/app/nginx-1.16.1/src/http/
H A Dngx_http_script.c115 v = ccv->value; in ngx_http_compile_complex_value()
132 && (ccv->conf_prefix || ccv->root_prefix)) in ngx_http_compile_complex_value()
134 if (ngx_conf_full_name(ccv->cf->cycle, v, ccv->conf_prefix) != NGX_OK) { in ngx_http_compile_complex_value()
138 ccv->conf_prefix = 0; in ngx_http_compile_complex_value()
139 ccv->root_prefix = 0; in ngx_http_compile_complex_value()
184 sc.cf = ccv->cf; in ngx_http_compile_complex_value()
191 sc.zero = ccv->zero; in ngx_http_compile_complex_value()
235 ccv.cf = cf; in ngx_http_set_complex_value_slot()
236 ccv.value = &value[1]; in ngx_http_set_complex_value_slot()
237 ccv.complex_value = *cv; in ngx_http_set_complex_value_slot()
[all …]
/f-stack/app/nginx-1.16.1/src/http/v2/
H A Dngx_http_v2_module.c457 ngx_http_compile_complex_value_t ccv; in ngx_http_v2_push() local
494 ngx_memzero(&ccv, sizeof(ngx_http_compile_complex_value_t)); in ngx_http_v2_push()
496 ccv.cf = cf; in ngx_http_v2_push()
497 ccv.value = &value[1]; in ngx_http_v2_push()
498 ccv.complex_value = cv; in ngx_http_v2_push()
500 if (ngx_http_compile_complex_value(&ccv) != NGX_OK) { in ngx_http_v2_push()

123