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

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

Issue 605733006: Land Recent QUIC Changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert Patch Set 3 Created 6 years, 2 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/crypto/crypto_handshake_message.cc ('k') | net/quic/crypto/source_address_token.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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 74
75 // Client hello tags 75 // Client hello tags
76 const QuicTag kVER = TAG('V', 'E', 'R', '\0'); // Version (new) 76 const QuicTag kVER = TAG('V', 'E', 'R', '\0'); // Version (new)
77 const QuicTag kNONC = TAG('N', 'O', 'N', 'C'); // The client's nonce 77 const QuicTag kNONC = TAG('N', 'O', 'N', 'C'); // The client's nonce
78 const QuicTag kKEXS = TAG('K', 'E', 'X', 'S'); // Key exchange methods 78 const QuicTag kKEXS = TAG('K', 'E', 'X', 'S'); // Key exchange methods
79 const QuicTag kAEAD = TAG('A', 'E', 'A', 'D'); // Authenticated 79 const QuicTag kAEAD = TAG('A', 'E', 'A', 'D'); // Authenticated
80 // encryption algorithms 80 // encryption algorithms
81 const QuicTag kCGST = TAG('C', 'G', 'S', 'T'); // Congestion control 81 const QuicTag kCGST = TAG('C', 'G', 'S', 'T'); // Congestion control
82 // feedback types 82 // feedback types
83 const QuicTag kCOPT = TAG('C', 'O', 'P', 'T'); // Connection options 83 const QuicTag kCOPT = TAG('C', 'O', 'P', 'T'); // Connection options
84 // kLOSS was 'L', 'O', 'S', 'S', but was changed from a tag vector to a tag.
85 const QuicTag kLOSS = TAG('L', 'O', 'S', 'A'); // Loss detection algorithms
86 const QuicTag kICSL = TAG('I', 'C', 'S', 'L'); // Idle connection state 84 const QuicTag kICSL = TAG('I', 'C', 'S', 'L'); // Idle connection state
87 // lifetime 85 // lifetime
88 const QuicTag kKATO = TAG('K', 'A', 'T', 'O'); // Keepalive timeout 86 const QuicTag kKATO = TAG('K', 'A', 'T', 'O'); // Keepalive timeout
89 const QuicTag kMSPC = TAG('M', 'S', 'P', 'C'); // Max streams per connection. 87 const QuicTag kMSPC = TAG('M', 'S', 'P', 'C'); // Max streams per connection.
90 const QuicTag kIRTT = TAG('I', 'R', 'T', 'T'); // Estimated initial RTT in us. 88 const QuicTag kIRTT = TAG('I', 'R', 'T', 'T'); // Estimated initial RTT in us.
91 const QuicTag kSWND = TAG('S', 'W', 'N', 'D'); // Server's Initial congestion 89 const QuicTag kSWND = TAG('S', 'W', 'N', 'D'); // Server's Initial congestion
92 // window. 90 // window.
93 const QuicTag kSNI = TAG('S', 'N', 'I', '\0'); // Server name 91 const QuicTag kSNI = TAG('S', 'N', 'I', '\0'); // Server name
94 // indication 92 // indication
95 const QuicTag kPUBS = TAG('P', 'U', 'B', 'S'); // Public key values 93 const QuicTag kPUBS = TAG('P', 'U', 'B', 'S'); // Public key values
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 // amplification factor of any mirror DoS attack. 164 // amplification factor of any mirror DoS attack.
167 // 165 //
168 // A client may pad an inchoate client hello to a size larger than 166 // A client may pad an inchoate client hello to a size larger than
169 // kClientHelloMinimumSize to make it more likely to receive a complete 167 // kClientHelloMinimumSize to make it more likely to receive a complete
170 // rejection message. 168 // rejection message.
171 const size_t kClientHelloMinimumSize = 1024; 169 const size_t kClientHelloMinimumSize = 1024;
172 170
173 } // namespace net 171 } // namespace net
174 172
175 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ 173 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/crypto/crypto_handshake_message.cc ('k') | net/quic/crypto/source_address_token.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698