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

/freebsd-10.0-release/sys/netinet/cc/
H A Dcc_cubic.c132 CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh) ||
135 if (CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh) ||
163 CCV(ccv, snd_cwnd) = w_tf;
165 else if (CCV(ccv, snd_cwnd) < w_cubic_next) {
171 CCV(ccv, snd_cwnd) = w_cubic_next;
173 CCV(ccv, snd_cwnd) += ((w_cubic_next -
174 CCV(ccv, snd_cwnd)) *
176 CCV(ccv, snd_cwnd);
187 cubic_data->max_cwnd < CCV(ccv, snd_cwnd))
188 cubic_data->max_cwnd = CCV(ccv, snd_cwnd);
[all...]
H A Dcc_newreno.c89 u_int cw = CCV(ccv, snd_cwnd);
146 CCV(ccv, snd_cwnd) = min(cw + incr,
175 CCV(ccv, snd_cwnd) = min(rw, CCV(ccv, snd_cwnd));
190 win = max(CCV(ccv, snd_cwnd) / 2 / CCV(ccv, t_maxseg), 2) *
204 CCV(ccv, snd_cwnd) = win;
229 CCV(ccv, snd_cwnd) = CCV(ccv, snd_max) -
232 CCV(ccv, snd_cwnd) = CCV(ccv, snd_ssthresh);
H A Dcc_htcp.c204 CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh) ||
214 CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh))
219 CCV(ccv, snd_cwnd) += htcp_data->alpha *
228 CCV(ccv, snd_cwnd) += (((htcp_data->alpha <<
229 HTCP_SHIFT) / (CCV(ccv, snd_cwnd) /
291 htcp_data->prev_cwnd = CCV(ccv, snd_cwnd);
306 CCV(ccv, snd_cwnd) = CCV(ccv, snd_ssthresh);
308 htcp_data->prev_cwnd = CCV(ccv, snd_cwnd);
363 CCV(ccv, snd_cwnd) = CCV(ccv, snd_max) - ccv->curack +
366 CCV(ccv, snd_cwnd)
[all...]
H A Dcc_vegas.c145 if (CCV(ccv, snd_cwnd) <=
152 CCV(ccv, snd_cwnd) =
153 min(CCV(ccv, snd_cwnd) +
214 CCV(ccv, snd_cwnd) = max(2 * CCV(ccv, t_maxseg),
215 CCV(ccv, snd_cwnd) - CCV(ccv, t_maxseg));
216 if (CCV(ccv, snd_cwnd) < CCV(ccv, snd_ssthresh))
218 CCV(ccv, snd_ssthresh) = CCV(ccv, snd_cwnd);
228 (CCV(ccv, snd_cwnd) < CCV(ccv, snd_ssthresh)) ? 1 : 0;
H A Dcc_chd.c148 win = min(CCV(ccv, snd_wnd), CCV(ccv, snd_cwnd)) / CCV(ccv, t_maxseg);
194 if (CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh)) {
226 CCV(ccv,snd_cwnd) = min(CCV(ccv, snd_cwnd) + incr,
284 chd_data->shadow_w = max(CCV(ccv, snd_cwnd),
342 CCV(ccv, snd_cwnd) = CCV(ccv, snd_ssthresh);
358 CCV(ccv, snd_cwnd) = max(CCV(ccv, snd_cwnd),
367 CCV(ccv, snd_ssthresh) = CCV(ccv, snd_cwnd);
393 * Initialise the shadow_cwnd to be equal to snd_cwnd i
[all...]
H A Dcc_cdg.c324 cdg_data->shadow_w = CCV(ccv, snd_cwnd);
396 if (CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh)) {
422 CCV(ccv, snd_cwnd) = ulmin(CCV(ccv, snd_cwnd) + incr,
434 CCV(ccv, snd_cwnd), V_cdg_beta_delay);
435 CCV(ccv, snd_cwnd) = CCV(ccv, snd_ssthresh);
447 CCV(ccv, snd_ssthresh) = CCV(ccv, snd_cwnd);
460 cdg_window_decrease(ccv, CCV(ccv, snd_cwnd),
563 slowstart = (CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh));
638 cdg_data->shadow_w = ulmax(CCV(ccv, snd_cwnd),
[all...]
/freebsd-10.0-release/sys/netinet/
H A Dtcp_input.c294 if (tp->snd_cwnd <= tp->snd_wnd)
300 if (tp->snd_cwnd > tp->snd_ssthresh) {
303 if (tp->t_bytes_acked >= tp->snd_cwnd) {
304 tp->t_bytes_acked -= tp->snd_cwnd;
369 if (tp->snd_cwnd == 1)
370 tp->snd_cwnd = tp->t_maxseg; /* SYN(-ACK) lost */
372 tp->snd_cwnd = min(10 * tp->t_maxseg,
375 tp->snd_cwnd = min(4 * tp->t_maxseg,
380 tp->snd_cwnd = 2 * tp->t_maxseg;
382 tp->snd_cwnd
[all...]
H A Dsiftr.c188 u_long snd_cwnd; member in struct:pkt_node
468 pkt_node->snd_cwnd,
517 pkt_node->snd_cwnd,
768 pn->snd_cwnd = tp->snd_cwnd;
H A Dtcp_sack.c565 * simple for now. When a partial ack is received, force snd_cwnd to a value
582 tp->snd_cwnd = (tp->sackhint.sack_bytes_rexmit +
584 if (tp->snd_cwnd > tp->snd_ssthresh)
585 tp->snd_cwnd = tp->snd_ssthresh;
H A Dtcp_timer.c563 tp->snd_cwnd = 1;
574 tp->snd_cwnd_prev = tp->snd_cwnd;
H A Dtcp_output.c234 sendwin = min(tp->snd_wnd, tp->snd_cwnd);
240 * If we retransmit in fast recovery mode, decrement snd_cwnd, since
242 * now, and we previously incremented snd_cwnd in tcp_input().
255 cwin = min(tp->snd_wnd, tp->snd_cwnd) - sack_bytes_rxmt;
372 cwin = tp->snd_cwnd -
1347 tp->snd_cwnd = tp->t_maxseg;
H A Dtcp_var.h134 u_long snd_cwnd; /* congestion-controlled window */ member in struct:tcpcb
136 u_long snd_ssthresh; /* snd_cwnd size threshold for
H A Dtcp_usrreq.c1270 ti->tcpi_snd_cwnd = tp->snd_cwnd;
1976 db_printf("snd_wnd: %lu snd_cwnd: %lu\n",
1977 tp->snd_wnd, tp->snd_cwnd);
H A Dtcp_subr.c802 tp->snd_cwnd = TCP_MAXWIN << TCP_MAX_WINSHIFT;
984 metrics.rmx_cwnd = tp->snd_cwnd;
H A Dtcp_syncache.c889 tp->snd_cwnd = 1;
/freebsd-10.0-release/cddl/lib/libdtrace/
H A Dtcp.d196 tcps_cwnd = p == NULL ? -1 : p->snd_cwnd;
/freebsd-10.0-release/sys/netinet/khelp/
H A Dh_ertt.c164 e_t->marked_snd_cwnd = tp->snd_cwnd;

Completed in 97 milliseconds