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

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

Issue 188183002: Allow fixed (non-negotiated) values to be sent in QUIC CHLO/SHLO. Also (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« 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 <string> 8 #include <string>
9 9
10 #include "net/base/net_export.h" 10 #include "net/base/net_export.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 const QuicTag kSNI = TAG('S', 'N', 'I', '\0'); // Server name 75 const QuicTag kSNI = TAG('S', 'N', 'I', '\0'); // Server name
76 // indication 76 // indication
77 const QuicTag kPUBS = TAG('P', 'U', 'B', 'S'); // Public key values 77 const QuicTag kPUBS = TAG('P', 'U', 'B', 'S'); // Public key values
78 const QuicTag kSCID = TAG('S', 'C', 'I', 'D'); // Server config id 78 const QuicTag kSCID = TAG('S', 'C', 'I', 'D'); // Server config id
79 const QuicTag kORBT = TAG('O', 'B', 'I', 'T'); // Server orbit. 79 const QuicTag kORBT = TAG('O', 'B', 'I', 'T'); // Server orbit.
80 const QuicTag kPDMD = TAG('P', 'D', 'M', 'D'); // Proof demand. 80 const QuicTag kPDMD = TAG('P', 'D', 'M', 'D'); // Proof demand.
81 const QuicTag kPROF = TAG('P', 'R', 'O', 'F'); // Proof (signature). 81 const QuicTag kPROF = TAG('P', 'R', 'O', 'F'); // Proof (signature).
82 const QuicTag kCCS = TAG('C', 'C', 'S', 0); // Common certificate set 82 const QuicTag kCCS = TAG('C', 'C', 'S', 0); // Common certificate set
83 const QuicTag kCCRT = TAG('C', 'C', 'R', 'T'); // Cached certificate 83 const QuicTag kCCRT = TAG('C', 'C', 'R', 'T'); // Cached certificate
84 const QuicTag kEXPY = TAG('E', 'X', 'P', 'Y'); // Expiry 84 const QuicTag kEXPY = TAG('E', 'X', 'P', 'Y'); // Expiry
85 const QuicTag kIFCW = TAG('I', 'F', 'C', 'W'); // Initial flow control receive
86 // window.
85 87
86 // Server hello tags 88 // Server hello tags
87 const QuicTag kCADR = TAG('C', 'A', 'D', 'R'); // Client IP address and port 89 const QuicTag kCADR = TAG('C', 'A', 'D', 'R'); // Client IP address and port
88 90
89 // CETV tags 91 // CETV tags
90 const QuicTag kCIDK = TAG('C', 'I', 'D', 'K'); // ChannelID key 92 const QuicTag kCIDK = TAG('C', 'I', 'D', 'K'); // ChannelID key
91 const QuicTag kCIDS = TAG('C', 'I', 'D', 'S'); // ChannelID signature 93 const QuicTag kCIDS = TAG('C', 'I', 'D', 'S'); // ChannelID signature
92 94
93 // Public reset tags 95 // Public reset tags
94 const QuicTag kRNON = TAG('R', 'N', 'O', 'N'); // Public reset nonce proof 96 const QuicTag kRNON = TAG('R', 'N', 'O', 'N'); // Public reset nonce proof
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 144
143 // kClientHelloMinimumSizeOld is the previous value of kClientHelloMinimumSize. 145 // kClientHelloMinimumSizeOld is the previous value of kClientHelloMinimumSize.
144 // To support old clients, the server only enforces this size. 146 // To support old clients, the server only enforces this size.
145 // TODO(wtc): Replace it with kClientHelloMinimumSize when we drop support for 147 // TODO(wtc): Replace it with kClientHelloMinimumSize when we drop support for
146 // QUIC_VERSION_12 clients. 148 // QUIC_VERSION_12 clients.
147 const size_t kClientHelloMinimumSizeOld = 512; 149 const size_t kClientHelloMinimumSizeOld = 512;
148 150
149 } // namespace net 151 } // namespace net
150 152
151 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ 153 #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