Home
last modified time | relevance | path

Searched refs:snd_cwnd (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/sys/netinet/cc/
H A Dcc_htcp.c208 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 Dcc.c411 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 Dcc_vegas.c146 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 Dcc_chd.c152 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 Dcc_cubic.c170 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()
243 cwin = CCV(ccv, snd_cwnd); in cubic_ack_received()
316 CCV(ccv, snd_cwnd) = W_est; in cubic_ack_received()
332 CCV(ccv, snd_cwnd) = cwin + incr; in cubic_ack_received()
352 cubic_data->W_max = ulmax(cubic_data->W_max, CCV(ccv, snd_cwnd)); in cubic_after_idle()
458 CCV(ccv, snd_cwnd) = max(ssthresh, mss); in cubic_cong_signal()
491 CCV(ccv, snd_cwnd) = mss; in cubic_cong_signal()
552 CCV(ccv, snd_cwnd) = max(pipe, mss) + mss; in cubic_post_recovery()
555 CCV(ccv, snd_cwnd) = max(((uint64_t)cubic_data->W_max * in cubic_post_recovery()
[all …]
H A Dcc_cdg.c336 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 Dcc_newreno.c223 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 Dcc_dctcp.c248 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 Dtcp_input.c301 if ((!V_tcp_do_newcwv && (tp->snd_cwnd <= tp->snd_wnd)) || in cc_ack_received()
302 (V_tcp_do_newcwv && (tp->snd_cwnd <= tp->snd_wnd) && in cc_ack_received()
303 (tp->snd_cwnd < (tcp_compute_pipe(tp) * 2)))) in cc_ack_received()
311 ((int32_t)tp->snd_cwnd) - tp->snd_wnd); in cc_ack_received()
338 if (tp->snd_cwnd > tp->snd_ssthresh) { in cc_ack_received()
340 if (tp->t_bytes_acked >= tp->snd_cwnd) { in cc_ack_received()
341 tp->t_bytes_acked -= tp->snd_cwnd; in cc_ack_received()
356 stats_voi_update_abs_ulong(tp->t_stats, VOI_TCP_LCWIN, tp->snd_cwnd); in cc_ack_received()
406 if (tp->snd_cwnd == 1) in cc_conn_init()
407 tp->snd_cwnd = maxseg; /* SYN(-ACK) lost */ in cc_conn_init()
[all …]
H A Dtcp_ecn.c189 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 Dtcp_sack.c972 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()
1166 tp->snd_cwnd = tp->snd_ssthresh; in tcp_sack_lost_retransmission()
1179 tp->snd_cwnd = tcp_maxseg(tp); in tcp_sack_lost_retransmission()
H A Dsiftr.c173 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 Dtcp_timer.c592 tp->snd_cwnd = 1; in tcp_timer_rexmt()
603 tp->snd_cwnd_prev = tp->snd_cwnd; in tcp_timer_rexmt()
H A Dtcp_output.c275 sendwin = min(tp->snd_wnd, tp->snd_cwnd + sendwin); in tcp_default_output()
1692 tp->snd_cwnd = tcp_maxseg(tp); in tcp_default_output()
H A Dtcp_var.h354 uint32_t snd_cwnd; /* congestion-controlled window */ member
H A Dtcp_usrreq.c1597 ti->tcpi_snd_cwnd = tp->snd_cwnd; in tcp_fill_info()
3140 tp->snd_wnd, tp->snd_cwnd); in db_print_tcpcb()
H A Dtcp_subr.c2319 tp->snd_cwnd = TCP_MAXWIN << TCP_MAX_WINSHIFT; in tcp_newtcpcb()
2488 metrics.hc_cwnd = tp->snd_cwnd; in tcp_discardcb()
4229 xt->t_snd_cwnd = tp->snd_cwnd; in tcp_inptoxtp()
H A Dtcp_syncache.c964 tp->snd_cwnd = 1; in syncache_socket()
/freebsd/cddl/lib/libdtrace/
H A Dsiftr.d50 uint32_t snd_cwnd; member
87 snd_cwnd = p == NULL ? 0 : p->snd_cwnd;
H A Dtcp.d243 tcps_cwnd = p == NULL ? -1 : p->snd_cwnd;
/freebsd/sys/netinet/tcp_stacks/
H A Dbbr.c3636 cwnd = tp->snd_cwnd; in bbr_ack_received()
3686 tp->snd_cwnd = cwnd; in bbr_ack_received()
3730 tp->snd_cwnd = max(cwnd, get_min_cwnd(bbr)); in bbr_ack_received()
3743 tp->snd_cwnd) { in tcp_bbr_partialack()
3777 tp->snd_cwnd = max(tp->snd_cwnd, bbr->r_ctl.rc_cwnd_on_ent); in bbr_post_recovery()
3823 cwnd = tp->snd_cwnd; in bbr_post_recovery()
3824 cwnd_p = &tp->snd_cwnd; in bbr_post_recovery()
3877 if (tp->snd_cwnd > newcwnd) in bbr_post_recovery()
3878 tp->snd_cwnd = newcwnd; in bbr_post_recovery()
3886 if (flight <= tp->snd_cwnd) { in bbr_post_recovery()
[all …]
H A Drack.c4384 rack->rc_tp->snd_cwnd = roundup(setto, segsiz); in rack_exit_probertt()
4385 if (rack->rc_tp->snd_cwnd < (segsiz * rack_timely_min_segs)) { in rack_exit_probertt()
4387 rack->rc_tp->snd_cwnd = segsiz * rack_timely_min_segs; in rack_exit_probertt()
4390 rack->rc_tp->snd_ssthresh = (rack->rc_tp->snd_cwnd - 1); in rack_exit_probertt()
5505 if (tp->snd_cwnd <= tp->snd_wnd) in rack_ack_received()
5509 if (tp->snd_cwnd > tp->snd_ssthresh) { in rack_ack_received()
5521 prior_cwnd = tp->snd_cwnd; in rack_ack_received()
5553 lgb->tlb_stackinfo.u_bbr.flex6 = tp->snd_cwnd; in rack_ack_received()
5563 } else if ((prior_cwnd + ctf_fixed_maxseg(tp)) <= tp->snd_cwnd) { in rack_ack_received()
5584 (tp->snd_cwnd >= tp->snd_ssthresh)) { in rack_ack_received()
[all …]
H A Dtcp_bbr.h239 uint32_t snd_cwnd; member
/freebsd/share/dtrace/
H A Dsiftr41 args[0]->snd_cwnd,
/freebsd/sys/netinet/khelp/
H A Dh_ertt.c163 e_t->marked_snd_cwnd = tp->snd_cwnd; in marked_packet_rtt()

12