Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Side by Side Diff: net/quic/core/crypto/crypto_protocol.h

Issue 2882503002: Add relevant tags for PCC Congestion control (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #ifndef NET_QUIC_CORE_CRYPTO_CRYPTO_PROTOCOL_H_ 5 #ifndef NET_QUIC_CORE_CRYPTO_CRYPTO_PROTOCOL_H_
6 #define NET_QUIC_CORE_CRYPTO_CRYPTO_PROTOCOL_H_ 6 #define NET_QUIC_CORE_CRYPTO_CRYPTO_PROTOCOL_H_
7 7
8 #include <cstddef> 8 #include <cstddef>
9 #include <string> 9 #include <string>
10 10
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 // receive window to 75 // receive window to
76 // 512KB. (2^9 KB). 76 // 512KB. (2^9 KB).
77 const QuicTag kIFWA = TAG('I', 'F', 'W', 'a'); // Set initial size 77 const QuicTag kIFWA = TAG('I', 'F', 'W', 'a'); // Set initial size
78 // of stream flow control 78 // of stream flow control
79 // receive window to 79 // receive window to
80 // 1MB. (2^0xa KB). 80 // 1MB. (2^0xa KB).
81 const QuicTag kTBBR = TAG('T', 'B', 'B', 'R'); // Reduced Buffer Bloat TCP 81 const QuicTag kTBBR = TAG('T', 'B', 'B', 'R'); // Reduced Buffer Bloat TCP
82 const QuicTag k1RTT = TAG('1', 'R', 'T', 'T'); // STARTUP in BBR for 1 RTT 82 const QuicTag k1RTT = TAG('1', 'R', 'T', 'T'); // STARTUP in BBR for 1 RTT
83 const QuicTag k2RTT = TAG('2', 'R', 'T', 'T'); // STARTUP in BBR for 2 RTTs 83 const QuicTag k2RTT = TAG('2', 'R', 'T', 'T'); // STARTUP in BBR for 2 RTTs
84 const QuicTag kRENO = TAG('R', 'E', 'N', 'O'); // Reno Congestion Control 84 const QuicTag kRENO = TAG('R', 'E', 'N', 'O'); // Reno Congestion Control
85 const QuicTag kTPCC = TAG('P', 'C', 'C', '\0'); // Performance-Oriented
86 // Congestion Control
85 const QuicTag kBYTE = TAG('B', 'Y', 'T', 'E'); // TCP cubic or reno in bytes 87 const QuicTag kBYTE = TAG('B', 'Y', 'T', 'E'); // TCP cubic or reno in bytes
86 const QuicTag kRATE = TAG('R', 'A', 'T', 'E'); // TCP cubic rate based sending 88 const QuicTag kRATE = TAG('R', 'A', 'T', 'E'); // TCP cubic rate based sending
87 const QuicTag kIW03 = TAG('I', 'W', '0', '3'); // Force ICWND to 3 89 const QuicTag kIW03 = TAG('I', 'W', '0', '3'); // Force ICWND to 3
88 const QuicTag kIW10 = TAG('I', 'W', '1', '0'); // Force ICWND to 10 90 const QuicTag kIW10 = TAG('I', 'W', '1', '0'); // Force ICWND to 10
89 const QuicTag kIW20 = TAG('I', 'W', '2', '0'); // Force ICWND to 20 91 const QuicTag kIW20 = TAG('I', 'W', '2', '0'); // Force ICWND to 20
90 const QuicTag kIW50 = TAG('I', 'W', '5', '0'); // Force ICWND to 50 92 const QuicTag kIW50 = TAG('I', 'W', '5', '0'); // Force ICWND to 50
91 const QuicTag k1CON = TAG('1', 'C', 'O', 'N'); // Emulate a single connection 93 const QuicTag k1CON = TAG('1', 'C', 'O', 'N'); // Emulate a single connection
92 const QuicTag kNTLP = TAG('N', 'T', 'L', 'P'); // No tail loss probe 94 const QuicTag kNTLP = TAG('N', 'T', 'L', 'P'); // No tail loss probe
93 const QuicTag kNCON = TAG('N', 'C', 'O', 'N'); // N Connection Congestion Ctrl 95 const QuicTag kNCON = TAG('N', 'C', 'O', 'N'); // N Connection Congestion Ctrl
94 const QuicTag kNRTO = TAG('N', 'R', 'T', 'O'); // CWND reduction on loss 96 const QuicTag kNRTO = TAG('N', 'R', 'T', 'O'); // CWND reduction on loss
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 // amplification factor of any mirror DoS attack. 270 // amplification factor of any mirror DoS attack.
269 // 271 //
270 // A client may pad an inchoate client hello to a size larger than 272 // A client may pad an inchoate client hello to a size larger than
271 // kClientHelloMinimumSize to make it more likely to receive a complete 273 // kClientHelloMinimumSize to make it more likely to receive a complete
272 // rejection message. 274 // rejection message.
273 const size_t kClientHelloMinimumSize = 1024; 275 const size_t kClientHelloMinimumSize = 1024;
274 276
275 } // namespace net 277 } // namespace net
276 278
277 #endif // NET_QUIC_CORE_CRYPTO_CRYPTO_PROTOCOL_H_ 279 #endif // NET_QUIC_CORE_CRYPTO_CRYPTO_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/core/congestion_control/send_algorithm_interface.cc ('k') | net/quic/core/quic_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698