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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 const QuicTag kSRBF = TAG('S', 'R', 'B', 'F'); // Socket receive buffer | 50 const QuicTag kSRBF = TAG('S', 'R', 'B', 'F'); // Socket receive buffer |
51 | 51 |
52 // Congestion control feedback types | 52 // Congestion control feedback types |
53 const QuicTag kQBIC = TAG('Q', 'B', 'I', 'C'); // TCP cubic | 53 const QuicTag kQBIC = TAG('Q', 'B', 'I', 'C'); // TCP cubic |
54 | 54 |
55 // Connection options (COPT) values | 55 // Connection options (COPT) values |
56 const QuicTag kTBBR = TAG('T', 'B', 'B', 'R'); // Reduced Buffer Bloat TCP | 56 const QuicTag kTBBR = TAG('T', 'B', 'B', 'R'); // Reduced Buffer Bloat TCP |
57 const QuicTag kRENO = TAG('R', 'E', 'N', 'O'); // Reno Congestion Control | 57 const QuicTag kRENO = TAG('R', 'E', 'N', 'O'); // Reno Congestion Control |
58 const QuicTag kBYTE = TAG('B', 'Y', 'T', 'E'); // TCP cubic or reno in bytes | 58 const QuicTag kBYTE = TAG('B', 'Y', 'T', 'E'); // TCP cubic or reno in bytes |
59 const QuicTag kIW10 = TAG('I', 'W', '1', '0'); // Force ICWND to 10 | 59 const QuicTag kIW10 = TAG('I', 'W', '1', '0'); // Force ICWND to 10 |
60 const QuicTag kPACE = TAG('P', 'A', 'C', 'E'); // Enable pacing | |
61 const QuicTag k1CON = TAG('1', 'C', 'O', 'N'); // Emulate a single connection | 60 const QuicTag k1CON = TAG('1', 'C', 'O', 'N'); // Emulate a single connection |
62 const QuicTag kNTLP = TAG('N', 'T', 'L', 'P'); // No tail loss probe | 61 const QuicTag kNTLP = TAG('N', 'T', 'L', 'P'); // No tail loss probe |
63 const QuicTag kNCON = TAG('N', 'C', 'O', 'N'); // N Connection Congestion Ctrl | 62 const QuicTag kNCON = TAG('N', 'C', 'O', 'N'); // N Connection Congestion Ctrl |
64 const QuicTag kNRTO = TAG('N', 'R', 'T', 'O'); // CWND reduction on loss | 63 const QuicTag kNRTO = TAG('N', 'R', 'T', 'O'); // CWND reduction on loss |
65 const QuicTag kTIME = TAG('T', 'I', 'M', 'E'); // Time based loss detection | 64 const QuicTag kTIME = TAG('T', 'I', 'M', 'E'); // Time based loss detection |
66 const QuicTag kMIN1 = TAG('M', 'I', 'N', '1'); // Min CWND of 1 packet | 65 const QuicTag kMIN1 = TAG('M', 'I', 'N', '1'); // Min CWND of 1 packet |
67 const QuicTag kMIN4 = TAG('M', 'I', 'N', '4'); // Min CWND of 4 packets, | 66 const QuicTag kMIN4 = TAG('M', 'I', 'N', '4'); // Min CWND of 4 packets, |
68 // with a min rate of 1 BDP. | 67 // with a min rate of 1 BDP. |
69 | 68 |
70 // Optional support of truncated Connection IDs. If sent by a peer, the value | 69 // Optional support of truncated Connection IDs. If sent by a peer, the value |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 // amplification factor of any mirror DoS attack. | 176 // amplification factor of any mirror DoS attack. |
178 // | 177 // |
179 // A client may pad an inchoate client hello to a size larger than | 178 // A client may pad an inchoate client hello to a size larger than |
180 // kClientHelloMinimumSize to make it more likely to receive a complete | 179 // kClientHelloMinimumSize to make it more likely to receive a complete |
181 // rejection message. | 180 // rejection message. |
182 const size_t kClientHelloMinimumSize = 1024; | 181 const size_t kClientHelloMinimumSize = 1024; |
183 | 182 |
184 } // namespace net | 183 } // namespace net |
185 | 184 |
186 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ | 185 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ |
OLD | NEW |