/freebsd-10.0-release/sys/netinet/cc/ |
H A D | cc_cubic.c | 132 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 D | cc_newreno.c | 89 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 D | cc_htcp.c | 204 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 D | cc_vegas.c | 145 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 D | cc_chd.c | 148 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 D | cc_cdg.c | 324 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 D | tcp_input.c | 294 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 D | siftr.c | 188 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 D | tcp_sack.c | 565 * 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 D | tcp_timer.c | 563 tp->snd_cwnd = 1; 574 tp->snd_cwnd_prev = tp->snd_cwnd;
|
H A D | tcp_output.c | 234 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 D | tcp_var.h | 134 u_long snd_cwnd; /* congestion-controlled window */ member in struct:tcpcb 136 u_long snd_ssthresh; /* snd_cwnd size threshold for
|
H A D | tcp_usrreq.c | 1270 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 D | tcp_subr.c | 802 tp->snd_cwnd = TCP_MAXWIN << TCP_MAX_WINSHIFT; 984 metrics.rmx_cwnd = tp->snd_cwnd;
|
H A D | tcp_syncache.c | 889 tp->snd_cwnd = 1;
|
/freebsd-10.0-release/cddl/lib/libdtrace/ |
H A D | tcp.d | 196 tcps_cwnd = p == NULL ? -1 : p->snd_cwnd;
|
/freebsd-10.0-release/sys/netinet/khelp/ |
H A D | h_ertt.c | 164 e_t->marked_snd_cwnd = tp->snd_cwnd;
|