Home
last modified time | relevance | path

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

/Linux-v5.4/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.c405 max(tp->snd_cwnd >> 1, tp->snd_ssthresh)); in tcp_update_metrics()
417 (val + tp->snd_ssthresh) >> 1); in tcp_update_metrics()
421 if (val && tp->snd_ssthresh > val) in tcp_update_metrics()
423 tp->snd_ssthresh); in tcp_update_metrics()
463 tp->snd_ssthresh = val; in tcp_init_metrics()
464 if (tp->snd_ssthresh > tp->snd_cwnd_clamp) in tcp_init_metrics()
465 tp->snd_ssthresh = tp->snd_cwnd_clamp; in tcp_init_metrics()
470 tp->snd_ssthresh = TCP_INFINITE_SSTHRESH; in tcp_init_metrics()
Dtcp_cubic.c150 tcp_sk(sk)->snd_ssthresh = initial_ssthresh; in bictcp_init()
400 tp->snd_ssthresh = tp->snd_cwnd; in hystart_update()
421 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()
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_bic.c77 tcp_sk(sk)->snd_ssthresh = initial_ssthresh; in bictcp_init()
Dtcp_yeah.c169 tp->snd_ssthresh = tp->snd_cwnd; in tcp_yeah_cong_avoid()
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.c815 if (tp->snd_cwnd < tp->snd_ssthresh / 2) in tcp_update_pacing_rate()
2000 tp->snd_ssthresh = icsk->icsk_ca_ops->ssthresh(sk); in tcp_enter_loss()
2327 tp->snd_ssthresh, tp->prior_ssthresh, in DBGUNDO()
2336 tp->snd_ssthresh, tp->prior_ssthresh, in DBGUNDO()
2362 if (tp->prior_ssthresh > tp->snd_ssthresh) { in tcp_undo_cwnd_reduction()
2363 tp->snd_ssthresh = tp->prior_ssthresh; in tcp_undo_cwnd_reduction()
2470 tp->snd_ssthresh = inet_csk(sk)->icsk_ca_ops->ssthresh(sk); in tcp_init_cwnd_reduction()
2478 int delta = tp->snd_ssthresh - tcp_packets_in_flight(tp); in tcp_cwnd_reduction()
2485 u64 dividend = (u64)tp->snd_ssthresh * tp->prr_delivered + in tcp_cwnd_reduction()
2509 if (tp->snd_ssthresh < TCP_INFINITE_SSTHRESH && in tcp_end_cwnd_reduction()
[all …]
Dtcp_cong.c396 u32 cwnd = min(tp->snd_cwnd + acked, tp->snd_ssthresh); in tcp_slow_start()
Dtcp.c436 tp->snd_ssthresh = TCP_INFINITE_SSTHRESH; in tcp_init_sock()
2620 tp->snd_ssthresh = TCP_INFINITE_SSTHRESH; in tcp_disconnect()
3276 info->tcpi_snd_ssthresh = tp->snd_ssthresh; in tcp_get_info()
3377 nla_put_u32(stats, TCP_NLA_SND_SSTHRESH, tp->snd_ssthresh); in tcp_get_timestamping_opt_stats()
Dtcp_output.c145 tp->snd_ssthresh = tcp_current_ssthresh(sk); in tcp_cwnd_restart()
1630 tp->snd_ssthresh = tcp_current_ssthresh(sk); in tcp_cwnd_application_limited()
Dtcp_ipv4.c2482 (tcp_in_initial_slowstart(tp) ? -1 : tp->snd_ssthresh)); in get_tcp4_sock()
/Linux-v5.4/tools/testing/selftests/bpf/progs/
Dtest_sock_fields_kern.c112 dst->snd_ssthresh = src->snd_ssthresh; in tpcpy()
/Linux-v5.4/include/linux/
Dtcp.h276 u32 snd_ssthresh; /* Slow start size threshold */ member
/Linux-v5.4/include/uapi/linux/
Dbpf.h3081 __u32 snd_ssthresh; /* Slow start size threshold */ member
3336 __u32 snd_ssthresh; member
/Linux-v5.4/tools/include/uapi/linux/
Dbpf.h3081 __u32 snd_ssthresh; /* Slow start size threshold */ member
3336 __u32 snd_ssthresh; member
/Linux-v5.4/include/net/
Dtcp.h1175 return tp->snd_cwnd < tp->snd_ssthresh; in tcp_in_slow_start()
1180 return tp->snd_ssthresh >= TCP_INFINITE_SSTHRESH; in tcp_in_initial_slowstart()
1198 return tp->snd_ssthresh; in tcp_current_ssthresh()
1200 return max(tp->snd_ssthresh, in tcp_current_ssthresh()
/Linux-v5.4/tools/testing/selftests/bpf/
Dtest_sock_fields.c113 tp->snd_cwnd, tp->srtt_us, tp->rtt_min, tp->snd_ssthresh, in print_tp()
/Linux-v5.4/net/core/
Dfilter.c4366 tp->snd_ssthresh = val; in BPF_CALL_5()
5620 case offsetof(struct bpf_tcp_sock, snd_ssthresh): in bpf_tcp_sock_convert_ctx_access()
5621 BPF_TCP_SOCK_GET_COMMON(snd_ssthresh); in bpf_tcp_sock_convert_ctx_access()
8232 case offsetof(struct bpf_sock_ops, snd_ssthresh): in sock_ops_convert_ctx_access()
8233 SOCK_OPS_GET_TCP_SOCK_FIELD(snd_ssthresh); in sock_ops_convert_ctx_access()
/Linux-v5.4/net/ipv6/
Dtcp_ipv6.c1926 (tcp_in_initial_slowstart(tp) ? -1 : tp->snd_ssthresh) in get_tcp6_sock()