| /f-stack/freebsd/netinet/cc/ |
| H A D | cc_cubic.c | 159 cubic_data->max_cwnd = CCV(ccv, snd_cwnd); in cubic_ack_received() 199 if (CCV(ccv, snd_cwnd) < w_tf) in cubic_ack_received() 200 CCV(ccv, snd_cwnd) = ulmin(w_tf, INT_MAX); in cubic_ack_received() 201 } else if (CCV(ccv, snd_cwnd) < w_cubic_next) { in cubic_ack_received() 207 CCV(ccv, snd_cwnd) = ulmin(w_cubic_next, in cubic_ack_received() 219 cubic_data->max_cwnd < CCV(ccv, snd_cwnd)) { in cubic_ack_received() 220 cubic_data->max_cwnd = CCV(ccv, snd_cwnd); in cubic_ack_received() 307 CCV(ccv, snd_cwnd) = CCV(ccv, snd_ssthresh); in cubic_cong_signal() 322 CCV(ccv, snd_cwnd) = mss; in cubic_cong_signal() 347 cubic_data->max_cwnd = CCV(ccv, snd_cwnd); in cubic_conn_init() [all …]
|
| H A D | cc_htcp.c | 206 CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh) || in htcp_ack_received() 216 CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh)) in htcp_ack_received() 221 CCV(ccv, snd_cwnd) += htcp_data->alpha * in htcp_ack_received() 230 CCV(ccv, snd_cwnd) += (((htcp_data->alpha << in htcp_ack_received() 231 HTCP_SHIFT) / (CCV(ccv, snd_cwnd) / in htcp_ack_received() 293 htcp_data->prev_cwnd = CCV(ccv, snd_cwnd); in htcp_cong_signal() 308 CCV(ccv, snd_cwnd) = CCV(ccv, snd_ssthresh); in htcp_cong_signal() 310 htcp_data->prev_cwnd = CCV(ccv, snd_cwnd); in htcp_cong_signal() 317 CCV(ccv, snd_cwnd)) / 2 / mss, in htcp_cong_signal() 319 CCV(ccv, snd_cwnd) = mss; in htcp_cong_signal() [all …]
|
| H A D | cc_newreno.c | 136 u_int cw = CCV(ccv, snd_cwnd); in newreno_ack_received() 194 CCV(ccv, snd_cwnd) = min(cw + incr, in newreno_ack_received() 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() 239 cwin = CCV(ccv, snd_cwnd); in newreno_cong_signal() 274 CCV(ccv, snd_cwnd) = cwin; in newreno_cong_signal() 280 CCV(ccv, snd_cwnd)) / 2 / mss, in newreno_cong_signal() 282 CCV(ccv, snd_cwnd) = mss; in newreno_cong_signal() 315 CCV(ccv, snd_cwnd) = max(pipe, CCV(ccv, t_maxseg)) + in newreno_post_recovery() 318 CCV(ccv, snd_cwnd) = CCV(ccv, snd_ssthresh); in newreno_post_recovery()
|
| H A D | cc_vegas.c | 143 if (CCV(ccv, snd_cwnd) <= in vegas_ack_received() 150 CCV(ccv, snd_cwnd) = in vegas_ack_received() 151 min(CCV(ccv, snd_cwnd) + in vegas_ack_received() 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()
|
| H A D | cc_chd.c | 147 win = min(CCV(ccv, snd_wnd), CCV(ccv, snd_cwnd)) / CCV(ccv, t_maxseg); in chd_window_decrease() 193 if (CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh)) { in chd_window_increase() 225 CCV(ccv,snd_cwnd) = min(CCV(ccv, snd_cwnd) + incr, in chd_window_increase() 283 chd_data->shadow_w = max(CCV(ccv, snd_cwnd), in chd_ack_received() 340 CCV(ccv, snd_cwnd) = CCV(ccv, snd_ssthresh); 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() 394 chd_data->shadow_w = CCV(ccv, snd_cwnd); in chd_conn_init()
|
| H A D | cc_cdg.c | 328 cdg_data->shadow_w = CCV(ccv, snd_cwnd); in cdg_conn_init() 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() 453 CCV(ccv, snd_cwnd), V_cdg_beta_delay); in cdg_cong_signal() 454 CCV(ccv, snd_cwnd) = CCV(ccv, snd_ssthresh); in cdg_cong_signal() 466 CCV(ccv, snd_ssthresh) = CCV(ccv, snd_cwnd); in cdg_cong_signal() 479 cdg_window_decrease(ccv, CCV(ccv, snd_cwnd), in cdg_cong_signal() 582 slowstart = (CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh)); in cdg_ack_received() 661 cdg_data->shadow_w = ulmax(CCV(ccv, snd_cwnd), in cdg_ack_received()
|
| H A D | cc_dctcp.c | 237 cwin = CCV(ccv, snd_cwnd); in dctcp_cong_signal() 279 CCV(ccv, snd_cwnd) = CCV(ccv, snd_ssthresh); in dctcp_cong_signal() 286 CCV(ccv, snd_cwnd)) / 2 / mss, in dctcp_cong_signal() 288 CCV(ccv, snd_cwnd) = mss; in dctcp_cong_signal()
|
| /f-stack/freebsd/netinet/ |
| H A D | tcp_input.c | 430 if (tp->snd_cwnd == 1) in cc_conn_init() 2639 tp->snd_cwnd += maxseg; in tcp_do_segment() 2644 tp->snd_cwnd += maxseg; in tcp_do_segment() 2690 tp->snd_cwnd = maxseg; in tcp_do_segment() 2695 tp->snd_cwnd = maxseg; in tcp_do_segment() 2730 tp->snd_cwnd = in tcp_do_segment() 2756 tp->snd_cwnd = oldcwnd; in tcp_do_segment() 3984 uint32_t ocwnd = tp->snd_cwnd; in tcp_newreno_partial_ack() 3999 tp->snd_cwnd = ocwnd; in tcp_newreno_partial_ack() 4009 tp->snd_cwnd = 0; in tcp_newreno_partial_ack() [all …]
|
| H A D | siftr.c | 197 u_long snd_cwnd; member 483 pkt_node->snd_cwnd, in siftr_process_pkt() 534 pkt_node->snd_cwnd, in siftr_process_pkt() 782 pn->snd_cwnd = tp->snd_cwnd; in siftr_siftdata()
|
| H A D | tcp_sack.c | 798 tp->snd_cwnd = (tp->sackhint.sack_bytes_rexmit + in tcp_sack_partialack() 800 if (tp->snd_cwnd > tp->snd_ssthresh) in tcp_sack_partialack() 801 tp->snd_cwnd = tp->snd_ssthresh; in tcp_sack_partialack()
|
| H A D | tcp_output.c | 286 sendwin = min(tp->snd_wnd, tp->snd_cwnd); in tcp_output() 308 imax(min(tp->snd_wnd, tp->snd_cwnd) - sack_bytes_rxmt, 0); in tcp_output() 424 cwin = tp->snd_cwnd - in tcp_output() 1649 tp->snd_cwnd = tp->t_maxseg; in tcp_output()
|
| H A D | tcp_timer.c | 669 tp->snd_cwnd = 1; in tcp_timer_rexmt() 680 tp->snd_cwnd_prev = tp->snd_cwnd; in tcp_timer_rexmt()
|
| H A D | tcp_var.h | 152 uint32_t snd_cwnd; /* congestion-controlled window */ member
|
| H A D | tcp_subr.c | 1781 tp->snd_cwnd = TCP_MAXWIN << TCP_MAX_WINSHIFT; in tcp_newtcpcb() 2001 metrics.rmx_cwnd = tp->snd_cwnd; in tcp_discardcb() 3462 xt->t_snd_cwnd = tp->snd_cwnd; in tcp_inptoxtp()
|
| H A D | tcp_usrreq.c | 1784 ti->tcpi_snd_cwnd = tp->snd_cwnd; in tcp_fill_info() 2993 tp->snd_wnd, tp->snd_cwnd); in db_print_tcpcb()
|
| H A D | tcp_log_buf.c | 1679 COPY_STAT(snd_cwnd); in tcp_log_event_()
|
| H A D | tcp_syncache.c | 1095 tp->snd_cwnd = 1; in syncache_socket()
|
| /f-stack/freebsd/netinet/tcp_stacks/ |
| H A D | bbr.c | 3664 cwnd = tp->snd_cwnd; in bbr_ack_received() 3714 tp->snd_cwnd = cwnd; in bbr_ack_received() 3771 tp->snd_cwnd) { in tcp_bbr_partialack() 3805 tp->snd_cwnd = max(tp->snd_cwnd, bbr->r_ctl.rc_cwnd_on_ent); in bbr_post_recovery() 3851 cwnd = tp->snd_cwnd; in bbr_post_recovery() 3852 cwnd_p = &tp->snd_cwnd; in bbr_post_recovery() 3906 tp->snd_cwnd = newcwnd; in bbr_post_recovery() 4007 tp->snd_cwnd = max(tp->snd_cwnd, bbr->r_ctl.rc_cwnd_on_ent); in bbr_cong_signal() 5025 tp->snd_cwnd = 1; in bbr_timeout_rxt() 11902 tp->snd_cwnd = target; in bbr_cwnd_limiting() [all …]
|
| H A D | rack.c | 3961 orig_cwnd = tp->snd_cwnd; in rack_post_recovery() 4111 if (tp->snd_cwnd == 1) in rack_cc_after_idle() 4121 if (tp->snd_cwnd < i_cwnd) { in rack_cc_after_idle() 4122 tp->snd_cwnd = i_cwnd; in rack_cc_after_idle() 5633 tp->snd_cwnd = 1; in rack_timeout_rxt() 10491 if (tp->snd_cwnd < iwin) in rack_init() 10492 tp->snd_cwnd = iwin; in rack_init() 14395 (tp->snd_cwnd < win)) in rack_set_sockopt() 14396 tp->snd_cwnd = win; in rack_set_sockopt() 14427 if (tp->snd_cwnd < win) in rack_set_sockopt() [all …]
|
| H A D | tcp_bbr.h | 241 uint32_t snd_cwnd; member
|
| /f-stack/freebsd/netinet/khelp/ |
| H A D | h_ertt.c | 166 e_t->marked_snd_cwnd = tp->snd_cwnd; in marked_packet_rtt()
|
| /f-stack/tools/compat/include/netinet/ |
| H A D | tcp_var.h | 152 uint32_t snd_cwnd; /* congestion-controlled window */ member
|