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

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

Issue 1009203003: Add a kBYTE congestion option to QUIC to negotiate the TcpCubicBytesSender. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Add_support_for_MIN1_88167032
Patch Set: Created 5 years, 9 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
« no previous file with comments | « net/quic/congestion_control/tcp_cubic_bytes_sender.cc ('k') | net/quic/quic_protocol.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <string> 8 #include <string>
9 9
10 #include "net/base/net_export.h" 10 #include "net/base/net_export.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 // Socket receive buffer 47 // Socket receive buffer
48 const QuicTag kSRBF = TAG('S', 'R', 'B', 'F'); // Socket receive buffer 48 const QuicTag kSRBF = TAG('S', 'R', 'B', 'F'); // Socket receive buffer
49 49
50 // Congestion control feedback types 50 // Congestion control feedback types
51 const QuicTag kQBIC = TAG('Q', 'B', 'I', 'C'); // TCP cubic 51 const QuicTag kQBIC = TAG('Q', 'B', 'I', 'C'); // TCP cubic
52 52
53 // Connection options (COPT) values 53 // Connection options (COPT) values
54 const QuicTag kTBBR = TAG('T', 'B', 'B', 'R'); // Reduced Buffer Bloat TCP 54 const QuicTag kTBBR = TAG('T', 'B', 'B', 'R'); // Reduced Buffer Bloat TCP
55 const QuicTag kRENO = TAG('R', 'E', 'N', 'O'); // Reno Congestion Control 55 const QuicTag kRENO = TAG('R', 'E', 'N', 'O'); // Reno Congestion Control
56 const QuicTag kBYTE = TAG('B', 'Y', 'T', 'E'); // TCP cubic or reno in bytes
56 const QuicTag kIW10 = TAG('I', 'W', '1', '0'); // Force ICWND to 10 57 const QuicTag kIW10 = TAG('I', 'W', '1', '0'); // Force ICWND to 10
57 const QuicTag kPACE = TAG('P', 'A', 'C', 'E'); // Paced TCP cubic 58 const QuicTag kPACE = TAG('P', 'A', 'C', 'E'); // Paced TCP cubic
58 const QuicTag k1CON = TAG('1', 'C', 'O', 'N'); // Emulate a single connection 59 const QuicTag k1CON = TAG('1', 'C', 'O', 'N'); // Emulate a single connection
59 const QuicTag kNTLP = TAG('N', 'T', 'L', 'P'); // No tail loss probe 60 const QuicTag kNTLP = TAG('N', 'T', 'L', 'P'); // No tail loss probe
60 const QuicTag kNCON = TAG('N', 'C', 'O', 'N'); // N Connection Congestion Ctrl 61 const QuicTag kNCON = TAG('N', 'C', 'O', 'N'); // N Connection Congestion Ctrl
61 const QuicTag kNRTO = TAG('N', 'R', 'T', 'O'); // CWND reduction on loss 62 const QuicTag kNRTO = TAG('N', 'R', 'T', 'O'); // CWND reduction on loss
62 const QuicTag kTIME = TAG('T', 'I', 'M', 'E'); // Time based 63 const QuicTag kTIME = TAG('T', 'I', 'M', 'E'); // Time based
63 const QuicTag kMIN1 = TAG('M', 'I', 'N', '1'); // Min CWND of 1 packet 64 const QuicTag kMIN1 = TAG('M', 'I', 'N', '1'); // Min CWND of 1 packet
64 65
65 // Optional support of truncated Connection IDs. If sent by a peer, the value 66 // Optional support of truncated Connection IDs. If sent by a peer, the value
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 // amplification factor of any mirror DoS attack. 172 // amplification factor of any mirror DoS attack.
172 // 173 //
173 // A client may pad an inchoate client hello to a size larger than 174 // A client may pad an inchoate client hello to a size larger than
174 // kClientHelloMinimumSize to make it more likely to receive a complete 175 // kClientHelloMinimumSize to make it more likely to receive a complete
175 // rejection message. 176 // rejection message.
176 const size_t kClientHelloMinimumSize = 1024; 177 const size_t kClientHelloMinimumSize = 1024;
177 178
178 } // namespace net 179 } // namespace net
179 180
180 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ 181 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/congestion_control/tcp_cubic_bytes_sender.cc ('k') | net/quic/quic_protocol.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698