| 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_BASE_H_ | 7 #ifndef NET_QUIC_CONGESTION_CONTROL_TCP_CUBIC_SENDER_BASE_H_ |
| 8 #define NET_QUIC_CONGESTION_CONTROL_TCP_CUBIC_SENDER_BASE_H_ | 8 #define NET_QUIC_CONGESTION_CONTROL_TCP_CUBIC_SENDER_BASE_H_ |
| 9 | 9 |
| 10 #include <stdint.h> | 10 #include <stdint.h> |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 // Whether to use 4 packets as the actual min, but pace lower. | 136 // Whether to use 4 packets as the actual min, but pace lower. |
| 137 bool min4_mode_; | 137 bool min4_mode_; |
| 138 | 138 |
| 139 // Whether the last loss event caused us to exit slowstart. | 139 // Whether the last loss event caused us to exit slowstart. |
| 140 // Used for stats collection of slowstart_packets_lost | 140 // Used for stats collection of slowstart_packets_lost |
| 141 bool last_cutback_exited_slowstart_; | 141 bool last_cutback_exited_slowstart_; |
| 142 | 142 |
| 143 // When true, exit slow start with large cutback of congestion window. | 143 // When true, exit slow start with large cutback of congestion window. |
| 144 bool slow_start_large_reduction_; | 144 bool slow_start_large_reduction_; |
| 145 | 145 |
| 146 // When true, use unity pacing instead of PRR. |
| 147 bool no_prr_; |
| 148 |
| 146 private: | 149 private: |
| 147 DISALLOW_COPY_AND_ASSIGN(TcpCubicSenderBase); | 150 DISALLOW_COPY_AND_ASSIGN(TcpCubicSenderBase); |
| 148 }; | 151 }; |
| 149 | 152 |
| 150 } // namespace net | 153 } // namespace net |
| 151 | 154 |
| 152 #endif // NET_QUIC_CONGESTION_CONTROL_TCP_CUBIC_SENDER_BASE_H_ | 155 #endif // NET_QUIC_CONGESTION_CONTROL_TCP_CUBIC_SENDER_BASE_H_ |
| OLD | NEW |