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

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

Issue 2064543002: Add a new rate based sending connection option which uses the pacing rate to keep the bytes_in_flig… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@124273380
Patch Set: Rebase. Created 4 years, 6 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_CRYPTO_CRYPTO_PROTOCOL_H_ 5 #ifndef NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_
6 #define NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ 6 #define NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 // of stream flow control 66 // of stream flow control
67 // receive window to 67 // receive window to
68 // 64KB. (2^6 KB). 68 // 64KB. (2^6 KB).
69 const QuicTag kIFW7 = TAG('I', 'F', 'W', '7'); // Set initial size 69 const QuicTag kIFW7 = TAG('I', 'F', 'W', '7'); // Set initial size
70 // of stream flow control 70 // of stream flow control
71 // receive window to 71 // receive window to
72 // 128KB. (2^7 KB). 72 // 128KB. (2^7 KB).
73 const QuicTag kTBBR = TAG('T', 'B', 'B', 'R'); // Reduced Buffer Bloat TCP 73 const QuicTag kTBBR = TAG('T', 'B', 'B', 'R'); // Reduced Buffer Bloat TCP
74 const QuicTag kRENO = TAG('R', 'E', 'N', 'O'); // Reno Congestion Control 74 const QuicTag kRENO = TAG('R', 'E', 'N', 'O'); // Reno Congestion Control
75 const QuicTag kBYTE = TAG('B', 'Y', 'T', 'E'); // TCP cubic or reno in bytes 75 const QuicTag kBYTE = TAG('B', 'Y', 'T', 'E'); // TCP cubic or reno in bytes
76 const QuicTag kRATE = TAG('R', 'A', 'T', 'E'); // TCP cubic rate based sending
76 const QuicTag kIW03 = TAG('I', 'W', '0', '3'); // Force ICWND to 3 77 const QuicTag kIW03 = TAG('I', 'W', '0', '3'); // Force ICWND to 3
77 const QuicTag kIW10 = TAG('I', 'W', '1', '0'); // Force ICWND to 10 78 const QuicTag kIW10 = TAG('I', 'W', '1', '0'); // Force ICWND to 10
78 const QuicTag kIW20 = TAG('I', 'W', '2', '0'); // Force ICWND to 20 79 const QuicTag kIW20 = TAG('I', 'W', '2', '0'); // Force ICWND to 20
79 const QuicTag kIW50 = TAG('I', 'W', '5', '0'); // Force ICWND to 50 80 const QuicTag kIW50 = TAG('I', 'W', '5', '0'); // Force ICWND to 50
80 const QuicTag k1CON = TAG('1', 'C', 'O', 'N'); // Emulate a single connection 81 const QuicTag k1CON = TAG('1', 'C', 'O', 'N'); // Emulate a single connection
81 const QuicTag kNTLP = TAG('N', 'T', 'L', 'P'); // No tail loss probe 82 const QuicTag kNTLP = TAG('N', 'T', 'L', 'P'); // No tail loss probe
82 const QuicTag kNCON = TAG('N', 'C', 'O', 'N'); // N Connection Congestion Ctrl 83 const QuicTag kNCON = TAG('N', 'C', 'O', 'N'); // N Connection Congestion Ctrl
83 const QuicTag kNRTO = TAG('N', 'R', 'T', 'O'); // CWND reduction on loss 84 const QuicTag kNRTO = TAG('N', 'R', 'T', 'O'); // CWND reduction on loss
84 const QuicTag kUNDO = TAG('U', 'N', 'D', 'O'); // Undo any pending retransmits 85 const QuicTag kUNDO = TAG('U', 'N', 'D', 'O'); // Undo any pending retransmits
85 // if they're likely spurious. 86 // if they're likely spurious.
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 // amplification factor of any mirror DoS attack. 240 // amplification factor of any mirror DoS attack.
240 // 241 //
241 // A client may pad an inchoate client hello to a size larger than 242 // A client may pad an inchoate client hello to a size larger than
242 // kClientHelloMinimumSize to make it more likely to receive a complete 243 // kClientHelloMinimumSize to make it more likely to receive a complete
243 // rejection message. 244 // rejection message.
244 const size_t kClientHelloMinimumSize = 1024; 245 const size_t kClientHelloMinimumSize = 1024;
245 246
246 } // namespace net 247 } // namespace net
247 248
248 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ 249 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/congestion_control/tcp_cubic_sender_packets_test.cc ('k') | net/quic/quic_connection_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698