Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_cc_cubic.c50 * [1] : Normal Slow Start condition is (tp->snd_cwnd < tp->snd_ssthresh) in tcp_update_pacing_rate()
51 * If snd_cwnd >= (tp->snd_ssthresh / 2), we are approaching in tcp_update_pacing_rate()
54 if (tp->snd_cwnd < tp->snd_ssthresh / 2) in tcp_update_pacing_rate()
73 int delta = tp->snd_ssthresh - pkts_in_flight; in tcp_update_pacing_rate()
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 Dtcp_ca_update.c33 return tcp_sk(sk)->snd_ssthresh; in BPF_PROG()
H A Dbpf_cubic.c193 tcp_sk(sk)->snd_ssthresh = initial_ssthresh; in BPF_PROG()
483 tp->snd_ssthresh = tp->snd_cwnd; in hystart_update()
498 tp->snd_ssthresh = tp->snd_cwnd; in hystart_update()
H A Dtcp_ca_write_sk_pacing.c47 return tcp_sk(sk)->snd_ssthresh; in BPF_PROG()
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 Dtest_sock_fields.c94 dst->snd_ssthresh = src->snd_ssthresh; in tpcpy()
H A Dbpf_tracing_net.h185 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 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_hybla.c162 tcp_snd_cwnd_set(tp, min(tcp_snd_cwnd(tp), tp->snd_ssthresh)); in hybla_cong_avoid()
H A Dtcp_input.c1154 if (tcp_snd_cwnd(tp) < tp->snd_ssthresh / 2) in tcp_update_pacing_rate()
2570 WRITE_ONCE(tp->snd_ssthresh, icsk->icsk_ca_ops->ssthresh(sk)); in tcp_enter_loss()
2827 tp->snd_ssthresh, tp->prior_ssthresh, in DBGUNDO()
2836 tp->snd_ssthresh, tp->prior_ssthresh, in DBGUNDO()
2862 if (tp->prior_ssthresh > tp->snd_ssthresh) { in tcp_undo_cwnd_reduction()
2863 WRITE_ONCE(tp->snd_ssthresh, tp->prior_ssthresh); in tcp_undo_cwnd_reduction()
2981 WRITE_ONCE(tp->snd_ssthresh, inet_csk(sk)->icsk_ca_ops->ssthresh(sk)); in tcp_init_cwnd_reduction()
2989 int delta = tp->snd_ssthresh - tcp_packets_in_flight(tp); in tcp_cwnd_reduction()
2998 u64 dividend = (u64)tp->snd_ssthresh * tp->prr_delivered + in tcp_cwnd_reduction()
3021 if (tp->snd_ssthresh < TCP_INFINITE_SSTHRESH && in tcp_end_cwnd_reduction()
[all …]
H A Dtcp_output.c168 WRITE_ONCE(tp->snd_ssthresh, tcp_current_ssthresh(sk)); in tcp_cwnd_restart()
2148 WRITE_ONCE(tp->snd_ssthresh, tcp_current_ssthresh(sk)); in tcp_cwnd_application_limited()
H A Dtcp_ipv4.c2831 (tcp_in_initial_slowstart(tp) ? -1 : tp->snd_ssthresh));
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsock_fields.c92 tp->snd_cwnd, tp->srtt_us, tp->rtt_min, tp->snd_ssthresh, in print_tp()
/linux/include/linux/
H A Dtcp.h248 u32 snd_ssthresh; /* Slow start size threshold */ member
/linux/tools/include/uapi/linux/
H A Dbpf.h6569 __u32 snd_ssthresh; /* Slow start size threshold */ member
7037 __u32 snd_ssthresh; member
/linux/include/uapi/linux/
H A Dbpf.h6569 __u32 snd_ssthresh; /* Slow start size threshold */ member
7037 __u32 snd_ssthresh; member
/linux/net/core/
H A Dfilter.c5572 WRITE_ONCE(tp->snd_ssthresh, val); in bpf_sol_tcp_setsockopt()
7661 case offsetof(struct bpf_tcp_sock, snd_ssthresh): in bpf_tcp_sock_convert_ctx_access()
7662 BPF_TCP_SOCK_GET_COMMON(snd_ssthresh); in bpf_tcp_sock_convert_ctx_access()
11137 case offsetof(struct bpf_sock_ops, snd_ssthresh): in sock_ops_convert_ctx_access()
11138 SOCK_OPS_GET_TCP_SOCK_FIELD(snd_ssthresh); in sock_ops_convert_ctx_access()
/linux/net/ipv6/
H A Dtcp_ipv6.c2196 (tcp_in_initial_slowstart(tp) ? -1 : tp->snd_ssthresh)