Searched refs:snd_cwnd (Results 1 - 22 of 22) sorted by relevance

/freebsd-12-stable/sys/netinet/cc/
H A Dcc_htcp.c206 CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh) ||
216 CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh))
221 CCV(ccv, snd_cwnd) += htcp_data->alpha *
230 CCV(ccv, snd_cwnd) += (((htcp_data->alpha <<
231 HTCP_SHIFT) / (CCV(ccv, snd_cwnd) /
293 htcp_data->prev_cwnd = CCV(ccv, snd_cwnd);
308 CCV(ccv, snd_cwnd) = CCV(ccv, snd_ssthresh);
310 htcp_data->prev_cwnd = CCV(ccv, snd_cwnd);
317 CCV(ccv, snd_cwnd)) / 2 / mss,
319 CCV(ccv, snd_cwnd)
[all...]
H A Dcc_newreno.c136 u_int cw = CCV(ccv, snd_cwnd);
194 CCV(ccv, snd_cwnd) = min(cw + incr,
228 CCV(ccv, snd_cwnd)-(CCV(ccv, snd_cwnd)>>2));
230 CCV(ccv, snd_cwnd) = min(rw, CCV(ccv, snd_cwnd));
243 cwin = CCV(ccv, snd_cwnd);
283 CCV(ccv, snd_cwnd) = cwin;
289 CCV(ccv, snd_cwnd)) / 2 / mss,
291 CCV(ccv, snd_cwnd)
[all...]
H A Dcc_cubic.c149 if (CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh) ||
159 cubic_data->max_cwnd = CCV(ccv, snd_cwnd);
199 if (CCV(ccv, snd_cwnd) < w_tf)
200 CCV(ccv, snd_cwnd) = ulmin(w_tf, INT_MAX);
201 } else if (CCV(ccv, snd_cwnd) < w_cubic_next) {
205 * Only update snd_cwnd, if it doesn't shrink.
207 CCV(ccv, snd_cwnd) = ulmin(w_cubic_next,
219 cubic_data->max_cwnd < CCV(ccv, snd_cwnd)) {
220 cubic_data->max_cwnd = CCV(ccv, snd_cwnd);
243 cubic_data->max_cwnd = ulmax(cubic_data->max_cwnd, CCV(ccv, snd_cwnd));
[all...]
H A Dcc_vegas.c143 if (CCV(ccv, snd_cwnd) <=
150 CCV(ccv, snd_cwnd) =
151 min(CCV(ccv, snd_cwnd) +
210 CCV(ccv, snd_cwnd) = max(2 * CCV(ccv, t_maxseg),
211 CCV(ccv, snd_cwnd) - CCV(ccv, t_maxseg));
212 if (CCV(ccv, snd_cwnd) < CCV(ccv, snd_ssthresh))
214 CCV(ccv, snd_ssthresh) = CCV(ccv, snd_cwnd);
224 (CCV(ccv, snd_cwnd) < CCV(ccv, snd_ssthresh)) ? 1 : 0;
H A Dcc_chd.c147 win = min(CCV(ccv, snd_wnd), CCV(ccv, snd_cwnd)) / CCV(ccv, t_maxseg);
193 if (CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh)) {
225 CCV(ccv,snd_cwnd) = min(CCV(ccv, snd_cwnd) + incr,
283 chd_data->shadow_w = max(CCV(ccv, snd_cwnd),
340 CCV(ccv, snd_cwnd) = CCV(ccv, snd_ssthresh);
356 CCV(ccv, snd_cwnd) = max(CCV(ccv, snd_cwnd),
365 CCV(ccv, snd_ssthresh) = CCV(ccv, snd_cwnd);
391 * Initialise the shadow_cwnd to be equal to snd_cwnd i
[all...]
H A Dcc_cdg.c328 cdg_data->shadow_w = CCV(ccv, snd_cwnd);
415 if (CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh)) {
441 CCV(ccv, snd_cwnd) = ulmin(CCV(ccv, snd_cwnd) + incr,
453 CCV(ccv, snd_cwnd), V_cdg_beta_delay);
454 CCV(ccv, snd_cwnd) = CCV(ccv, snd_ssthresh);
466 CCV(ccv, snd_ssthresh) = CCV(ccv, snd_cwnd);
479 cdg_window_decrease(ccv, CCV(ccv, snd_cwnd),
582 slowstart = (CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh));
661 cdg_data->shadow_w = ulmax(CCV(ccv, snd_cwnd),
[all...]
H A Dcc_dctcp.c237 cwin = CCV(ccv, snd_cwnd);
261 * Save current snd_cwnd when the host encounters both
279 CCV(ccv, snd_cwnd) = CCV(ccv, snd_ssthresh);
286 CCV(ccv, snd_cwnd)) / 2 / mss,
288 CCV(ccv, snd_cwnd) = mss;
/freebsd-12-stable/cddl/lib/libdtrace/
H A Dsiftr.d50 uint64_t snd_cwnd;
80 snd_cwnd = p == NULL ? 0 : p->snd_cwnd;
H A Dtcp.d243 tcps_cwnd = p == NULL ? -1 : p->snd_cwnd;
/freebsd-12-stable/sys/netinet/
H A Dtcp_input.c305 if (tp->snd_cwnd <= tp->snd_wnd)
311 if (tp->snd_cwnd > tp->snd_ssthresh) {
313 if (tp->t_bytes_acked >= tp->snd_cwnd) {
314 tp->t_bytes_acked -= tp->snd_cwnd;
382 if (tp->snd_cwnd == 1)
383 tp->snd_cwnd = maxseg; /* SYN(-ACK) lost */
385 tp->snd_cwnd = min(V_tcp_initcwnd_segments * maxseg,
388 tp->snd_cwnd = min(4 * maxseg, max(2 * maxseg, 4380));
392 tp->snd_cwnd = 2 * maxseg;
394 tp->snd_cwnd
[all...]
H A Dsiftr.c192 u_long snd_cwnd; member in struct:pkt_node
482 pkt_node->snd_cwnd,
533 pkt_node->snd_cwnd,
786 pn->snd_cwnd = tp->snd_cwnd;
H A Dtcp_sack.c780 * simple for now. When a partial ack is received, force snd_cwnd to a value
798 tp->snd_cwnd = (tp->sackhint.sack_bytes_rexmit +
800 if (tp->snd_cwnd > tp->snd_ssthresh)
801 tp->snd_cwnd = tp->snd_ssthresh;
H A Dtcp_output.c272 sendwin = min(tp->snd_wnd, tp->snd_cwnd);
278 * If we retransmit in fast recovery mode, decrement snd_cwnd, since
280 * now, and we previously incremented snd_cwnd in tcp_input().
294 imax(min(tp->snd_wnd, tp->snd_cwnd) - sack_bytes_rxmt, 0);
410 cwin = tp->snd_cwnd -
1589 tp->snd_cwnd = tp->t_maxseg;
H A Dtcp_timer.c644 tp->snd_cwnd = 1;
655 tp->snd_cwnd_prev = tp->snd_cwnd;
H A Dtcp_subr.c1683 tp->snd_cwnd = TCP_MAXWIN << TCP_MAX_WINSHIFT;
1892 metrics.rmx_cwnd = tp->snd_cwnd;
3258 xt->t_snd_cwnd = tp->snd_cwnd;
H A Dtcp_var.h115 uint32_t snd_cwnd; /* congestion-controlled window */ member in struct:tcpcb
146 uint32_t snd_ssthresh; /* snd_cwnd size threshold for
H A Dtcp_usrreq.c1618 ti->tcpi_snd_cwnd = tp->snd_cwnd;
2694 db_printf("snd_wnd: %u snd_cwnd: %u\n",
2695 tp->snd_wnd, tp->snd_cwnd);
H A Dtcp_log_buf.c1482 COPY_STAT(snd_cwnd);
H A Dtcp_syncache.c958 tp->snd_cwnd = 1;
/freebsd-12-stable/share/dtrace/
H A Dsiftr42 printf("snd_cwnd %d snd_wnd %d rcv_wnd %d snd_bwnd %d snd_ssthresh %d\n",
43 args[0]->snd_cwnd,
/freebsd-12-stable/sys/netinet/tcp_stacks/
H A Drack.c1284 if (tp->snd_cwnd <= tp->snd_wnd)
1292 ((int32_t) tp->snd_cwnd) - tp->snd_wnd);
1320 if (tp->snd_cwnd > tp->snd_ssthresh) {
1322 if (tp->t_bytes_acked >= tp->snd_cwnd) {
1323 tp->t_bytes_acked -= tp->snd_cwnd;
1337 stats_voi_update_abs_ulong(tp->t_stats, VOI_TCP_LCWIN, tp->snd_cwnd);
1339 if (rack->r_ctl.rc_rack_largest_cwnd < tp->snd_cwnd) {
1340 rack->r_ctl.rc_rack_largest_cwnd = tp->snd_cwnd;
1343 if (tp->t_peakrate_thr && tp->snd_cwnd > tp->t_peakrate_thr) {
1344 tp->snd_cwnd
[all...]
/freebsd-12-stable/sys/netinet/khelp/
H A Dh_ertt.c166 e_t->marked_snd_cwnd = tp->snd_cwnd;

Completed in 214 milliseconds