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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 const QuicTag kNONC = TAG('N', 'O', 'N', 'C'); // The client's nonce | 140 const QuicTag kNONC = TAG('N', 'O', 'N', 'C'); // The client's nonce |
141 const QuicTag kNONP = TAG('N', 'O', 'N', 'P'); // The client's proof nonce | 141 const QuicTag kNONP = TAG('N', 'O', 'N', 'P'); // The client's proof nonce |
142 const QuicTag kKEXS = TAG('K', 'E', 'X', 'S'); // Key exchange methods | 142 const QuicTag kKEXS = TAG('K', 'E', 'X', 'S'); // Key exchange methods |
143 const QuicTag kAEAD = TAG('A', 'E', 'A', 'D'); // Authenticated | 143 const QuicTag kAEAD = TAG('A', 'E', 'A', 'D'); // Authenticated |
144 // encryption algorithms | 144 // encryption algorithms |
145 const QuicTag kCOPT = TAG('C', 'O', 'P', 'T'); // Connection options | 145 const QuicTag kCOPT = TAG('C', 'O', 'P', 'T'); // Connection options |
146 const QuicTag kICSL = TAG('I', 'C', 'S', 'L'); // Idle connection state | 146 const QuicTag kICSL = TAG('I', 'C', 'S', 'L'); // Idle connection state |
147 // lifetime | 147 // lifetime |
148 const QuicTag kSCLS = TAG('S', 'C', 'L', 'S'); // Silently close on timeout | 148 const QuicTag kSCLS = TAG('S', 'C', 'L', 'S'); // Silently close on timeout |
149 const QuicTag kMSPC = TAG('M', 'S', 'P', 'C'); // Max streams per connection. | 149 const QuicTag kMSPC = TAG('M', 'S', 'P', 'C'); // Max streams per connection. |
| 150 const QuicTag kMIDS = TAG('M', 'I', 'D', 'S'); // Max incoming dynamic streams |
150 const QuicTag kIRTT = TAG('I', 'R', 'T', 'T'); // Estimated initial RTT in us. | 151 const QuicTag kIRTT = TAG('I', 'R', 'T', 'T'); // Estimated initial RTT in us. |
151 const QuicTag kSWND = TAG('S', 'W', 'N', 'D'); // Server's Initial congestion | 152 const QuicTag kSWND = TAG('S', 'W', 'N', 'D'); // Server's Initial congestion |
152 // window. | 153 // window. |
153 const QuicTag kSNI = TAG('S', 'N', 'I', '\0'); // Server name | 154 const QuicTag kSNI = TAG('S', 'N', 'I', '\0'); // Server name |
154 // indication | 155 // indication |
155 const QuicTag kPUBS = TAG('P', 'U', 'B', 'S'); // Public key values | 156 const QuicTag kPUBS = TAG('P', 'U', 'B', 'S'); // Public key values |
156 const QuicTag kSCID = TAG('S', 'C', 'I', 'D'); // Server config id | 157 const QuicTag kSCID = TAG('S', 'C', 'I', 'D'); // Server config id |
157 const QuicTag kORBT = TAG('O', 'B', 'I', 'T'); // Server orbit. | 158 const QuicTag kORBT = TAG('O', 'B', 'I', 'T'); // Server orbit. |
158 const QuicTag kPDMD = TAG('P', 'D', 'M', 'D'); // Proof demand. | 159 const QuicTag kPDMD = TAG('P', 'D', 'M', 'D'); // Proof demand. |
159 const QuicTag kPROF = TAG('P', 'R', 'O', 'F'); // Proof (signature). | 160 const QuicTag kPROF = TAG('P', 'R', 'O', 'F'); // Proof (signature). |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 // amplification factor of any mirror DoS attack. | 241 // amplification factor of any mirror DoS attack. |
241 // | 242 // |
242 // A client may pad an inchoate client hello to a size larger than | 243 // A client may pad an inchoate client hello to a size larger than |
243 // kClientHelloMinimumSize to make it more likely to receive a complete | 244 // kClientHelloMinimumSize to make it more likely to receive a complete |
244 // rejection message. | 245 // rejection message. |
245 const size_t kClientHelloMinimumSize = 1024; | 246 const size_t kClientHelloMinimumSize = 1024; |
246 | 247 |
247 } // namespace net | 248 } // namespace net |
248 | 249 |
249 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ | 250 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ |
OLD | NEW |