Home
last modified time | relevance | path

Searched refs:snd_ssthresh (Results 1 – 25 of 30) sorted by relevance

12

/Linux-v5.15/net/ipv4/
Dtcp_vegas.c162 return min(tp->snd_ssthresh, tp->snd_cwnd); in tcp_vegas_ssthresh()
242 tp->snd_ssthresh = tcp_vegas_ssthresh(tp); in tcp_vegas_cong_avoid()
258 tp->snd_ssthresh in tcp_vegas_cong_avoid()
277 tp->snd_ssthresh = tcp_current_ssthresh(sk); in tcp_vegas_cong_avoid()
Dtcp_metrics.c407 max(tp->snd_cwnd >> 1, tp->snd_ssthresh)); in tcp_update_metrics()
419 (val + tp->snd_ssthresh) >> 1); in tcp_update_metrics()
424 if (val && tp->snd_ssthresh > val) in tcp_update_metrics()
426 tp->snd_ssthresh); in tcp_update_metrics()
468 tp->snd_ssthresh = val; in tcp_init_metrics()
469 if (tp->snd_ssthresh > tp->snd_cwnd_clamp) in tcp_init_metrics()
470 tp->snd_ssthresh = tp->snd_cwnd_clamp; in tcp_init_metrics()
475 tp->snd_ssthresh = TCP_INFINITE_SSTHRESH; in tcp_init_metrics()
Dtcp_cubic.c137 tcp_sk(sk)->snd_ssthresh = initial_ssthresh; in cubictcp_init()
419 tp->snd_ssthresh = tp->snd_cwnd; in hystart_update()
439 tp->snd_ssthresh = tp->snd_cwnd; in hystart_update()
Dtcp_westwood.c247 tp->snd_cwnd = tp->snd_ssthresh = tcp_westwood_bw_rttmin(sk); in tcp_westwood_event()
250 tp->snd_ssthresh = tcp_westwood_bw_rttmin(sk); in tcp_westwood_event()
Dbpf_tcp_ca.c131 case offsetof(struct tcp_sock, snd_ssthresh): in bpf_tcp_ca_btf_struct_access()
132 end = offsetofend(struct tcp_sock, snd_ssthresh); in bpf_tcp_ca_btf_struct_access()
Dtcp_nv.c385 } else if (tp->snd_ssthresh == TCP_INFINITE_SSTHRESH) { in tcpnv_acked()
400 tp->snd_ssthresh = in tcpnv_acked()
Dtcp_cdg.c165 tp->snd_ssthresh = tp->snd_cwnd; in tcp_cdg_hystart_update()
184 tp->snd_ssthresh = tp->snd_cwnd; in tcp_cdg_hystart_update()
Dtcp_hybla.c162 tp->snd_cwnd = min(tp->snd_cwnd, tp->snd_ssthresh); in hybla_cong_avoid()
Dtcp_yeah.c150 tp->snd_ssthresh = tp->snd_cwnd; in tcp_yeah_cong_avoid()
Dtcp_bic.c77 tcp_sk(sk)->snd_ssthresh = initial_ssthresh; in bictcp_init()
Dtcp_dctcp.c150 tp->snd_ssthresh = max(tp->snd_cwnd >> 1U, 2U); in dctcp_react_to_loss()
Dtcp_bbr.c896 tcp_sk(sk)->snd_ssthresh = in bbr_check_drain()
1042 tp->snd_ssthresh = TCP_INFINITE_SSTHRESH; in bbr_init()
1101 return tcp_sk(sk)->snd_ssthresh; in bbr_ssthresh()
Dtcp_input.c904 if (tp->snd_cwnd < tp->snd_ssthresh / 2) in tcp_update_pacing_rate()
2141 tp->snd_ssthresh = icsk->icsk_ca_ops->ssthresh(sk); in tcp_enter_loss()
2452 tp->snd_ssthresh, tp->prior_ssthresh, in DBGUNDO()
2461 tp->snd_ssthresh, tp->prior_ssthresh, in DBGUNDO()
2487 if (tp->prior_ssthresh > tp->snd_ssthresh) { in tcp_undo_cwnd_reduction()
2488 tp->snd_ssthresh = tp->prior_ssthresh; in tcp_undo_cwnd_reduction()
2595 tp->snd_ssthresh = inet_csk(sk)->icsk_ca_ops->ssthresh(sk); in tcp_init_cwnd_reduction()
2603 int delta = tp->snd_ssthresh - tcp_packets_in_flight(tp); in tcp_cwnd_reduction()
2610 u64 dividend = (u64)tp->snd_ssthresh * tp->prr_delivered + in tcp_cwnd_reduction()
2633 if (tp->snd_ssthresh < TCP_INFINITE_SSTHRESH && in tcp_end_cwnd_reduction()
[all …]
Dtcp_cong.c398 u32 cwnd = min(tp->snd_cwnd + acked, tp->snd_ssthresh); in tcp_slow_start()
/Linux-v5.15/tools/testing/selftests/bpf/
Dbpf_tcp_helpers.h71 __u32 snd_ssthresh; member
197 return tp->snd_cwnd < tp->snd_ssthresh; in tcp_in_slow_start()
/Linux-v5.15/tools/testing/selftests/bpf/progs/
Dbpf_iter_tcp4.c71 return tcp->snd_ssthresh >= TCP_INFINITE_SSTHRESH; in tcp_in_initial_slowstart()
141 : (tcp_in_initial_slowstart(tp) ? -1 : tp->snd_ssthresh) in dump_tcp_sock()
Dbpf_cubic.c188 tcp_sk(sk)->snd_ssthresh = initial_ssthresh; in BPF_PROG()
478 tp->snd_ssthresh = tp->snd_cwnd; in hystart_update()
493 tp->snd_ssthresh = tp->snd_cwnd; in hystart_update()
Dtest_sock_fields.c90 dst->snd_ssthresh = src->snd_ssthresh; in tpcpy()
Dbpf_iter_tcp6.c71 return tcp->snd_ssthresh >= TCP_INFINITE_SSTHRESH; in tcp_in_initial_slowstart()
146 : tp->tcp.snd_ssthresh) in dump_tcp6_sock()
Dbpf_dctcp.c144 tp->snd_ssthresh = max(tp->snd_cwnd >> 1U, 2U); in dctcp_react_to_loss()
/Linux-v5.15/include/linux/
Dtcp.h285 u32 snd_ssthresh; /* Slow start size threshold */ member
/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/
Dsock_fields.c82 tp->snd_cwnd, tp->srtt_us, tp->rtt_min, tp->snd_ssthresh, in print_tp()
/Linux-v5.15/include/uapi/linux/
Dbpf.h5361 __u32 snd_ssthresh; /* Slow start size threshold */ member
5701 __u32 snd_ssthresh; member
/Linux-v5.15/tools/include/uapi/linux/
Dbpf.h5361 __u32 snd_ssthresh; /* Slow start size threshold */ member
5701 __u32 snd_ssthresh; member
/Linux-v5.15/include/net/
Dtcp.h1207 return tp->snd_cwnd < tp->snd_ssthresh; in tcp_in_slow_start()
1212 return tp->snd_ssthresh >= TCP_INFINITE_SSTHRESH; in tcp_in_initial_slowstart()
1230 return tp->snd_ssthresh; in tcp_current_ssthresh()
1232 return max(tp->snd_ssthresh, in tcp_current_ssthresh()

12