/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/ |
H A D | tcp_bic.c | 51 u32 cnt; /* increase cwnd by 1 after ACKs */ 82 static inline void bictcp_update(struct bictcp *ca, u32 cwnd) argument 84 if (ca->last_cwnd == cwnd && 88 ca->last_cwnd = cwnd; 95 if (cwnd <= low_window) { 96 ca->cnt = cwnd; 101 if (cwnd < ca->last_max_cwnd) { 102 __u32 dist = (ca->last_max_cwnd - cwnd) 107 ca->cnt = cwnd / max_increment; 110 ca->cnt = (cwnd * smooth_par [all...] |
H A D | tcp_cubic.c | 56 u32 cnt; /* increase cwnd by 1 after ACKs */ 66 u32 tcp_cwnd; /* estimated tcp cwnd */ 145 static inline void bictcp_update(struct bictcp *ca, u32 cwnd) argument 152 if (ca->last_cwnd == cwnd && 156 ca->last_cwnd = cwnd; 162 ca->tcp_cwnd = cwnd; /* syn with cubic */ 164 if (ca->last_max_cwnd <= cwnd) { 166 ca->bic_origin_point = cwnd; 169 * (wmax-cwnd) * (srtt>>3 / HZ) / c * 2^(3*bictcp_HZ) 172 * (ca->last_max_cwnd - cwnd)); [all...] |
H A D | tcp_highspeed.c | 17 unsigned int cwnd; member in struct:hstcp_aimd_val 108 * since I don't think we will see a cwnd this large. :) */ 127 * hstcp_aimd_vals[ca->ai-1].cwnd < 129 * hstcp_aimd_vals[ca->ai].cwnd 131 if (tp->snd_cwnd > hstcp_aimd_vals[ca->ai].cwnd) { 132 while (tp->snd_cwnd > hstcp_aimd_vals[ca->ai].cwnd && 135 } else if (ca->ai && tp->snd_cwnd <= hstcp_aimd_vals[ca->ai-1].cwnd) { 136 while (ca->ai && tp->snd_cwnd <= hstcp_aimd_vals[ca->ai-1].cwnd) 142 /* cwnd = cwnd [all...] |
H A D | tcp_output.c | 118 * This is the first part of cwnd validation mechanism. */ 124 u32 cwnd = tp->snd_cwnd; local 129 restart_cwnd = min(restart_cwnd, cwnd); 131 while ((delta -= inet_csk(sk)->icsk_rto) > 0 && cwnd > restart_cwnd) 132 cwnd >>= 1; 133 tp->snd_cwnd = max(cwnd, restart_cwnd); 952 static unsigned int tcp_window_allows(struct tcp_sock *tp, struct sk_buff *skb, unsigned int mss_now, unsigned int cwnd) argument 957 cwnd_len = mss_now * cwnd; 966 u32 in_flight, cwnd; local 974 cwnd [all...] |
H A D | tcp_input.c | 639 * to do with delayed acks, because at cwnd>2 true delack timeout 729 /* Cong. avoidance phase, cwnd is reliable. */ 736 /* Else slow start did not finish, cwnd is non-sense, 758 __u32 cwnd = (dst ? dst_metric(dst, RTAX_INITCWND) : 0); local 760 if (!cwnd) { 762 cwnd = 2; 764 cwnd = (tp->mss_cache > 1095) ? 3 : 4; 766 return min_t(__u32, cwnd, tp->snd_cwnd_clamp); 769 /* Set slow start threshold and cwnd not falling to slow start */ 1324 /* Our state is too optimistic in ssthresh() call because cwnd [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sctp/ |
H A D | transport.c | 399 /* This routine updates the transport's cwnd and partial_bytes_acked 405 __u32 cwnd, ssthresh, flight_size, pba, pmtu; local 407 cwnd = transport->cwnd; 410 /* The appropriate cwnd increase algorithm is performed if, and only 415 (flight_size < cwnd)) 422 if (cwnd <= ssthresh) { 423 /* RFC 2960 7.2.1, sctpimpguide-05 2.14.2 When cwnd is less 425 * slow start algorithm to increase cwnd only if the current 428 * two conditions are met can the cwnd b [all...] |
H A D | output.c | 263 * long as we have the cwnd for it). 266 /* DATA is a special case since we must examine both rwnd and cwnd 555 * the receiver if allowed by cwnd (see rule B below). This rule 580 * The limit is applied by adjusting cwnd as follows: 581 * if ((flightsize + Max.Burst * MTU) < cwnd) 582 * cwnd = flightsize + Max.Burst * MTU 585 if ((transport->flight_size + max_burst_bytes) < transport->cwnd) { 586 transport->cwnd = transport->flight_size + max_burst_bytes; 587 SCTP_DEBUG_PRINTK("%s: cwnd limited by max_burst: " 588 "transport: %p, cwnd [all...] |
H A D | outqueue.c | 464 "cwnd: %d, ssthresh: %d, flight_size: %d, " 467 transport->cwnd, transport->ssthresh, 805 * current cwnd). 1612 SCTP_DEBUG_PRINTK("%s: transport: %p, cwnd: %d, " 1614 __FUNCTION__, transport, transport->cwnd,
|
H A D | associola.c | 618 * o The initial cwnd before DATA transmission or after a sufficiently 626 peer->cwnd = min(4*asoc->pathmtu, max_t(__u32, 2*asoc->pathmtu, 4380));
|
H A D | socket.c | 3346 status.sstat_primary.spinfo_cwnd = transport->cwnd; 3406 pinfo.spinfo_cwnd = transport->cwnd;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sunrpc/ |
H A D | xprt.c | 70 * halved; otherwise, it is incremented by 1/cwnd when 81 #define RPCXPRT_CONGESTED(xprt) ((xprt)->cong >= (xprt)->cwnd) 284 dprintk("RPC: %5u xprt_cwnd_limited cong = %lu cwnd = %lu\n", 285 task->tk_pid, xprt->cong, xprt->cwnd); 329 unsigned long cwnd = xprt->cwnd; local 331 if (result >= 0 && cwnd <= xprt->cong) { 332 /* The (cwnd >> 1) term makes sure 334 cwnd += (RPC_CWNDSCALE * RPC_CWNDSCALE + (cwnd >> [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/sunrpc/ |
H A D | xprt.h | 137 unsigned long cwnd; /* congestion window */ member in struct:rpc_xprt
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/misc/ |
H A D | ss.c | 385 int rto, ato, qack, cwnd, ssthresh; member in struct:tcpstat 1164 &s.cwnd, &s.ssthresh, opt); 1171 s.cwnd = 2; 1201 if (s.cwnd != 2) 1202 printf(" cwnd:%d", s.cwnd); 1358 printf(" cwnd:%d", info->tcpi_snd_cwnd);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/sctp/ |
H A D | structs.h | 866 /* cwnd : The current congestion window. */ 867 __u32 cwnd; /* This is the actual cwnd. */ member in struct:sctp_transport 872 /* partial : The tracking method for increase of cwnd when in 886 * this transport? This is used to adjust the cwnd when the transport 904 /* Last time(in jiffies) when cwnd is reduced due to the congestion
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/doc/ |
H A D | ip-cref.tex | 1303 \item \verb|cwnd NUMBER|
|