Home
last modified time | relevance | path

Searched refs:snd_cwnd_cnt (Results 1 - 23 of 23) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A 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()
/kernel/linux/linux-5.10/net/ipv4/
H A 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()
H A 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()
H A 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()
H A Dtcp_cong.c413 if (tp->snd_cwnd_cnt >= w) { in tcp_cong_avoid_ai()
414 tp->snd_cwnd_cnt = 0; in tcp_cong_avoid_ai()
418 tp->snd_cwnd_cnt += acked; in tcp_cong_avoid_ai()
419 if (tp->snd_cwnd_cnt >= w) { in tcp_cong_avoid_ai()
420 u32 delta = tp->snd_cwnd_cnt / w; in tcp_cong_avoid_ai()
422 tp->snd_cwnd_cnt -= delta * w; in tcp_cong_avoid_ai()
H A Dtcp_illinois.c279 /* snd_cwnd_cnt is # of packets since last cwnd increment */ in tcp_illinois_cong_avoid()
280 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()
H A 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()
H A 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()
H A Dtcp_input.c2156 tp->snd_cwnd_cnt = 0; in tcp_enter_loss()
2616 tp->snd_cwnd_cnt = 0; in tcp_init_cwnd_reduction()
2734 tp->snd_cwnd_cnt = 0; in tcp_mtup_probe_success()
H A Dtcp.c2867 tp->snd_cwnd_cnt = 0; in tcp_disconnect()
/kernel/linux/linux-6.6/net/ipv4/
H A 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 >= tcp_snd_cwnd(tp)) { in hybla_cong_avoid()
158 tp->snd_cwnd_cnt = 0; in hybla_cong_avoid()
H A Dtcp_highspeed.c142 tp->snd_cwnd_cnt += ca->ai + 1; in hstcp_cong_avoid()
143 if (tp->snd_cwnd_cnt >= tcp_snd_cwnd(tp)) { in hstcp_cong_avoid()
144 tp->snd_cwnd_cnt -= tcp_snd_cwnd(tp); in hstcp_cong_avoid()
H A Dtcp_veno.c172 if (tp->snd_cwnd_cnt >= tcp_snd_cwnd(tp)) { 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()
H A Dtcp_cong.c475 if (tp->snd_cwnd_cnt >= w) { in tcp_cong_avoid_ai()
476 tp->snd_cwnd_cnt = 0; in tcp_cong_avoid_ai()
480 tp->snd_cwnd_cnt += acked; in tcp_cong_avoid_ai()
481 if (tp->snd_cwnd_cnt >= w) { in tcp_cong_avoid_ai()
482 u32 delta = tp->snd_cwnd_cnt / w; in tcp_cong_avoid_ai()
484 tp->snd_cwnd_cnt -= delta * w; in tcp_cong_avoid_ai()
H A Dtcp_illinois.c279 /* snd_cwnd_cnt is # of packets since last cwnd increment */ in tcp_illinois_cong_avoid()
280 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()
H A Dtcp_htcp.c245 if ((tp->snd_cwnd_cnt * ca->alpha)>>7 >= tcp_snd_cwnd(tp)) { 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()
H A Dbpf_tcp_ca.c101 case offsetof(struct tcp_sock, snd_cwnd_cnt): in bpf_tcp_ca_btf_struct_access()
102 end = offsetofend(struct tcp_sock, snd_cwnd_cnt); in bpf_tcp_ca_btf_struct_access()
H A Dtcp_input.c2175 tp->snd_cwnd_cnt = 0; in tcp_enter_loss()
2635 tp->snd_cwnd_cnt = 0; in tcp_init_cwnd_reduction()
2752 tp->snd_cwnd_cnt = 0; in tcp_mtup_probe_success()
H A Dtcp.c3038 tp->snd_cwnd_cnt = 0; in tcp_disconnect()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dbpf_tcp_helpers.h73 __u32 snd_cwnd_cnt; member
/kernel/linux/linux-5.10/include/linux/
H A Dtcp.h287 u32 snd_cwnd_cnt; /* Linear increase counter */ member
/kernel/linux/linux-6.6/include/linux/
H A Dtcp.h319 u32 snd_cwnd_cnt; /* Linear increase counter */ member
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
H A Dtcp_nip.c2199 tp->snd_cwnd_cnt = 0; in tcp_nip_disconnect()

Completed in 40 milliseconds