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

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

Issue 2293173004: Add a new connection option (BWS2) for an alternative bandwidth resumption experiment. (Closed)
Patch Set: Add new connection option (BWS2) for an alternative bandwidth resumption experiment. Created 4 years, 3 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 | « no previous file | no next file » | 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 // Multipath option. 114 // Multipath option.
115 const QuicTag kMPTH = TAG('M', 'P', 'T', 'H'); // Enable multipath. 115 const QuicTag kMPTH = TAG('M', 'P', 'T', 'H'); // Enable multipath.
116 116
117 const QuicTag kNCMR = TAG('N', 'C', 'M', 'R'); // Do not attempt connection 117 const QuicTag kNCMR = TAG('N', 'C', 'M', 'R'); // Do not attempt connection
118 // migration. 118 // migration.
119 119
120 // Enable bandwidth resumption experiment. 120 // Enable bandwidth resumption experiment.
121 const QuicTag kBWRE = TAG('B', 'W', 'R', 'E'); // Bandwidth resumption. 121 const QuicTag kBWRE = TAG('B', 'W', 'R', 'E'); // Bandwidth resumption.
122 const QuicTag kBWMX = TAG('B', 'W', 'M', 'X'); // Max bandwidth resumption. 122 const QuicTag kBWMX = TAG('B', 'W', 'M', 'X'); // Max bandwidth resumption.
123 const QuicTag kBWRS = TAG('B', 'W', 'R', 'S'); // Server bandwidth resumption. 123 const QuicTag kBWRS = TAG('B', 'W', 'R', 'S'); // Server bandwidth resumption.
124 const QuicTag kBWS2 = TAG('B', 'W', 'S', '2'); // Server bw resumption v2.
124 125
125 // Enable path MTU discovery experiment. 126 // Enable path MTU discovery experiment.
126 const QuicTag kMTUH = TAG('M', 'T', 'U', 'H'); // High-target MTU discovery. 127 const QuicTag kMTUH = TAG('M', 'T', 'U', 'H'); // High-target MTU discovery.
127 const QuicTag kMTUL = TAG('M', 'T', 'U', 'L'); // Low-target MTU discovery. 128 const QuicTag kMTUL = TAG('M', 'T', 'U', 'L'); // Low-target MTU discovery.
128 129
129 const QuicTag kFHOL = TAG('F', 'H', 'O', 'L'); // Force head of line blocking. 130 const QuicTag kFHOL = TAG('F', 'H', 'O', 'L'); // Force head of line blocking.
130 131
131 // Proof types (i.e. certificate types) 132 // Proof types (i.e. certificate types)
132 // NOTE: although it would be silly to do so, specifying both kX509 and kX59R 133 // NOTE: although it would be silly to do so, specifying both kX509 and kX59R
133 // is allowed and is equivalent to specifying only kX509. 134 // is allowed and is equivalent to specifying only kX509.
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 // amplification factor of any mirror DoS attack. 244 // amplification factor of any mirror DoS attack.
244 // 245 //
245 // A client may pad an inchoate client hello to a size larger than 246 // A client may pad an inchoate client hello to a size larger than
246 // kClientHelloMinimumSize to make it more likely to receive a complete 247 // kClientHelloMinimumSize to make it more likely to receive a complete
247 // rejection message. 248 // rejection message.
248 const size_t kClientHelloMinimumSize = 1024; 249 const size_t kClientHelloMinimumSize = 1024;
249 250
250 } // namespace net 251 } // namespace net
251 252
252 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ 253 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698