Home
last modified time | relevance | path

Searched refs:snd_cwnd_cnt (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.10/tools/testing/selftests/bpf/
Dbpf_tcp_helpers.h63 __u32 snd_cwnd_cnt; member
217 if (tp->snd_cwnd_cnt >= w) { in tcp_cong_avoid_ai()
218 tp->snd_cwnd_cnt = 0; in tcp_cong_avoid_ai()
222 tp->snd_cwnd_cnt += acked; in tcp_cong_avoid_ai()
223 if (tp->snd_cwnd_cnt >= w) { in tcp_cong_avoid_ai()
224 __u32 delta = tp->snd_cwnd_cnt / w; in tcp_cong_avoid_ai()
226 tp->snd_cwnd_cnt -= delta * w; in tcp_cong_avoid_ai()
/Linux-v5.10/net/ipv4/
Dtcp_hybla.c142 tp->snd_cwnd_cnt++; in hybla_cong_avoid()
153 tp->snd_cwnd_cnt = 0; in hybla_cong_avoid()
156 if (increment == 0 && odd == 0 && tp->snd_cwnd_cnt >= tp->snd_cwnd) { in hybla_cong_avoid()
158 tp->snd_cwnd_cnt = 0; in hybla_cong_avoid()
Dtcp_highspeed.c142 tp->snd_cwnd_cnt += ca->ai + 1; in hstcp_cong_avoid()
143 if (tp->snd_cwnd_cnt >= tp->snd_cwnd) { in hstcp_cong_avoid()
144 tp->snd_cwnd_cnt -= tp->snd_cwnd; in hstcp_cong_avoid()
Dtcp_cong.c409 if (tp->snd_cwnd_cnt >= w) { in tcp_cong_avoid_ai()
410 tp->snd_cwnd_cnt = 0; in tcp_cong_avoid_ai()
414 tp->snd_cwnd_cnt += acked; in tcp_cong_avoid_ai()
415 if (tp->snd_cwnd_cnt >= w) { in tcp_cong_avoid_ai()
416 u32 delta = tp->snd_cwnd_cnt / w; in tcp_cong_avoid_ai()
418 tp->snd_cwnd_cnt -= delta * w; in tcp_cong_avoid_ai()
Dtcp_veno.c172 if (tp->snd_cwnd_cnt >= tp->snd_cwnd) { in tcp_veno_cong_avoid()
179 tp->snd_cwnd_cnt = 0; in tcp_veno_cong_avoid()
181 tp->snd_cwnd_cnt += acked; in tcp_veno_cong_avoid()
Dtcp_illinois.c280 tp->snd_cwnd_cnt += ca->acked; in tcp_illinois_cong_avoid()
286 delta = (tp->snd_cwnd_cnt * ca->alpha) >> ALPHA_SHIFT; in tcp_illinois_cong_avoid()
290 tp->snd_cwnd_cnt = 0; in tcp_illinois_cong_avoid()
Dtcp_htcp.c245 if ((tp->snd_cwnd_cnt * ca->alpha)>>7 >= tp->snd_cwnd) { in htcp_cong_avoid()
248 tp->snd_cwnd_cnt = 0; in htcp_cong_avoid()
251 tp->snd_cwnd_cnt += ca->pkts_acked; in htcp_cong_avoid()
Dbpf_tcp_ca.c123 case offsetof(struct tcp_sock, snd_cwnd_cnt): in bpf_tcp_ca_btf_struct_access()
124 end = offsetofend(struct tcp_sock, snd_cwnd_cnt); in bpf_tcp_ca_btf_struct_access()
Dtcp_input.c2114 tp->snd_cwnd_cnt = 0; in tcp_enter_loss()
2559 tp->snd_cwnd_cnt = 0; in tcp_init_cwnd_reduction()
2674 tp->snd_cwnd_cnt = 0; in tcp_mtup_probe_success()
Dtcp.c2693 tp->snd_cwnd_cnt = 0; in tcp_disconnect()
/Linux-v5.10/include/linux/
Dtcp.h287 u32 snd_cwnd_cnt; /* Linear increase counter */ member