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

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

Issue 2011933002: Add alternate server address to QuicConfig. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@122546126
Patch Set: Created 4 years, 7 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 | « no previous file | 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 const QuicTag kXLCT = TAG('X', 'L', 'C', 'T'); // Expected leaf certificate. 167 const QuicTag kXLCT = TAG('X', 'L', 'C', 'T'); // Expected leaf certificate.
168 const QuicTag kTBKP = TAG('T', 'B', 'K', 'P'); // Token Binding key params. 168 const QuicTag kTBKP = TAG('T', 'B', 'K', 'P'); // Token Binding key params.
169 169
170 // Rejection tags 170 // Rejection tags
171 const QuicTag kRREJ = TAG('R', 'R', 'E', 'J'); // Reasons for server sending 171 const QuicTag kRREJ = TAG('R', 'R', 'E', 'J'); // Reasons for server sending
172 // Stateless Reject tags 172 // Stateless Reject tags
173 const QuicTag kRCID = TAG('R', 'C', 'I', 'D'); // Server-designated 173 const QuicTag kRCID = TAG('R', 'C', 'I', 'D'); // Server-designated
174 // connection ID 174 // connection ID
175 // Server hello tags 175 // Server hello tags
176 const QuicTag kCADR = TAG('C', 'A', 'D', 'R'); // Client IP address and port 176 const QuicTag kCADR = TAG('C', 'A', 'D', 'R'); // Client IP address and port
177 const QuicTag kASAD = TAG('A', 'S', 'A', 'D'); // Alternate Server IP address
178 // and port.
177 179
178 // CETV tags 180 // CETV tags
179 const QuicTag kCIDK = TAG('C', 'I', 'D', 'K'); // ChannelID key 181 const QuicTag kCIDK = TAG('C', 'I', 'D', 'K'); // ChannelID key
180 const QuicTag kCIDS = TAG('C', 'I', 'D', 'S'); // ChannelID signature 182 const QuicTag kCIDS = TAG('C', 'I', 'D', 'S'); // ChannelID signature
181 183
182 // Public reset tags 184 // Public reset tags
183 const QuicTag kRNON = TAG('R', 'N', 'O', 'N'); // Public reset nonce proof 185 const QuicTag kRNON = TAG('R', 'N', 'O', 'N'); // Public reset nonce proof
184 const QuicTag kRSEQ = TAG('R', 'S', 'E', 'Q'); // Rejected packet number 186 const QuicTag kRSEQ = TAG('R', 'S', 'E', 'Q'); // Rejected packet number
185 187
186 // Universal tags 188 // Universal tags
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 // amplification factor of any mirror DoS attack. 239 // amplification factor of any mirror DoS attack.
238 // 240 //
239 // A client may pad an inchoate client hello to a size larger than 241 // A client may pad an inchoate client hello to a size larger than
240 // kClientHelloMinimumSize to make it more likely to receive a complete 242 // kClientHelloMinimumSize to make it more likely to receive a complete
241 // rejection message. 243 // rejection message.
242 const size_t kClientHelloMinimumSize = 1024; 244 const size_t kClientHelloMinimumSize = 1024;
243 245
244 } // namespace net 246 } // namespace net
245 247
246 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ 248 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_
OLDNEW
« no previous file with comments | « no previous file | net/quic/quic_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698