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

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

Issue 851503003: Update from https://crrev.com/311076 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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/quic_config.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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
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.
108 const QuicTag kPROF = TAG('P', 'R', 'O', 'F'); // Proof (signature). 108 const QuicTag kPROF = TAG('P', 'R', 'O', 'F'); // Proof (signature).
109 const QuicTag kCCS = TAG('C', 'C', 'S', 0); // Common certificate set 109 const QuicTag kCCS = TAG('C', 'C', 'S', 0); // Common certificate set
110 const QuicTag kCCRT = TAG('C', 'C', 'R', 'T'); // Cached certificate 110 const QuicTag kCCRT = TAG('C', 'C', 'R', 'T'); // Cached certificate
111 const QuicTag kEXPY = TAG('E', 'X', 'P', 'Y'); // Expiry 111 const QuicTag kEXPY = TAG('E', 'X', 'P', 'Y'); // Expiry
112 // TODO(rjshade): Remove kIFCW when removing QUIC_VERSION_19.
113 const QuicTag kIFCW = TAG('I', 'F', 'C', 'W'); // Initial flow control receive
114 // window.
115 const QuicTag kSFCW = TAG('S', 'F', 'C', 'W'); // Initial stream flow control 112 const QuicTag kSFCW = TAG('S', 'F', 'C', 'W'); // Initial stream flow control
116 // receive window. 113 // receive window.
117 const QuicTag kCFCW = TAG('C', 'F', 'C', 'W'); // Initial session/connection 114 const QuicTag kCFCW = TAG('C', 'F', 'C', 'W'); // Initial session/connection
118 // flow control receive window. 115 // flow control receive window.
119 const QuicTag kUAID = TAG('U', 'A', 'I', 'D'); // Client's User Agent ID. 116 const QuicTag kUAID = TAG('U', 'A', 'I', 'D'); // Client's User Agent ID.
120 117
121 // Rejection tags 118 // Rejection tags
122 const QuicTag kRREJ = TAG('R', 'R', 'E', 'J'); // Reasons for server sending 119 const QuicTag kRREJ = TAG('R', 'R', 'E', 'J'); // Reasons for server sending
123 // rejection message tag. 120 // rejection message tag.
124 121
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 // amplification factor of any mirror DoS attack. 172 // amplification factor of any mirror DoS attack.
176 // 173 //
177 // A client may pad an inchoate client hello to a size larger than 174 // A client may pad an inchoate client hello to a size larger than
178 // kClientHelloMinimumSize to make it more likely to receive a complete 175 // kClientHelloMinimumSize to make it more likely to receive a complete
179 // rejection message. 176 // rejection message.
180 const size_t kClientHelloMinimumSize = 1024; 177 const size_t kClientHelloMinimumSize = 1024;
181 178
182 } // namespace net 179 } // namespace net
183 180
184 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ 181 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/crypto/crypto_handshake_message.cc ('k') | net/quic/quic_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698