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

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

Issue 355573007: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added NET_EXPORT_PRIVATE for ContainsQuicTag Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « net/quic/crypto/crypto_handshake.h ('k') | net/quic/crypto/crypto_server_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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 const QuicTag kPACE = TAG('P', 'A', 'C', 'E'); // Paced TCP cubic 47 const QuicTag kPACE = TAG('P', 'A', 'C', 'E'); // Paced TCP cubic
48 const QuicTag kINAR = TAG('I', 'N', 'A', 'R'); // Inter arrival 48 const QuicTag kINAR = TAG('I', 'N', 'A', 'R'); // Inter arrival
49 49
50 // Congestion control options 50 // Congestion control options
51 const QuicTag kTBBR = TAG('T', 'B', 'B', 'R'); // Reduced Buffer Bloat TCP 51 const QuicTag kTBBR = TAG('T', 'B', 'B', 'R'); // Reduced Buffer Bloat TCP
52 52
53 // Loss detection algorithm types 53 // Loss detection algorithm types
54 const QuicTag kNACK = TAG('N', 'A', 'C', 'K'); // TCP style nack counting 54 const QuicTag kNACK = TAG('N', 'A', 'C', 'K'); // TCP style nack counting
55 const QuicTag kTIME = TAG('T', 'I', 'M', 'E'); // Time based 55 const QuicTag kTIME = TAG('T', 'I', 'M', 'E'); // Time based
56 56
57 // FEC options
58 const QuicTag kFHDR = TAG('F', 'H', 'D', 'R'); // FEC protect headers
59
57 // Proof types (i.e. certificate types) 60 // Proof types (i.e. certificate types)
58 // NOTE: although it would be silly to do so, specifying both kX509 and kX59R 61 // NOTE: although it would be silly to do so, specifying both kX509 and kX59R
59 // is allowed and is equivalent to specifying only kX509. 62 // is allowed and is equivalent to specifying only kX509.
60 const QuicTag kX509 = TAG('X', '5', '0', '9'); // X.509 certificate, all key 63 const QuicTag kX509 = TAG('X', '5', '0', '9'); // X.509 certificate, all key
61 // types 64 // types
62 const QuicTag kX59R = TAG('X', '5', '9', 'R'); // X.509 certificate, RSA keys 65 const QuicTag kX59R = TAG('X', '5', '9', 'R'); // X.509 certificate, RSA keys
63 // only 66 // only
64 const QuicTag kCHID = TAG('C', 'H', 'I', 'D'); // Channel ID. 67 const QuicTag kCHID = TAG('C', 'H', 'I', 'D'); // Channel ID.
65 68
66 // Client hello tags 69 // Client hello tags
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 // amplification factor of any mirror DoS attack. 160 // amplification factor of any mirror DoS attack.
158 // 161 //
159 // A client may pad an inchoate client hello to a size larger than 162 // A client may pad an inchoate client hello to a size larger than
160 // kClientHelloMinimumSize to make it more likely to receive a complete 163 // kClientHelloMinimumSize to make it more likely to receive a complete
161 // rejection message. 164 // rejection message.
162 const size_t kClientHelloMinimumSize = 1024; 165 const size_t kClientHelloMinimumSize = 1024;
163 166
164 } // namespace net 167 } // namespace net
165 168
166 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ 169 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/crypto/crypto_handshake.h ('k') | net/quic/crypto/crypto_server_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698