| 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_CORE_CRYPTO_CRYPTO_PROTOCOL_H_ | 5 #ifndef NET_QUIC_CORE_CRYPTO_CRYPTO_PROTOCOL_H_ |
| 6 #define NET_QUIC_CORE_CRYPTO_CRYPTO_PROTOCOL_H_ | 6 #define NET_QUIC_CORE_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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 // receive window to | 62 // receive window to |
| 63 // 32KB. (2^5 KB). | 63 // 32KB. (2^5 KB). |
| 64 const QuicTag kIFW6 = TAG('I', 'F', 'W', '6'); // Set initial size | 64 const QuicTag kIFW6 = TAG('I', 'F', 'W', '6'); // Set initial size |
| 65 // of stream flow control | 65 // of stream flow control |
| 66 // receive window to | 66 // receive window to |
| 67 // 64KB. (2^6 KB). | 67 // 64KB. (2^6 KB). |
| 68 const QuicTag kIFW7 = TAG('I', 'F', 'W', '7'); // Set initial size | 68 const QuicTag kIFW7 = TAG('I', 'F', 'W', '7'); // Set initial size |
| 69 // of stream flow control | 69 // of stream flow control |
| 70 // receive window to | 70 // receive window to |
| 71 // 128KB. (2^7 KB). | 71 // 128KB. (2^7 KB). |
| 72 const QuicTag kIFW8 = TAG('I', 'F', 'W', '8'); // Set initial size |
| 73 // of stream flow control |
| 74 // receive window to |
| 75 // 256KB. (2^8 KB). |
| 76 const QuicTag kIFW9 = TAG('I', 'F', 'W', '9'); // Set initial size |
| 77 // of stream flow control |
| 78 // receive window to |
| 79 // 512KB. (2^9 KB). |
| 80 const QuicTag kIFWA = TAG('I', 'F', 'W', 'a'); // Set initial size |
| 81 // of stream flow control |
| 82 // receive window to |
| 83 // 1MB. (2^0xa KB). |
| 72 const QuicTag kTBBR = TAG('T', 'B', 'B', 'R'); // Reduced Buffer Bloat TCP | 84 const QuicTag kTBBR = TAG('T', 'B', 'B', 'R'); // Reduced Buffer Bloat TCP |
| 73 const QuicTag kRENO = TAG('R', 'E', 'N', 'O'); // Reno Congestion Control | 85 const QuicTag kRENO = TAG('R', 'E', 'N', 'O'); // Reno Congestion Control |
| 74 const QuicTag kBYTE = TAG('B', 'Y', 'T', 'E'); // TCP cubic or reno in bytes | 86 const QuicTag kBYTE = TAG('B', 'Y', 'T', 'E'); // TCP cubic or reno in bytes |
| 75 const QuicTag kRATE = TAG('R', 'A', 'T', 'E'); // TCP cubic rate based sending | 87 const QuicTag kRATE = TAG('R', 'A', 'T', 'E'); // TCP cubic rate based sending |
| 76 const QuicTag kIW03 = TAG('I', 'W', '0', '3'); // Force ICWND to 3 | 88 const QuicTag kIW03 = TAG('I', 'W', '0', '3'); // Force ICWND to 3 |
| 77 const QuicTag kIW10 = TAG('I', 'W', '1', '0'); // Force ICWND to 10 | 89 const QuicTag kIW10 = TAG('I', 'W', '1', '0'); // Force ICWND to 10 |
| 78 const QuicTag kIW20 = TAG('I', 'W', '2', '0'); // Force ICWND to 20 | 90 const QuicTag kIW20 = TAG('I', 'W', '2', '0'); // Force ICWND to 20 |
| 79 const QuicTag kIW50 = TAG('I', 'W', '5', '0'); // Force ICWND to 50 | 91 const QuicTag kIW50 = TAG('I', 'W', '5', '0'); // Force ICWND to 50 |
| 80 const QuicTag k1CON = TAG('1', 'C', 'O', 'N'); // Emulate a single connection | 92 const QuicTag k1CON = TAG('1', 'C', 'O', 'N'); // Emulate a single connection |
| 81 const QuicTag kNTLP = TAG('N', 'T', 'L', 'P'); // No tail loss probe | 93 const QuicTag kNTLP = TAG('N', 'T', 'L', 'P'); // No tail loss probe |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 // amplification factor of any mirror DoS attack. | 267 // amplification factor of any mirror DoS attack. |
| 256 // | 268 // |
| 257 // A client may pad an inchoate client hello to a size larger than | 269 // A client may pad an inchoate client hello to a size larger than |
| 258 // kClientHelloMinimumSize to make it more likely to receive a complete | 270 // kClientHelloMinimumSize to make it more likely to receive a complete |
| 259 // rejection message. | 271 // rejection message. |
| 260 const size_t kClientHelloMinimumSize = 1024; | 272 const size_t kClientHelloMinimumSize = 1024; |
| 261 | 273 |
| 262 } // namespace net | 274 } // namespace net |
| 263 | 275 |
| 264 #endif // NET_QUIC_CORE_CRYPTO_CRYPTO_PROTOCOL_H_ | 276 #endif // NET_QUIC_CORE_CRYPTO_CRYPTO_PROTOCOL_H_ |
| OLD | NEW |