OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |