Home
last modified time | relevance | path

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

/NextBSD/sys/netinet/cc/
HDcc_cubic.c132 CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh) || in cubic_ack_received()
135 if (CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh) || in cubic_ack_received()
163 CCV(ccv, snd_cwnd) = w_tf; in cubic_ack_received()
165 else if (CCV(ccv, snd_cwnd) < w_cubic_next) { in cubic_ack_received()
171 CCV(ccv, snd_cwnd) = w_cubic_next; in cubic_ack_received()
173 CCV(ccv, snd_cwnd) += ((w_cubic_next - in cubic_ack_received()
174 CCV(ccv, snd_cwnd)) * in cubic_ack_received()
176 CCV(ccv, snd_cwnd); in cubic_ack_received()
187 cubic_data->max_cwnd < CCV(ccv, snd_cwnd)) in cubic_ack_received()
188 cubic_data->max_cwnd = CCV(ccv, snd_cwnd); in cubic_ack_received()
[all …]
HDcc_newreno.c89 u_int cw = CCV(ccv, snd_cwnd); in newreno_ack_received()
146 CCV(ccv, snd_cwnd) = min(cw + incr, in newreno_ack_received()
175 CCV(ccv, snd_cwnd) = min(rw, CCV(ccv, snd_cwnd)); in newreno_after_idle()
190 win = max(CCV(ccv, snd_cwnd) / 2 / CCV(ccv, t_maxseg), 2) * in newreno_cong_signal()
204 CCV(ccv, snd_cwnd) = win; in newreno_cong_signal()
236 CCV(ccv, snd_cwnd) = pipe + CCV(ccv, t_maxseg); in newreno_post_recovery()
238 CCV(ccv, snd_cwnd) = CCV(ccv, snd_ssthresh); in newreno_post_recovery()
HDcc_htcp.c204 CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh) || in htcp_ack_received()
214 CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh)) in htcp_ack_received()
219 CCV(ccv, snd_cwnd) += htcp_data->alpha * in htcp_ack_received()
228 CCV(ccv, snd_cwnd) += (((htcp_data->alpha << in htcp_ack_received()
229 HTCP_SHIFT) / (CCV(ccv, snd_cwnd) / in htcp_ack_received()
291 htcp_data->prev_cwnd = CCV(ccv, snd_cwnd); in htcp_cong_signal()
306 CCV(ccv, snd_cwnd) = CCV(ccv, snd_ssthresh); in htcp_cong_signal()
308 htcp_data->prev_cwnd = CCV(ccv, snd_cwnd); in htcp_cong_signal()
363 CCV(ccv, snd_cwnd) = CCV(ccv, snd_max) - ccv->curack + in htcp_post_recovery()
366 CCV(ccv, snd_cwnd) = max(1, ((htcp_data->beta * in htcp_post_recovery()
[all …]
HDcc_vegas.c145 if (CCV(ccv, snd_cwnd) <= in vegas_ack_received()
152 CCV(ccv, snd_cwnd) = in vegas_ack_received()
153 min(CCV(ccv, snd_cwnd) + in vegas_ack_received()
214 CCV(ccv, snd_cwnd) = max(2 * CCV(ccv, t_maxseg), in vegas_cong_signal()
215 CCV(ccv, snd_cwnd) - CCV(ccv, t_maxseg)); in vegas_cong_signal()
216 if (CCV(ccv, snd_cwnd) < CCV(ccv, snd_ssthresh)) in vegas_cong_signal()
218 CCV(ccv, snd_ssthresh) = CCV(ccv, snd_cwnd); in vegas_cong_signal()
228 (CCV(ccv, snd_cwnd) < CCV(ccv, snd_ssthresh)) ? 1 : 0; in vegas_cong_signal()
HDcc_chd.c148 win = min(CCV(ccv, snd_wnd), CCV(ccv, snd_cwnd)) / CCV(ccv, t_maxseg); in chd_window_decrease()
194 if (CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh)) { in chd_window_increase()
226 CCV(ccv,snd_cwnd) = min(CCV(ccv, snd_cwnd) + incr, in chd_window_increase()
284 chd_data->shadow_w = max(CCV(ccv, snd_cwnd), in chd_ack_received()
342 CCV(ccv, snd_cwnd) = CCV(ccv, snd_ssthresh); in chd_cong_signal()
358 CCV(ccv, snd_cwnd) = max(CCV(ccv, snd_cwnd), in chd_cong_signal()
367 CCV(ccv, snd_ssthresh) = CCV(ccv, snd_cwnd); in chd_cong_signal()
396 chd_data->shadow_w = CCV(ccv, snd_cwnd); in chd_conn_init()
HDcc_cdg.c329 cdg_data->shadow_w = CCV(ccv, snd_cwnd); in cdg_conn_init()
401 if (CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh)) { in cdg_window_increase()
427 CCV(ccv, snd_cwnd) = ulmin(CCV(ccv, snd_cwnd) + incr, in cdg_window_increase()
439 CCV(ccv, snd_cwnd), V_cdg_beta_delay); in cdg_cong_signal()
440 CCV(ccv, snd_cwnd) = CCV(ccv, snd_ssthresh); in cdg_cong_signal()
452 CCV(ccv, snd_ssthresh) = CCV(ccv, snd_cwnd); in cdg_cong_signal()
465 cdg_window_decrease(ccv, CCV(ccv, snd_cwnd), in cdg_cong_signal()
568 slowstart = (CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh)); in cdg_ack_received()
643 cdg_data->shadow_w = ulmax(CCV(ccv, snd_cwnd), in cdg_ack_received()
HDcc_dctcp.c238 win = CCV(ccv, snd_cwnd); in dctcp_cong_signal()
278 CCV(ccv, snd_cwnd) = CCV(ccv, snd_ssthresh); in dctcp_cong_signal()
/NextBSD/cddl/lib/libdtrace/
HDsiftr.d50 uint64_t snd_cwnd; member
80 snd_cwnd = p == NULL ? 0 : p->snd_cwnd;
HDtcp.d207 tcps_cwnd = p == NULL ? -1 : p->snd_cwnd;
/NextBSD/sys/netinet/
HDtcp_input.c285 if (tp->snd_cwnd <= tp->snd_wnd) in cc_ack_received()
291 if (tp->snd_cwnd > tp->snd_ssthresh) { in cc_ack_received()
294 if (tp->t_bytes_acked >= tp->snd_cwnd) { in cc_ack_received()
295 tp->t_bytes_acked -= tp->snd_cwnd; in cc_ack_received()
363 if (tp->snd_cwnd == 1) in cc_conn_init()
364 tp->snd_cwnd = maxseg; /* SYN(-ACK) lost */ in cc_conn_init()
366 tp->snd_cwnd = min(V_tcp_initcwnd_segments * maxseg, in cc_conn_init()
369 tp->snd_cwnd = min(4 * maxseg, max(2 * maxseg, 4380)); in cc_conn_init()
373 tp->snd_cwnd = 2 * maxseg; in cc_conn_init()
375 tp->snd_cwnd = 3 * maxseg; in cc_conn_init()
[all …]
HDtcp_sack.c597 tp->snd_cwnd = (tp->sackhint.sack_bytes_rexmit + in tcp_sack_partialack()
599 if (tp->snd_cwnd > tp->snd_ssthresh) in tcp_sack_partialack()
600 tp->snd_cwnd = tp->snd_ssthresh; in tcp_sack_partialack()
HDsiftr.c192 u_long snd_cwnd; member
477 pkt_node->snd_cwnd, in siftr_process_pkt()
528 pkt_node->snd_cwnd, in siftr_process_pkt()
781 pn->snd_cwnd = tp->snd_cwnd; in siftr_siftdata()
HDtcp_output.c260 sendwin = min(tp->snd_wnd, tp->snd_cwnd); in tcp_output()
281 cwin = min(tp->snd_wnd, tp->snd_cwnd) - sack_bytes_rxmt; in tcp_output()
399 cwin = tp->snd_cwnd - in tcp_output()
1597 tp->snd_cwnd = tp->t_maxseg; in tcp_output()
HDtcp_timer.c619 tp->snd_cwnd = 1; in tcp_timer_rexmt()
630 tp->snd_cwnd_prev = tp->snd_cwnd; in tcp_timer_rexmt()
HDtcp_var.h174 u_long snd_cwnd; /* congestion-controlled window */ member
HDtcp_usrreq.c1338 ti->tcpi_snd_cwnd = tp->snd_cwnd; in tcp_fill_info()
2203 tp->snd_wnd, tp->snd_cwnd); in db_print_tcpcb()
HDtcp_subr.c1125 tp->snd_cwnd = TCP_MAXWIN << TCP_MAX_WINSHIFT; in tcp_newtcpcb()
1311 metrics.rmx_cwnd = tp->snd_cwnd; in tcp_discardcb()
HDtcp_syncache.c891 tp->snd_cwnd = 1; in syncache_socket()
/NextBSD/sys/netinet/tcp_stacks/
HDfastpath.c1111 tp->snd_cwnd += tp->t_maxseg; in tcp_do_slowpath()
1112 if (tp->snd_cwnd > tp->snd_ssthresh) in tcp_do_slowpath()
1113 tp->snd_cwnd = tp->snd_ssthresh; in tcp_do_slowpath()
1116 tp->snd_cwnd += tp->t_maxseg; in tcp_do_slowpath()
1150 tp->snd_cwnd = tp->t_maxseg; in tcp_do_slowpath()
1155 tp->snd_cwnd = tp->t_maxseg; in tcp_do_slowpath()
1160 tp->snd_cwnd = tp->snd_ssthresh + in tcp_do_slowpath()
1178 u_long oldcwnd = tp->snd_cwnd; in tcp_do_slowpath()
1189 tp->snd_cwnd = in tcp_do_slowpath()
1215 tp->snd_cwnd = oldcwnd; in tcp_do_slowpath()
/NextBSD/share/dtrace/
HDsiftr43 args[0]->snd_cwnd,
/NextBSD/sys/netinet/khelp/
HDh_ertt.c164 e_t->marked_snd_cwnd = tp->snd_cwnd; in marked_packet_rtt()