Searched refs:cwnd (Results 1 - 21 of 21) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv4/
H A Dtcp_bic.c52 u32 cnt; /* increase cwnd by 1 after ACKs */
83 static inline void bictcp_update(struct bictcp *ca, u32 cwnd) argument
85 if (ca->last_cwnd == cwnd &&
89 ca->last_cwnd = cwnd;
96 if (cwnd <= low_window) {
97 ca->cnt = cwnd;
102 if (cwnd < ca->last_max_cwnd) {
103 __u32 dist = (ca->last_max_cwnd - cwnd)
108 ca->cnt = cwnd / max_increment;
111 ca->cnt = (cwnd * smooth_par
[all...]
H A Dtcp_highspeed.c17 unsigned int cwnd; member in struct:hstcp_aimd_val
108 * since I don't think we will see a cwnd this large. :) */
126 * hstcp_aimd_vals[ca->ai-1].cwnd <
128 * hstcp_aimd_vals[ca->ai].cwnd
130 if (tp->snd_cwnd > hstcp_aimd_vals[ca->ai].cwnd) {
131 while (tp->snd_cwnd > hstcp_aimd_vals[ca->ai].cwnd &&
134 } else if (ca->ai && tp->snd_cwnd <= hstcp_aimd_vals[ca->ai-1].cwnd) {
135 while (ca->ai && tp->snd_cwnd <= hstcp_aimd_vals[ca->ai-1].cwnd)
141 /* cwnd = cwnd
[all...]
H A Dtcp_cubic.c77 MODULE_PARM_DESC(hystart_low_window, "lower bound cwnd for hybrid slow start");
81 u32 cnt; /* increase cwnd by 1 after ACKs */
91 u32 tcp_cwnd; /* estimated tcp cwnd */
192 static inline void bictcp_update(struct bictcp *ca, u32 cwnd) argument
199 if (ca->last_cwnd == cwnd &&
203 ca->last_cwnd = cwnd;
209 ca->tcp_cwnd = cwnd; /* syn with cubic */
211 if (ca->last_max_cwnd <= cwnd) {
213 ca->bic_origin_point = cwnd;
216 * (wmax-cwnd) * (srt
[all...]
H A Dtcp_output.c134 * This is the first part of cwnd validation mechanism. */
140 u32 cwnd = tp->snd_cwnd; local
145 restart_cwnd = min(restart_cwnd, cwnd);
147 while ((delta -= inet_csk(sk)->icsk_rto) > 0 && cwnd > restart_cwnd)
148 cwnd >>= 1;
149 tp->snd_cwnd = max(cwnd, restart_cwnd);
1311 unsigned int mss_now, unsigned int cwnd)
1317 cwnd_len = mss_now * cwnd;
1336 u32 in_flight, cwnd; local
1343 cwnd
1310 tcp_mss_split_point(struct sock *sk, struct sk_buff *skb, unsigned int mss_now, unsigned int cwnd) argument
[all...]
H A Dtcp_input.c695 * to do with delayed acks, because at cwnd>2 true delack timeout
786 /* Cong. avoidance phase, cwnd is reliable. */
793 /* Else slow start did not finish, cwnd is non-sense,
823 __u32 cwnd = (dst ? dst_metric(dst, RTAX_INITCWND) : 0); local
825 if (!cwnd) {
827 cwnd = 2;
829 cwnd = (tp->mss_cache > 1095) ? 3 : 4;
831 return min_t(__u32, cwnd, tp->snd_cwnd_clamp);
834 /* Set slow start threshold and cwnd not falling to slow start */
932 cwnd
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/sctp/
H A Dtransport.c381 /* This routine updates the transport's cwnd and partial_bytes_acked
388 __u32 cwnd, ssthresh, flight_size, pba, pmtu; local
390 cwnd = transport->cwnd;
398 /* The appropriate cwnd increase algorithm is performed if, and only
403 (flight_size < cwnd))
410 if (cwnd <= ssthresh) {
412 * o When cwnd is less than or equal to ssthresh, an SCTP
414 * cwnd only if the current congestion window is being fully
417 * Only when these three conditions are met can the cwnd b
[all...]
H A Dprobe.c52 MODULE_PARM_DESC(full, "Full log (1=every ack packet received, 0=only cwnd changes)");
134 if ((full || sp->cwnd != lcwnd) &&
137 lcwnd = sp->cwnd;
160 sp->state, sp->cwnd, sp->ssthresh,
H A Doutqueue.c466 "cwnd: %d, ssthresh: %d, flight_size: %d, "
469 transport->cwnd, transport->ssthresh,
894 * current cwnd).
1713 SCTP_DEBUG_PRINTK("%s: transport: %p, cwnd: %d, "
1715 __func__, transport, transport->cwnd,
H A Doutput.c613 * the receiver if allowed by cwnd (see rule B below). This rule
638 * to a given transport address if it has cwnd or more bytes
645 * ignore the value of cwnd and SHOULD NOT delay retransmission.
648 if (flight_size >= transport->cwnd) {
H A Dassociola.c726 * o The initial cwnd before DATA transmission or after a sufficiently
734 peer->cwnd = min(4*asoc->pathmtu, max_t(__u32, 2*asoc->pathmtu, 4380));
H A Dsocket.c3769 status.sstat_primary.spinfo_cwnd = transport->cwnd;
3829 pinfo.spinfo_cwnd = transport->cwnd;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/sunrpc/
H A Dxprt.c77 * halved; otherwise, it is incremented by 1/cwnd when
88 #define RPCXPRT_CONGESTED(xprt) ((xprt)->cong >= (xprt)->cwnd)
391 dprintk("RPC: %5u xprt_cwnd_limited cong = %lu cwnd = %lu\n",
392 task->tk_pid, xprt->cong, xprt->cwnd);
437 unsigned long cwnd = xprt->cwnd; local
439 if (result >= 0 && cwnd <= xprt->cong) {
440 /* The (cwnd >> 1) term makes sure
442 cwnd += (RPC_CWNDSCALE * RPC_CWNDSCALE + (cwnd >>
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/nes/
H A Dnes_context.h65 __le32 cwnd; member in struct:nes_qp_context
H A Dnes_cm.c2492 nesqp->nesqp_context->cwnd = cpu_to_le32(2*cm_node->tcp_cntxt.mss);
2505 nes_debug(NES_DBG_CM, " snd_cwnd = 0x%08X.\n", le32_to_cpu(nesqp->nesqp_context->cwnd));
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/sunrpc/
H A Dxprt.h158 unsigned long cwnd; /* congestion window */ member in struct:rpc_xprt
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/sunrpc/xprtrdma/
H A Dtransport.c476 r_xprt->rx_buf.rb_cwndscale = xprt->cwnd;
481 xprt->cwnd = credits * r_xprt->rx_buf.rb_cwndscale;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iproute2/misc/
H A Dss.c385 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-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/sctp/
H A Dstructs.h935 /* cwnd : The current congestion window. */
936 __u32 cwnd; /* This is the actual cwnd. */ member in struct:sctp_transport
941 /* partial : The tracking method for increase of cwnd when in
949 __u32 burst_limited; /* Holds old cwnd when max.burst is applied */
970 /* Last time(in jiffies) when cwnd is reduced due to the congestion
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/
H A Dcnic_defs.h829 u32 cwnd; member in struct:tstorm_tcp_st_context_section
H A Dcnic.c1527 ictx->tstorm_st_context.tcp.cwnd = 0x5A8;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iproute2/doc/
H A Dip-cref.tex1303 \item \verb|cwnd NUMBER|

Completed in 285 milliseconds