Home
last modified time | relevance | path

Searched refs:decr (Results 1 – 2 of 2) sorted by relevance

/net/ipv4/
Dtcp_illinois.c299 u32 decr; in tcp_illinois_ssthresh() local
302 decr = (tcp_snd_cwnd(tp) * ca->beta) >> BETA_SHIFT; in tcp_illinois_ssthresh()
303 return max(tcp_snd_cwnd(tp) - decr, 2U); in tcp_illinois_ssthresh()
Dtcp_output.c1459 static void tcp_adjust_pcount(struct sock *sk, const struct sk_buff *skb, int decr) in tcp_adjust_pcount() argument
1463 tp->packets_out -= decr; in tcp_adjust_pcount()
1466 tp->sacked_out -= decr; in tcp_adjust_pcount()
1468 tp->retrans_out -= decr; in tcp_adjust_pcount()
1470 tp->lost_out -= decr; in tcp_adjust_pcount()
1473 if (tcp_is_reno(tp) && decr > 0) in tcp_adjust_pcount()
1474 tp->sacked_out -= min_t(u32, tp->sacked_out, decr); in tcp_adjust_pcount()
1479 tp->lost_cnt_hint -= decr; in tcp_adjust_pcount()