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

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

Issue 786123002: Update from https://crrev.com/307330 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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/crypto/crypto_handshake_message.cc ('k') | net/quic/crypto/crypto_utils_test.cc » ('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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 const QuicTag kVER = TAG('V', 'E', 'R', '\0'); // Version (new) 87 const QuicTag kVER = TAG('V', 'E', 'R', '\0'); // Version (new)
88 const QuicTag kNONC = TAG('N', 'O', 'N', 'C'); // The client's nonce 88 const QuicTag kNONC = TAG('N', 'O', 'N', 'C'); // The client's nonce
89 const QuicTag kKEXS = TAG('K', 'E', 'X', 'S'); // Key exchange methods 89 const QuicTag kKEXS = TAG('K', 'E', 'X', 'S'); // Key exchange methods
90 const QuicTag kAEAD = TAG('A', 'E', 'A', 'D'); // Authenticated 90 const QuicTag kAEAD = TAG('A', 'E', 'A', 'D'); // Authenticated
91 // encryption algorithms 91 // encryption algorithms
92 const QuicTag kCGST = TAG('C', 'G', 'S', 'T'); // Congestion control 92 const QuicTag kCGST = TAG('C', 'G', 'S', 'T'); // Congestion control
93 // feedback types 93 // feedback types
94 const QuicTag kCOPT = TAG('C', 'O', 'P', 'T'); // Connection options 94 const QuicTag kCOPT = TAG('C', 'O', 'P', 'T'); // Connection options
95 const QuicTag kICSL = TAG('I', 'C', 'S', 'L'); // Idle connection state 95 const QuicTag kICSL = TAG('I', 'C', 'S', 'L'); // Idle connection state
96 // lifetime 96 // lifetime
97 const QuicTag kKATO = TAG('K', 'A', 'T', 'O'); // Keepalive timeout 97 const QuicTag kSCLS = TAG('S', 'C', 'L', 'S'); // Silently close on timeout
98 const QuicTag kMSPC = TAG('M', 'S', 'P', 'C'); // Max streams per connection. 98 const QuicTag kMSPC = TAG('M', 'S', 'P', 'C'); // Max streams per connection.
99 const QuicTag kIRTT = TAG('I', 'R', 'T', 'T'); // Estimated initial RTT in us. 99 const QuicTag kIRTT = TAG('I', 'R', 'T', 'T'); // Estimated initial RTT in us.
100 const QuicTag kSWND = TAG('S', 'W', 'N', 'D'); // Server's Initial congestion 100 const QuicTag kSWND = TAG('S', 'W', 'N', 'D'); // Server's Initial congestion
101 // window. 101 // window.
102 const QuicTag kSNI = TAG('S', 'N', 'I', '\0'); // Server name 102 const QuicTag kSNI = TAG('S', 'N', 'I', '\0'); // Server name
103 // indication 103 // indication
104 const QuicTag kPUBS = TAG('P', 'U', 'B', 'S'); // Public key values 104 const QuicTag kPUBS = TAG('P', 'U', 'B', 'S'); // Public key values
105 const QuicTag kSCID = TAG('S', 'C', 'I', 'D'); // Server config id 105 const QuicTag kSCID = TAG('S', 'C', 'I', 'D'); // Server config id
106 const QuicTag kORBT = TAG('O', 'B', 'I', 'T'); // Server orbit. 106 const QuicTag kORBT = TAG('O', 'B', 'I', 'T'); // Server orbit.
107 const QuicTag kPDMD = TAG('P', 'D', 'M', 'D'); // Proof demand. 107 const QuicTag kPDMD = TAG('P', 'D', 'M', 'D'); // Proof demand.
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 // amplification factor of any mirror DoS attack. 175 // amplification factor of any mirror DoS attack.
176 // 176 //
177 // A client may pad an inchoate client hello to a size larger than 177 // A client may pad an inchoate client hello to a size larger than
178 // kClientHelloMinimumSize to make it more likely to receive a complete 178 // kClientHelloMinimumSize to make it more likely to receive a complete
179 // rejection message. 179 // rejection message.
180 const size_t kClientHelloMinimumSize = 1024; 180 const size_t kClientHelloMinimumSize = 1024;
181 181
182 } // namespace net 182 } // namespace net
183 183
184 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ 184 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/crypto/crypto_handshake_message.cc ('k') | net/quic/crypto/crypto_utils_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698