Searched refs:sndcnt (Results 1 – 2 of 2) sorted by relevance
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | bpf_cc_cubic.c | 71 int sndcnt = 0; in tcp_update_pacing_rate() 83 sndcnt = (__u32)div64_u64(dividend, (__u64)tp->prior_cwnd) - tp->prr_out; in tcp_cwnd_reduction() 85 sndcnt = max(prr_delivered - tp->prr_out, newly_acked_sacked); in tcp_cwnd_reduction() 87 sndcnt++; in tcp_cwnd_reduction() 88 sndcnt = min(delta, sndcnt); in tcp_cwnd_reduction() 91 sndcnt = max(sndcnt, (tp->prr_out ? 0 : 1)); in tcp_cwnd_reduction() 92 tp->snd_cwnd = pkts_in_flight + sndcnt; in tcp_cwnd_reduction() 80 int sndcnt = 0; tcp_cwnd_reduction() local
|
| /linux/net/ipv4/ |
| H A D | tcp_input.c | 2783 int sndcnt = 0; in tcp_cwnd_reduction() local 2795 sndcnt = div_u64(dividend, tp->prior_cwnd) - tp->prr_out; in tcp_cwnd_reduction() 2797 sndcnt = max_t(int, tp->prr_delivered - tp->prr_out, in tcp_cwnd_reduction() 2800 sndcnt++; in tcp_cwnd_reduction() 2801 sndcnt = min(delta, sndcnt); in tcp_cwnd_reduction() 2804 sndcnt = max(sndcnt, (tp->prr_out ? 0 : 1)); in tcp_cwnd_reduction() 2805 tcp_snd_cwnd_set(tp, tcp_packets_in_flight(tp) + sndcnt); in tcp_cwnd_reduction()
|