Home
last modified time | relevance | path

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

/linux-4.1.27/net/ipv4/
Dtcp_vegas.c161 return min(tp->snd_ssthresh, tp->snd_cwnd-1); in tcp_vegas_ssthresh()
228 if (diff > gamma && tp->snd_cwnd <= tp->snd_ssthresh) { in tcp_vegas_cong_avoid()
241 tp->snd_ssthresh = tcp_vegas_ssthresh(tp); in tcp_vegas_cong_avoid()
243 } else if (tp->snd_cwnd <= tp->snd_ssthresh) { in tcp_vegas_cong_avoid()
257 tp->snd_ssthresh in tcp_vegas_cong_avoid()
276 tp->snd_ssthresh = tcp_current_ssthresh(sk); in tcp_vegas_cong_avoid()
284 else if (tp->snd_cwnd <= tp->snd_ssthresh) in tcp_vegas_cong_avoid()
Dtcp_cubic.c151 tcp_sk(sk)->snd_ssthresh = initial_ssthresh; in bictcp_init()
344 if (tp->snd_cwnd <= tp->snd_ssthresh) { in bictcp_cong_avoid()
410 tp->snd_ssthresh = tp->snd_cwnd; in hystart_update()
431 tp->snd_ssthresh = tp->snd_cwnd; in hystart_update()
463 if (hystart && tp->snd_cwnd <= tp->snd_ssthresh && in bictcp_acked()
Dtcp_hybla.c115 if (tp->snd_cwnd < tp->snd_ssthresh) { in hybla_cong_avoid()
161 tp->snd_cwnd = min(tp->snd_cwnd, tp->snd_ssthresh); in hybla_cong_avoid()
Dtcp_cong.c370 if (cwnd > tp->snd_ssthresh) in tcp_slow_start()
371 cwnd = tp->snd_ssthresh + 1; in tcp_slow_start()
416 if (tp->snd_cwnd <= tp->snd_ssthresh) { in tcp_reno_cong_avoid()
Dtcp_metrics.c464 } else if (tp->snd_cwnd > tp->snd_ssthresh && in tcp_update_metrics()
469 max(tp->snd_cwnd >> 1, tp->snd_ssthresh)); in tcp_update_metrics()
481 (val + tp->snd_ssthresh) >> 1); in tcp_update_metrics()
485 if (val && tp->snd_ssthresh > val) in tcp_update_metrics()
487 tp->snd_ssthresh); in tcp_update_metrics()
528 tp->snd_ssthresh = val; in tcp_init_metrics()
529 if (tp->snd_ssthresh > tp->snd_cwnd_clamp) in tcp_init_metrics()
530 tp->snd_ssthresh = tp->snd_cwnd_clamp; in tcp_init_metrics()
535 tp->snd_ssthresh = TCP_INFINITE_SSTHRESH; in tcp_init_metrics()
Dtcp_bic.c78 tcp_sk(sk)->snd_ssthresh = initial_ssthresh; in bictcp_init()
149 if (tp->snd_cwnd <= tp->snd_ssthresh) in bictcp_cong_avoid()
Dtcp_yeah.c78 if (tp->snd_cwnd <= tp->snd_ssthresh) in tcp_yeah_cong_avoid()
167 tp->snd_ssthresh = tp->snd_cwnd; in tcp_yeah_cong_avoid()
Dtcp_scalable.c25 if (tp->snd_cwnd <= tp->snd_ssthresh) in tcp_scalable_cong_avoid()
Dtcp_westwood.c245 tp->snd_cwnd = tp->snd_ssthresh = tcp_westwood_bw_rttmin(sk); in tcp_westwood_event()
248 tp->snd_ssthresh = tcp_westwood_bw_rttmin(sk); in tcp_westwood_event()
Dtcp_highspeed.c119 if (tp->snd_cwnd <= tp->snd_ssthresh) in hstcp_cong_avoid()
Dtcp_htcp.c79 return max(tp->snd_cwnd, (tp->snd_ssthresh << 7) / ca->beta); in htcp_cwnd_undo()
239 if (tp->snd_cwnd <= tp->snd_ssthresh) in htcp_cong_avoid()
Dtcp_veno.c153 if (tp->snd_cwnd <= tp->snd_ssthresh) { in tcp_veno_cong_avoid()
Dtcp_input.c1936 tp->snd_ssthresh = icsk->icsk_ca_ops->ssthresh(sk); in tcp_enter_loss()
2358 tp->snd_ssthresh, tp->prior_ssthresh, in DBGUNDO()
2368 tp->snd_ssthresh, tp->prior_ssthresh, in DBGUNDO()
2399 tp->snd_cwnd = max(tp->snd_cwnd, tp->snd_ssthresh << 1); in tcp_undo_cwnd_reduction()
2401 if (tp->prior_ssthresh > tp->snd_ssthresh) { in tcp_undo_cwnd_reduction()
2402 tp->snd_ssthresh = tp->prior_ssthresh; in tcp_undo_cwnd_reduction()
2406 tp->snd_cwnd = max(tp->snd_cwnd, tp->snd_ssthresh); in tcp_undo_cwnd_reduction()
2505 tp->snd_ssthresh = inet_csk(sk)->icsk_ca_ops->ssthresh(sk); in tcp_init_cwnd_reduction()
2514 int delta = tp->snd_ssthresh - tcp_packets_in_flight(tp); in tcp_cwnd_reduction()
2519 if (tcp_packets_in_flight(tp) > tp->snd_ssthresh) { in tcp_cwnd_reduction()
[all …]
Dtcp_illinois.c271 if (tp->snd_cwnd <= tp->snd_ssthresh) in tcp_illinois_cong_avoid()
Dtcp_minisocks.c470 newtp->snd_ssthresh = TCP_INFINITE_SSTHRESH; in tcp_create_openreq_child()
Dtcp.c403 tp->snd_ssthresh = TCP_INFINITE_SSTHRESH; in tcp_init_sock()
2214 tp->snd_ssthresh = TCP_INFINITE_SSTHRESH; in tcp_disconnect()
2659 info->tcpi_snd_ssthresh = tp->snd_ssthresh; in tcp_get_info()
Dtcp_output.c150 tp->snd_ssthresh = tcp_current_ssthresh(sk); in tcp_cwnd_restart()
1467 tp->snd_ssthresh = tcp_current_ssthresh(sk); in tcp_cwnd_application_limited()
Dtcp_ipv4.c2243 (tcp_in_initial_slowstart(tp) ? -1 : tp->snd_ssthresh)); in get_tcp4_sock()
/linux-4.1.27/include/linux/
Dtcp.h233 u32 snd_ssthresh; /* Slow start size threshold */ member
/linux-4.1.27/include/net/
Dtcp.h966 return tp->snd_ssthresh >= TCP_INFINITE_SSTHRESH; in tcp_in_initial_slowstart()
984 return tp->snd_ssthresh; in tcp_current_ssthresh()
986 return max(tp->snd_ssthresh, in tcp_current_ssthresh()
1040 if (tp->snd_cwnd <= tp->snd_ssthresh) in tcp_is_cwnd_limited()
/linux-4.1.27/Documentation/networking/
Dtcp.txt17 snd_ssthresh Slow start threshold. We are in slow start if
/linux-4.1.27/net/ipv6/
Dtcp_ipv6.c1732 (tcp_in_initial_slowstart(tp) ? -1 : tp->snd_ssthresh) in get_tcp6_sock()