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

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

Issue 2547583002: Landing Recent QUIC changes until Fri Nov 18 23:21:04 2016 +0000 (Closed)
Patch Set: Remove explicit HTTP/2 enum usage Created 4 years 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/core/crypto/crypto_handshake_message.h ('k') | net/quic/core/crypto/crypto_utils.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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 const QuicTag kCHID = TAG('C', 'H', 'I', 'D'); // Channel ID. 145 const QuicTag kCHID = TAG('C', 'H', 'I', 'D'); // Channel ID.
146 146
147 // Client hello tags 147 // Client hello tags
148 const QuicTag kVER = TAG('V', 'E', 'R', '\0'); // Version 148 const QuicTag kVER = TAG('V', 'E', 'R', '\0'); // Version
149 const QuicTag kNONC = TAG('N', 'O', 'N', 'C'); // The client's nonce 149 const QuicTag kNONC = TAG('N', 'O', 'N', 'C'); // The client's nonce
150 const QuicTag kNONP = TAG('N', 'O', 'N', 'P'); // The client's proof nonce 150 const QuicTag kNONP = TAG('N', 'O', 'N', 'P'); // The client's proof nonce
151 const QuicTag kKEXS = TAG('K', 'E', 'X', 'S'); // Key exchange methods 151 const QuicTag kKEXS = TAG('K', 'E', 'X', 'S'); // Key exchange methods
152 const QuicTag kAEAD = TAG('A', 'E', 'A', 'D'); // Authenticated 152 const QuicTag kAEAD = TAG('A', 'E', 'A', 'D'); // Authenticated
153 // encryption algorithms 153 // encryption algorithms
154 const QuicTag kCOPT = TAG('C', 'O', 'P', 'T'); // Connection options 154 const QuicTag kCOPT = TAG('C', 'O', 'P', 'T'); // Connection options
155 const QuicTag kCLOP = TAG('C', 'L', 'O', 'P'); // Client connection options
155 const QuicTag kICSL = TAG('I', 'C', 'S', 'L'); // Idle network timeout 156 const QuicTag kICSL = TAG('I', 'C', 'S', 'L'); // Idle network timeout
156 const QuicTag kSCLS = TAG('S', 'C', 'L', 'S'); // Silently close on timeout 157 const QuicTag kSCLS = TAG('S', 'C', 'L', 'S'); // Silently close on timeout
157 const QuicTag kMSPC = TAG('M', 'S', 'P', 'C'); // Max streams per connection. 158 const QuicTag kMSPC = TAG('M', 'S', 'P', 'C'); // Max streams per connection.
158 const QuicTag kMIDS = TAG('M', 'I', 'D', 'S'); // Max incoming dynamic streams 159 const QuicTag kMIDS = TAG('M', 'I', 'D', 'S'); // Max incoming dynamic streams
159 const QuicTag kIRTT = TAG('I', 'R', 'T', 'T'); // Estimated initial RTT in us. 160 const QuicTag kIRTT = TAG('I', 'R', 'T', 'T'); // Estimated initial RTT in us.
160 const QuicTag kSWND = TAG('S', 'W', 'N', 'D'); // Server's Initial congestion 161 const QuicTag kSWND = TAG('S', 'W', 'N', 'D'); // Server's Initial congestion
161 // window. 162 // window.
162 const QuicTag kSNI = TAG('S', 'N', 'I', '\0'); // Server name 163 const QuicTag kSNI = TAG('S', 'N', 'I', '\0'); // Server name
163 // indication 164 // indication
164 const QuicTag kPUBS = TAG('P', 'U', 'B', 'S'); // Public key values 165 const QuicTag kPUBS = TAG('P', 'U', 'B', 'S'); // Public key values
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 // amplification factor of any mirror DoS attack. 247 // amplification factor of any mirror DoS attack.
247 // 248 //
248 // A client may pad an inchoate client hello to a size larger than 249 // A client may pad an inchoate client hello to a size larger than
249 // kClientHelloMinimumSize to make it more likely to receive a complete 250 // kClientHelloMinimumSize to make it more likely to receive a complete
250 // rejection message. 251 // rejection message.
251 const size_t kClientHelloMinimumSize = 1024; 252 const size_t kClientHelloMinimumSize = 1024;
252 253
253 } // namespace net 254 } // namespace net
254 255
255 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ 256 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/core/crypto/crypto_handshake_message.h ('k') | net/quic/core/crypto/crypto_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698