/kernel/linux/linux-5.10/net/ipv4/ |
H A D | tcp_vegas.c | 162 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()
|
H A D | bpf_tcp_ca.c | 126 case offsetof(struct tcp_sock, snd_ssthresh): in bpf_tcp_ca_btf_struct_access() 127 end = offsetofend(struct tcp_sock, snd_ssthresh); in bpf_tcp_ca_btf_struct_access()
|
H A D | tcp_westwood.c | 247 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()
|
H A D | tcp_metrics.c | 427 max(tp->snd_cwnd >> 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 D | tcp_cubic.c | 146 tcp_sk(sk)->snd_ssthresh = initial_ssthresh; in bictcp_init() 429 tp->snd_ssthresh = tp->snd_cwnd; in hystart_update() 449 tp->snd_ssthresh = tp->snd_cwnd; in hystart_update()
|
H A D | tcp_yeah.c | 150 tp->snd_ssthresh = tp->snd_cwnd; in tcp_yeah_cong_avoid()
|
H A D | tcp_bic.c | 77 tcp_sk(sk)->snd_ssthresh = initial_ssthresh; in bictcp_init()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | tcp_vegas.c | 162 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 D | tcp_westwood.c | 247 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 D | bpf_tcp_ca.c | 104 case offsetof(struct tcp_sock, snd_ssthresh): in bpf_tcp_ca_btf_struct_access() 105 end = offsetofend(struct tcp_sock, snd_ssthresh); in bpf_tcp_ca_btf_struct_access()
|
H A D | tcp_metrics.c | 427 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 D | tcp_cubic.c | 139 tcp_sk(sk)->snd_ssthresh = initial_ssthresh; in cubictcp_init() 422 tp->snd_ssthresh = tcp_snd_cwnd(tp); in hystart_update() 442 tp->snd_ssthresh = tcp_snd_cwnd(tp); in hystart_update()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | bpf_tcp_helpers.h | 65 __u32 snd_ssthresh; member 190 __u32 cwnd = min(tp->snd_cwnd + acked, tp->snd_ssthresh); in tcp_slow_start() 200 return tp->snd_cwnd < tp->snd_ssthresh; in tcp_in_slow_start()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | tcp_ca_incompl_cong_ops.c | 18 return tcp_sk(sk)->snd_ssthresh; in BPF_PROG()
|
H A D | bpf_iter_tcp4.c | 71 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 D | tcp_ca_update.c | 39 return tcp_sk(sk)->snd_ssthresh; in BPF_PROG()
|
H A D | tcp_ca_write_sk_pacing.c | 55 return tcp_sk(sk)->snd_ssthresh; in BPF_PROG()
|
H A D | bpf_cubic.c | 184 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 D | bpf_iter_tcp6.c | 71 return tcp->snd_ssthresh >= TCP_INFINITE_SSTHRESH; in tcp_in_initial_slowstart() 146 : tp->tcp.snd_ssthresh) in dump_tcp6_sock()
|
H A D | test_sock_fields.c | 91 dst->snd_ssthresh = src->snd_ssthresh; in tpcpy()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | bpf_iter_tcp4.c | 72 return tcp->snd_ssthresh >= TCP_INFINITE_SSTHRESH; in tcp_in_initial_slowstart() 142 : (tcp_in_initial_slowstart(tp) ? -1 : tp->snd_ssthresh) in dump_tcp_sock()
|
H A D | bpf_cubic.c | 188 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()
|
H A D | bpf_iter_tcp6.c | 72 return tcp->snd_ssthresh >= TCP_INFINITE_SSTHRESH; in tcp_in_initial_slowstart() 147 : tp->tcp.snd_ssthresh) in dump_tcp6_sock()
|
H A D | test_sock_fields.c | 91 dst->snd_ssthresh = src->snd_ssthresh; in tpcpy()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | bpf_tcp_helpers.h | 75 __u32 snd_ssthresh; member 202 return tp->snd_cwnd < tp->snd_ssthresh; in tcp_in_slow_start()
|