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

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

Issue 188333003: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compilation error - added NET_EXPORT_PRIVATE to QuicFixedUint32 Created 6 years, 9 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
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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 const QuicTag kSNI = TAG('S', 'N', 'I', '\0'); // Server name 73 const QuicTag kSNI = TAG('S', 'N', 'I', '\0'); // Server name
74 // indication 74 // indication
75 const QuicTag kPUBS = TAG('P', 'U', 'B', 'S'); // Public key values 75 const QuicTag kPUBS = TAG('P', 'U', 'B', 'S'); // Public key values
76 const QuicTag kSCID = TAG('S', 'C', 'I', 'D'); // Server config id 76 const QuicTag kSCID = TAG('S', 'C', 'I', 'D'); // Server config id
77 const QuicTag kORBT = TAG('O', 'B', 'I', 'T'); // Server orbit. 77 const QuicTag kORBT = TAG('O', 'B', 'I', 'T'); // Server orbit.
78 const QuicTag kPDMD = TAG('P', 'D', 'M', 'D'); // Proof demand. 78 const QuicTag kPDMD = TAG('P', 'D', 'M', 'D'); // Proof demand.
79 const QuicTag kPROF = TAG('P', 'R', 'O', 'F'); // Proof (signature). 79 const QuicTag kPROF = TAG('P', 'R', 'O', 'F'); // Proof (signature).
80 const QuicTag kCCS = TAG('C', 'C', 'S', 0); // Common certificate set 80 const QuicTag kCCS = TAG('C', 'C', 'S', 0); // Common certificate set
81 const QuicTag kCCRT = TAG('C', 'C', 'R', 'T'); // Cached certificate 81 const QuicTag kCCRT = TAG('C', 'C', 'R', 'T'); // Cached certificate
82 const QuicTag kEXPY = TAG('E', 'X', 'P', 'Y'); // Expiry 82 const QuicTag kEXPY = TAG('E', 'X', 'P', 'Y'); // Expiry
83 const QuicTag kIFCW = TAG('I', 'F', 'C', 'W'); // Initial flow control receive
84 // window.
83 85
84 // Server hello tags 86 // Server hello tags
85 const QuicTag kCADR = TAG('C', 'A', 'D', 'R'); // Client IP address and port 87 const QuicTag kCADR = TAG('C', 'A', 'D', 'R'); // Client IP address and port
86 88
87 // CETV tags 89 // CETV tags
88 const QuicTag kCIDK = TAG('C', 'I', 'D', 'K'); // ChannelID key 90 const QuicTag kCIDK = TAG('C', 'I', 'D', 'K'); // ChannelID key
89 const QuicTag kCIDS = TAG('C', 'I', 'D', 'S'); // ChannelID signature 91 const QuicTag kCIDS = TAG('C', 'I', 'D', 'S'); // ChannelID signature
90 92
91 // Public reset tags 93 // Public reset tags
92 const QuicTag kRNON = TAG('R', 'N', 'O', 'N'); // Public reset nonce proof 94 const QuicTag kRNON = TAG('R', 'N', 'O', 'N'); // Public reset nonce proof
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 // amplification factor of any mirror DoS attack. 136 // amplification factor of any mirror DoS attack.
135 // 137 //
136 // A client may pad an inchoate client hello to a size larger than 138 // A client may pad an inchoate client hello to a size larger than
137 // kClientHelloMinimumSize to make it more likely to receive a complete 139 // kClientHelloMinimumSize to make it more likely to receive a complete
138 // rejection message. 140 // rejection message.
139 const size_t kClientHelloMinimumSize = 1024; 141 const size_t kClientHelloMinimumSize = 1024;
140 142
141 } // namespace net 143 } // namespace net
142 144
143 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ 145 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/congestion_control/time_loss_algorithm_test.cc ('k') | net/quic/crypto/crypto_server_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698