Searched refs:sndcnt (Results 1 – 2 of 2) sorted by relevance
/linux/tools/testing/selftests/bpf/progs/ |
H A D | bpf_cc_cubic.c | 80 int sndcnt = 0; in tcp_cwnd_reduction() local 92 sndcnt = (__u32)div64_u64(dividend, (__u64)tp->prior_cwnd) - tp->prr_out; in tcp_cwnd_reduction() 94 sndcnt = max(prr_delivered - tp->prr_out, newly_acked_sacked); in tcp_cwnd_reduction() 96 sndcnt++; in tcp_cwnd_reduction() 97 sndcnt = min(delta, sndcnt); in tcp_cwnd_reduction() 100 sndcnt = max(sndcnt, (tp->prr_out ? 0 : 1)); in tcp_cwnd_reduction() 101 tp->snd_cwnd = pkts_in_flight + sndcnt; in tcp_cwnd_reduction()
|
/linux/net/ipv4/ |
H A D | tcp_input.c | 2707 int sndcnt = 0; in tcp_cwnd_reduction() local 2717 sndcnt = div_u64(dividend, tp->prior_cwnd) - tp->prr_out; in tcp_cwnd_reduction() 2719 sndcnt = max_t(int, tp->prr_delivered - tp->prr_out, in tcp_cwnd_reduction() 2722 sndcnt++; in tcp_cwnd_reduction() 2723 sndcnt = min(delta, sndcnt); in tcp_cwnd_reduction() 2726 sndcnt = max(sndcnt, (tp->prr_out ? 0 : 1)); in tcp_cwnd_reduction() 2727 tcp_snd_cwnd_set(tp, tcp_packets_in_flight(tp) + sndcnt); in tcp_cwnd_reduction()
|