/freebsd/sys/netinet/cc/ |
H A D | cc_htcp.c | 208 CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh) || in htcp_ack_received() 218 CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh)) in htcp_ack_received() 223 CCV(ccv, snd_cwnd) += htcp_data->alpha * in htcp_ack_received() 232 CCV(ccv, snd_cwnd) += (((htcp_data->alpha << in htcp_ack_received() 234 CCV(ccv, snd_cwnd) / mss))) * in htcp_ack_received() 304 htcp_data->prev_cwnd = CCV(ccv, snd_cwnd); in htcp_cong_signal() 319 CCV(ccv, snd_cwnd) = CCV(ccv, snd_ssthresh); in htcp_cong_signal() 321 htcp_data->prev_cwnd = CCV(ccv, snd_cwnd); in htcp_cong_signal() 332 CCV(ccv, snd_cwnd) = mss; in htcp_cong_signal() 385 CCV(ccv, snd_cwnd) = max(pipe, mss) + mss; in htcp_post_recovery() [all …]
|
H A D | cc_cubic.c | 170 u_int cw = CCV(ccv, snd_cwnd); in cubic_does_slow_start() 231 CCV(ccv, snd_cwnd) = min((cw + incr), in cubic_does_slow_start() 253 if (CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh) || in cubic_ack_received() 273 cubic_data->W_max = CCV(ccv, snd_cwnd); in cubic_ack_received() 309 CCV(ccv, snd_cwnd) = ulmin(W_est, INT_MAX); in cubic_ack_received() 311 } else if (CCV(ccv, snd_cwnd) < W_cubic) { in cubic_ack_received() 317 CCV(ccv, snd_cwnd) = ulmin(W_cubic, INT_MAX); in cubic_ack_received() 329 cubic_data->W_max < CCV(ccv, snd_cwnd)) { in cubic_ack_received() 330 cubic_data->W_max = CCV(ccv, snd_cwnd); in cubic_ack_received() 352 cubic_data->W_max = ulmax(cubic_data->W_max, CCV(ccv, snd_cwnd)); in cubic_after_idle() [all …]
|
H A D | cc.c | 411 CCV(ccv, snd_cwnd) = max(pipe, mss) + mss; in newreno_cc_post_recovery() 413 CCV(ccv, snd_cwnd) = CCV(ccv, snd_ssthresh); in newreno_cc_post_recovery() 441 CCV(ccv, snd_cwnd)-(CCV(ccv, snd_cwnd)>>2)); in newreno_cc_after_idle() 443 CCV(ccv, snd_cwnd) = min(rw, CCV(ccv, snd_cwnd)); in newreno_cc_after_idle() 454 cwin = CCV(ccv, snd_cwnd); in newreno_cc_cwnd_on_multiplicative_decrease() 492 CCV(ccv, snd_cwnd) = cwin; in newreno_cc_cong_signal() 502 CCV(ccv, snd_cwnd) = mss; in newreno_cc_cong_signal() 512 u_int cw = CCV(ccv, snd_cwnd); in newreno_cc_cwnd_in_cong_avoid() 552 u_int cw = CCV(ccv, snd_cwnd); in newreno_cc_cwnd_in_slow_start() 608 if (CCV(ccv, snd_cwnd) > CCV(ccv, snd_ssthresh)) { in newreno_cc_ack_received() [all …]
|
H A D | cc_vegas.c | 146 if (CCV(ccv, snd_cwnd) <= in vegas_ack_received() 153 CCV(ccv, snd_cwnd) = in vegas_ack_received() 154 min(CCV(ccv, snd_cwnd) + mss, in vegas_ack_received() 222 CCV(ccv, snd_cwnd) = max(2 * mss, in vegas_cong_signal() 223 CCV(ccv, snd_cwnd) - mss); in vegas_cong_signal() 224 if (CCV(ccv, snd_cwnd) < CCV(ccv, snd_ssthresh)) in vegas_cong_signal() 226 CCV(ccv, snd_ssthresh) = CCV(ccv, snd_cwnd); in vegas_cong_signal() 237 (CCV(ccv, snd_cwnd) < CCV(ccv, snd_ssthresh)) ? 1 : 0; in vegas_cong_signal()
|
H A D | cc_chd.c | 152 win = min(CCV(ccv, snd_wnd), CCV(ccv, snd_cwnd)) / mss; in chd_window_decrease() 199 if (CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh)) { in chd_window_increase() 230 CCV(ccv,snd_cwnd) = min(CCV(ccv, snd_cwnd) + incr, in chd_window_increase() 288 chd_data->shadow_w = max(CCV(ccv, snd_cwnd), in chd_ack_received() 354 CCV(ccv, snd_cwnd) = CCV(ccv, snd_ssthresh); in chd_cong_signal() 370 CCV(ccv, snd_cwnd) = max(CCV(ccv, snd_cwnd), in chd_cong_signal() 379 CCV(ccv, snd_ssthresh) = CCV(ccv, snd_cwnd); in chd_cong_signal() 410 chd_data->shadow_w = CCV(ccv, snd_cwnd); in chd_conn_init()
|
H A D | cc_cdg.c | 336 cdg_data->shadow_w = CCV(ccv, snd_cwnd); in cdg_conn_init() 424 if (CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh)) { in cdg_window_increase() 450 CCV(ccv, snd_cwnd) = ulmin(CCV(ccv, snd_cwnd) + incr, in cdg_window_increase() 462 CCV(ccv, snd_cwnd), V_cdg_beta_delay); in cdg_cong_signal() 463 CCV(ccv, snd_cwnd) = CCV(ccv, snd_ssthresh); in cdg_cong_signal() 475 CCV(ccv, snd_ssthresh) = CCV(ccv, snd_cwnd); in cdg_cong_signal() 488 cdg_window_decrease(ccv, CCV(ccv, snd_cwnd), in cdg_cong_signal() 592 slowstart = (CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh)); in cdg_ack_received() 671 cdg_data->shadow_w = ulmax(CCV(ccv, snd_cwnd), in cdg_ack_received()
|
H A D | cc_newreno.c | 223 u_int cw = CCV(ccv, snd_cwnd); in newreno_ack_received() 340 CCV(ccv, snd_cwnd) = min(cw + incr, in newreno_ack_received() 371 cwin = CCV(ccv, snd_cwnd); in newreno_cong_signal() 425 CCV(ccv, snd_cwnd) = cwin; in newreno_cong_signal() 437 CCV(ccv, snd_cwnd) = mss; in newreno_cong_signal() 537 CCV(ccv, snd_cwnd) = nreno->css_fas_at_css_entry; in newreno_newround() 540 CCV(ccv, snd_ssthresh) = CCV(ccv, snd_cwnd); in newreno_newround()
|
H A D | cc_dctcp.c | 248 cwin = CCV(ccv, snd_cwnd); in dctcp_cong_signal() 290 CCV(ccv, snd_cwnd) = CCV(ccv, snd_ssthresh); in dctcp_cong_signal() 301 CCV(ccv, snd_cwnd) = mss; in dctcp_cong_signal()
|
/freebsd/sys/netinet/ |
H A D | tcp_input.c | 304 if ((!V_tcp_do_newcwv && (tp->snd_cwnd <= tp->snd_wnd)) || in cc_ack_received() 305 (V_tcp_do_newcwv && (tp->snd_cwnd <= tp->snd_wnd) && in cc_ack_received() 306 (tp->snd_cwnd < (tcp_compute_pipe(tp) * 2)))) in cc_ack_received() 314 ((int32_t)tp->snd_cwnd) - tp->snd_wnd); in cc_ack_received() 341 if (tp->snd_cwnd > tp->snd_ssthresh) { in cc_ack_received() 343 if (tp->t_bytes_acked >= tp->snd_cwnd) { in cc_ack_received() 344 tp->t_bytes_acked -= tp->snd_cwnd; in cc_ack_received() 359 stats_voi_update_abs_ulong(tp->t_stats, VOI_TCP_LCWIN, tp->snd_cwnd); in cc_ack_received() 409 if (tp->snd_cwnd == 1) in cc_conn_init() 410 tp->snd_cwnd = maxseg; /* SYN(-ACK) lost */ in cc_conn_init() [all …]
|
H A D | tcp_ecn.c | 189 tp->snd_cwnd = 2 * tcp_maxseg(tp); in tcp_ecn_input_syn_sent() 340 tp->snd_cwnd = 2 * tcp_maxseg(tp); in tcp_ecn_input_segment()
|
H A D | tcp_sack.c | 972 tp->snd_cwnd = (tp->sackhint.sack_bytes_rexmit + in tcp_sack_partialack() 981 if (tp->snd_cwnd > tp->snd_ssthresh) in tcp_sack_partialack() 982 tp->snd_cwnd = tp->snd_ssthresh; in tcp_sack_partialack() 1162 tp->snd_cwnd = tp->snd_ssthresh; in tcp_sack_lost_retransmission() 1175 tp->snd_cwnd = tcp_maxseg(tp); in tcp_sack_lost_retransmission()
|
H A D | siftr.c | 173 uint32_t snd_cwnd; member 421 pkt_node->snd_cwnd, in siftr_process_pkt() 678 pn->snd_cwnd = tp->snd_cwnd; in siftr_siftdata()
|
H A D | tcp_timer.c | 592 tp->snd_cwnd = 1; in tcp_timer_rexmt() 603 tp->snd_cwnd_prev = tp->snd_cwnd; in tcp_timer_rexmt()
|
H A D | tcp_output.c | 278 sendwin = min(tp->snd_wnd, tp->snd_cwnd + sendwin); in tcp_default_output() 1704 tp->snd_cwnd = tcp_maxseg(tp); in tcp_default_output()
|
H A D | tcp_var.h | 354 uint32_t snd_cwnd; /* congestion-controlled window */ member
|
H A D | tcp_usrreq.c | 1593 ti->tcpi_snd_cwnd = tp->snd_cwnd; in tcp_fill_info() 3129 tp->snd_wnd, tp->snd_cwnd); in db_print_tcpcb()
|
H A D | tcp_subr.c | 2329 tp->snd_cwnd = TCP_MAXWIN << TCP_MAX_WINSHIFT; in tcp_newtcpcb() 2509 metrics.hc_cwnd = tp->snd_cwnd; in tcp_discardcb() 3984 xt->t_snd_cwnd = tp->snd_cwnd; in tcp_inptoxtp()
|
H A D | tcp_log_buf.c | 1851 COPY_STAT(snd_cwnd); in tcp_log_event()
|
/freebsd/cddl/lib/libdtrace/ |
H A D | siftr.d | 50 uint32_t snd_cwnd; member 87 snd_cwnd = p == NULL ? 0 : p->snd_cwnd;
|
H A D | tcp.d | 243 tcps_cwnd = p == NULL ? -1 : p->snd_cwnd;
|
/freebsd/sys/netinet/tcp_stacks/ |
H A D | bbr.c | 3638 cwnd = tp->snd_cwnd; in bbr_ack_received() 3688 tp->snd_cwnd = cwnd; in bbr_ack_received() 3732 tp->snd_cwnd = max(cwnd, get_min_cwnd(bbr)); in bbr_ack_received() 3745 tp->snd_cwnd) { in tcp_bbr_partialack() 3779 tp->snd_cwnd = max(tp->snd_cwnd, bbr->r_ctl.rc_cwnd_on_ent); in bbr_post_recovery() 3825 cwnd = tp->snd_cwnd; in bbr_post_recovery() 3826 cwnd_p = &tp->snd_cwnd; in bbr_post_recovery() 3879 if (tp->snd_cwnd > newcwnd) in bbr_post_recovery() 3880 tp->snd_cwnd = newcwnd; in bbr_post_recovery() 3888 if (flight <= tp->snd_cwnd) { in bbr_post_recovery() [all …]
|
H A D | rack.c | 4387 rack->rc_tp->snd_cwnd = roundup(setto, segsiz); in rack_exit_probertt() 4388 if (rack->rc_tp->snd_cwnd < (segsiz * rack_timely_min_segs)) { in rack_exit_probertt() 4390 rack->rc_tp->snd_cwnd = segsiz * rack_timely_min_segs; in rack_exit_probertt() 4393 rack->rc_tp->snd_ssthresh = (rack->rc_tp->snd_cwnd - 1); in rack_exit_probertt() 5508 if (tp->snd_cwnd <= tp->snd_wnd) in rack_ack_received() 5512 if (tp->snd_cwnd > tp->snd_ssthresh) { in rack_ack_received() 5524 prior_cwnd = tp->snd_cwnd; in rack_ack_received() 5556 lgb->tlb_stackinfo.u_bbr.flex6 = tp->snd_cwnd; in rack_ack_received() 5566 } else if ((prior_cwnd + ctf_fixed_maxseg(tp)) <= tp->snd_cwnd) { in rack_ack_received() 5587 (tp->snd_cwnd >= tp->snd_ssthresh)) { in rack_ack_received() [all …]
|
H A D | tcp_bbr.h | 239 uint32_t snd_cwnd; member
|
/freebsd/share/dtrace/ |
H A D | siftr | 41 args[0]->snd_cwnd,
|
/freebsd/sys/netinet/khelp/ |
H A D | h_ertt.c | 163 e_t->marked_snd_cwnd = tp->snd_cwnd; in marked_packet_rtt()
|