Searched refs:snd_cwnd (Results 1 – 9 of 9) sorted by relevance
766 (tp->snd_cwnd>>1) > dst->ssthresh) in tcp_update_metrics()767 dst->ssthresh = (tp->snd_cwnd>>1); in tcp_update_metrics()769 tp->snd_cwnd > dst->cwnd) in tcp_update_metrics()770 dst->cwnd = tp->snd_cwnd; in tcp_update_metrics()771 } else if (tp->snd_cwnd > tp->snd_ssthresh && in tcp_update_metrics()775 dst->ssthresh = max(tp->snd_cwnd>>1, tp->snd_ssthresh); in tcp_update_metrics()777 dst->cwnd = (dst->cwnd + tp->snd_cwnd)>>1; in tcp_update_metrics()876 tp->snd_cwnd = tcp_init_cwnd(tp); in tcp_init_metrics()1234 tp->snd_cwnd = tp->frto_counter + tcp_packets_in_flight(tp)+1; in tcp_enter_frto_loss()1281 tp->snd_cwnd = 1; in tcp_enter_loss()[all …]
106 u32 cwnd = tp->snd_cwnd; in tcp_cwnd_restart()116 tp->snd_cwnd = max(cwnd, restart_cwnd); in tcp_cwnd_restart()945 if (tcp_packets_in_flight(tp) >= tp->snd_cwnd) in tcp_xmit_retransmit_queue()993 if (tcp_packets_in_flight(tp) >= tp->snd_cwnd) in tcp_xmit_retransmit_queue()
189 info->tcpi_snd_cwnd = tp->snd_cwnd; in tcpdiag_fill()
717 newtp->snd_cwnd = 2; in tcp_create_openreq_child()
2131 tp->snd_cwnd = 2; in tcp_disconnect()2514 info.tcpi_snd_cwnd = tp->snd_cwnd; in tcp_getsockopt()
2023 tp->snd_cwnd = 2; in tcp_v4_init_sock()2139 tp->snd_cwnd, tp->snd_ssthresh>=0xFFFF?-1:tp->snd_ssthresh in get_tcp_sock()
1134 tp->snd_cwnd < tp->bictcp.last_max_cwnd) in tcp_recalc_ssthresh()1135 tp->bictcp.last_max_cwnd = (tp->snd_cwnd * in tcp_recalc_ssthresh()1140 tp->bictcp.last_max_cwnd = tp->snd_cwnd; in tcp_recalc_ssthresh()1142 if (tp->snd_cwnd > sysctl_tcp_bic_low_window) in tcp_recalc_ssthresh()1143 return max((tp->snd_cwnd * sysctl_tcp_bic_beta) in tcp_recalc_ssthresh()1147 return max(tp->snd_cwnd >> 1U, 2U); in tcp_recalc_ssthresh()1208 ((tp->snd_cwnd >> 1) + in tcp_current_ssthresh()1209 (tp->snd_cwnd >> 2))); in tcp_current_ssthresh()1225 if (tp->packets_out >= tp->snd_cwnd) { in tcp_cwnd_validate()1244 tp->snd_cwnd = min(tp->snd_cwnd, in __tcp_enter_cwr()[all …]
342 __u32 snd_cwnd; /* Sending congestion window */ member
1840 tp->snd_cwnd = 2; in tcp_v6_init_sock()1969 tp->snd_cwnd, tp->snd_ssthresh>=0xFFFF?-1:tp->snd_ssthresh in get_tcp6_sock()