OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_SENDER_H_ | 7 #ifndef NET_QUIC_CONGESTION_CONTROL_TCP_CUBIC_SENDER_H_ |
8 #define NET_QUIC_CONGESTION_CONTROL_TCP_CUBIC_SENDER_H_ | 8 #define NET_QUIC_CONGESTION_CONTROL_TCP_CUBIC_SENDER_H_ |
9 | 9 |
10 #include <stdint.h> | 10 #include <stdint.h> |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 QuicPacketCount max_tcp_congestion_window_; | 134 QuicPacketCount max_tcp_congestion_window_; |
135 | 135 |
136 // Initial TCP congestion window. This variable can only be set when this | 136 // Initial TCP congestion window. This variable can only be set when this |
137 // algorithm is created. | 137 // algorithm is created. |
138 const QuicPacketCount initial_tcp_congestion_window_; | 138 const QuicPacketCount initial_tcp_congestion_window_; |
139 | 139 |
140 // Initial maximum TCP congestion window. This variable can only be set when | 140 // Initial maximum TCP congestion window. This variable can only be set when |
141 // this algorithm is created. | 141 // this algorithm is created. |
142 const QuicPacketCount initial_max_tcp_congestion_window_; | 142 const QuicPacketCount initial_max_tcp_congestion_window_; |
143 | 143 |
| 144 // When true, exit slow start with large cutback of congestion window. |
| 145 bool slow_start_large_reduction_; |
| 146 |
144 DISALLOW_COPY_AND_ASSIGN(TcpCubicSender); | 147 DISALLOW_COPY_AND_ASSIGN(TcpCubicSender); |
145 }; | 148 }; |
146 | 149 |
147 } // namespace net | 150 } // namespace net |
148 | 151 |
149 #endif // NET_QUIC_CONGESTION_CONTROL_TCP_CUBIC_SENDER_H_ | 152 #endif // NET_QUIC_CONGESTION_CONTROL_TCP_CUBIC_SENDER_H_ |
OLD | NEW |