Searched refs:sndcnt (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | tcp_input.c | 2621 * It computes the number of packets to send (sndcnt) based on packets newly 2646 int sndcnt = 0; in tcp_cwnd_reduction() local 2656 sndcnt = div_u64(dividend, tp->prior_cwnd) - tp->prr_out; in tcp_cwnd_reduction() 2658 sndcnt = max_t(int, tp->prr_delivered - tp->prr_out, in tcp_cwnd_reduction() 2661 sndcnt++; in tcp_cwnd_reduction() 2662 sndcnt = min(delta, sndcnt); in tcp_cwnd_reduction() 2665 sndcnt = max(sndcnt, (tp->prr_out ? 0 : 1)); in tcp_cwnd_reduction() 2666 tcp_snd_cwnd_set(tp, tcp_packets_in_flight(tp) + sndcnt); in tcp_cwnd_reduction() [all...] |
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | tcp_input.c | 2602 * It computes the number of packets to send (sndcnt) based on packets newly 2627 int sndcnt = 0; in tcp_cwnd_reduction() local 2637 sndcnt = div_u64(dividend, tp->prior_cwnd) - tp->prr_out; in tcp_cwnd_reduction() 2640 sndcnt = min_t(int, delta, in tcp_cwnd_reduction() 2644 sndcnt = min(delta, newly_acked_sacked); in tcp_cwnd_reduction() 2647 sndcnt = max(sndcnt, (tp->prr_out ? 0 : 1)); in tcp_cwnd_reduction() 2648 tp->snd_cwnd = tcp_packets_in_flight(tp) + sndcnt; in tcp_cwnd_reduction()
|
Completed in 24 milliseconds