OLD | NEW |
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // TCP cubic send side congestion algorithm, emulates the behavior of TCP cubic. | 5 // TCP cubic send side congestion algorithm, emulates the behavior of TCP cubic. |
6 | 6 |
7 #ifndef NET_QUIC_CONGESTION_CONTROL_TCP_CUBIC_BYTES_SENDER_H_ | 7 #ifndef NET_QUIC_CONGESTION_CONTROL_TCP_CUBIC_BYTES_SENDER_H_ |
8 #define NET_QUIC_CONGESTION_CONTROL_TCP_CUBIC_BYTES_SENDER_H_ | 8 #define NET_QUIC_CONGESTION_CONTROL_TCP_CUBIC_BYTES_SENDER_H_ |
9 | 9 |
10 #include <stdint.h> | 10 #include <stdint.h> |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 bool last_cutback_exited_slowstart_; | 133 bool last_cutback_exited_slowstart_; |
134 | 134 |
135 // Initial TCP congestion window in bytes. This variable can only be set when | 135 // Initial TCP congestion window in bytes. This variable can only be set when |
136 // this algorithm is created. | 136 // this algorithm is created. |
137 const QuicByteCount initial_tcp_congestion_window_; | 137 const QuicByteCount initial_tcp_congestion_window_; |
138 | 138 |
139 // Initial maximum TCP congestion window in bytes. This variable can only be | 139 // Initial maximum TCP congestion window in bytes. This variable can only be |
140 // set when this algorithm is created. | 140 // set when this algorithm is created. |
141 const QuicByteCount initial_max_tcp_congestion_window_; | 141 const QuicByteCount initial_max_tcp_congestion_window_; |
142 | 142 |
| 143 // When true, exit slow start with large cutback of congestion window. |
| 144 bool slow_start_large_reduction_; |
| 145 |
143 DISALLOW_COPY_AND_ASSIGN(TcpCubicBytesSender); | 146 DISALLOW_COPY_AND_ASSIGN(TcpCubicBytesSender); |
144 }; | 147 }; |
145 | 148 |
146 } // namespace net | 149 } // namespace net |
147 | 150 |
148 #endif // NET_QUIC_CONGESTION_CONTROL_TCP_CUBIC_BYTES_SENDER_H_ | 151 #endif // NET_QUIC_CONGESTION_CONTROL_TCP_CUBIC_BYTES_SENDER_H_ |
OLD | NEW |