Searched refs:target_cwnd (Results 1 – 2 of 2) sorted by relevance
138 u64 target_cwnd; in tcp_veno_cong_avoid() local147 target_cwnd = (u64)tp->snd_cwnd * veno->basertt; in tcp_veno_cong_avoid()148 target_cwnd <<= V_PARAM_SHIFT; in tcp_veno_cong_avoid()149 do_div(target_cwnd, rtt); in tcp_veno_cong_avoid()151 veno->diff = (tp->snd_cwnd << V_PARAM_SHIFT) - target_cwnd; in tcp_veno_cong_avoid()
198 u64 target_cwnd; in tcp_vegas_cong_avoid() local219 target_cwnd = (u64)tp->snd_cwnd * vegas->baseRTT; in tcp_vegas_cong_avoid()220 do_div(target_cwnd, rtt); in tcp_vegas_cong_avoid()240 tp->snd_cwnd = min(tp->snd_cwnd, (u32)target_cwnd+1); in tcp_vegas_cong_avoid()