Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_cc_cubic.c54 if (tp->snd_cwnd < tp->snd_ssthresh / 2) in tcp_update_pacing_rate()
73 int delta = tp->snd_ssthresh - pkts_in_flight; in tcp_cwnd_reduction()
82 (__u64)tp->snd_ssthresh * prr_delivered + tp->prior_cwnd - 1; in tcp_cwnd_reduction()
129 if (tp->snd_ssthresh < TCP_INFINITE_SSTHRESH && in BPF_PROG()
131 tp->snd_cwnd = tp->snd_ssthresh; in BPF_PROG()
H A Dtcp_ca_incompl_cong_ops.c12 return tcp_sk(sk)->snd_ssthresh; in BPF_PROG()
H A 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()
H A Dbpf_cubic.c184 tcp_sk(sk)->snd_ssthresh = initial_ssthresh; in BPF_PROG()
472 tp->snd_ssthresh = tp->snd_cwnd; in hystart_update()
487 tp->snd_ssthresh = tp->snd_cwnd; in hystart_update()
H A 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()
H A Dtcp_ca_update.c33 return tcp_sk(sk)->snd_ssthresh; in BPF_PROG()
H A Dtcp_ca_write_sk_pacing.c47 return tcp_sk(sk)->snd_ssthresh; in BPF_PROG()
H A Dtest_sock_fields.c94 dst->snd_ssthresh = src->snd_ssthresh; in tpcpy()
H A Dbpf_tracing_net.h180 return tp->snd_cwnd < tp->snd_ssthresh; in tcp_in_slow_start()
H A Dbpf_dctcp.c154 tp->snd_ssthresh = max(tp->snd_cwnd >> 1U, 2U); in dctcp_react_to_loss()
/linux/net/ipv4/
H A Dtcp_vegas.c162 return min(tp->snd_ssthresh, tcp_snd_cwnd(tp)); in tcp_vegas_ssthresh()
243 tp->snd_ssthresh = tcp_vegas_ssthresh(tp); in tcp_vegas_cong_avoid()
259 tp->snd_ssthresh in tcp_vegas_cong_avoid()
278 tp->snd_ssthresh = tcp_current_ssthresh(sk); in tcp_vegas_cong_avoid()
H A Dtcp_westwood.c247 tp->snd_ssthresh = tcp_westwood_bw_rttmin(sk); in tcp_westwood_event()
248 tcp_snd_cwnd_set(tp, tp->snd_ssthresh); in tcp_westwood_event()
251 tp->snd_ssthresh = tcp_westwood_bw_rttmin(sk); in tcp_westwood_event()
H A Dtcp_metrics.c427 max(tcp_snd_cwnd(tp) >> 1, tp->snd_ssthresh)); in tcp_update_metrics()
439 (val + tp->snd_ssthresh) >> 1); in tcp_update_metrics()
444 if (val && tp->snd_ssthresh > val) in tcp_update_metrics()
446 tp->snd_ssthresh); in tcp_update_metrics()
476 tp->snd_ssthresh = TCP_INFINITE_SSTHRESH; in tcp_init_metrics()
493 tp->snd_ssthresh = val; in tcp_init_metrics()
494 if (tp->snd_ssthresh > tp->snd_cwnd_clamp) in tcp_init_metrics()
495 tp->snd_ssthresh = tp->snd_cwnd_clamp; in tcp_init_metrics()
H A Dtcp_cubic.c139 tcp_sk(sk)->snd_ssthresh = initial_ssthresh; in cubictcp_init()
426 tp->snd_ssthresh = tcp_snd_cwnd(tp); in hystart_update()
446 tp->snd_ssthresh = tcp_snd_cwnd(tp); in hystart_update()
H A Dbpf_tcp_ca.c97 case offsetof(struct tcp_sock, snd_ssthresh): in bpf_tcp_ca_btf_struct_access()
98 end = offsetofend(struct tcp_sock, snd_ssthresh); in bpf_tcp_ca_btf_struct_access()
H A Dtcp_nv.c384 } else if (tp->snd_ssthresh == TCP_INFINITE_SSTHRESH) { in tcpnv_acked()
399 tp->snd_ssthresh = in tcpnv_acked()
H A Dtcp_cdg.c165 tp->snd_ssthresh = tcp_snd_cwnd(tp); in tcp_cdg_hystart_update()
184 tp->snd_ssthresh = tcp_snd_cwnd(tp); in tcp_cdg_hystart_update()
H A Dtcp_hybla.c162 tcp_snd_cwnd_set(tp, min(tcp_snd_cwnd(tp), tp->snd_ssthresh)); in hybla_cong_avoid()
H A Dtcp_yeah.c150 tp->snd_ssthresh = tcp_snd_cwnd(tp); in tcp_yeah_cong_avoid()
H A Dtcp_bic.c77 tcp_sk(sk)->snd_ssthresh = initial_ssthresh; in bictcp_init()
H A Dtcp_bbr.c899 tcp_sk(sk)->snd_ssthresh = in bbr_check_drain()
1045 tp->snd_ssthresh = TCP_INFINITE_SSTHRESH; in bbr_init()
1104 return tcp_sk(sk)->snd_ssthresh; in bbr_ssthresh()
H A Dtcp_dctcp.c180 tp->snd_ssthresh = max(tcp_snd_cwnd(tp) >> 1U, 2U); in dctcp_react_to_loss()
H A Dtcp_input.c1155 if (tcp_snd_cwnd(tp) < tp->snd_ssthresh / 2) in tcp_update_pacing_rate()
2569 tp->snd_ssthresh = icsk->icsk_ca_ops->ssthresh(sk); in tcp_enter_loss()
2826 tp->snd_ssthresh, tp->prior_ssthresh, in DBGUNDO()
2835 tp->snd_ssthresh, tp->prior_ssthresh, in DBGUNDO()
2861 if (tp->prior_ssthresh > tp->snd_ssthresh) { in tcp_undo_cwnd_reduction()
2862 tp->snd_ssthresh = tp->prior_ssthresh; in tcp_undo_cwnd_reduction()
2980 tp->snd_ssthresh = inet_csk(sk)->icsk_ca_ops->ssthresh(sk); in tcp_init_cwnd_reduction()
2988 int delta = tp->snd_ssthresh - tcp_packets_in_flight(tp); in tcp_cwnd_reduction()
2997 u64 dividend = (u64)tp->snd_ssthresh * tp->prr_delivered + in tcp_cwnd_reduction()
3020 if (tp->snd_ssthresh < TCP_INFINITE_SSTHRESH && in tcp_end_cwnd_reduction()
[all …]
H A Dtcp_cong.c458 u32 cwnd = min(tcp_snd_cwnd(tp) + acked, tp->snd_ssthresh); in tcp_slow_start()
/linux/include/linux/
H A Dtcp.h249 u32 snd_ssthresh; /* Slow start size threshold */ member

12