| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 const QuicTag kNTLP = TAG('N', 'T', 'L', 'P'); // No tail loss probe | 82 const QuicTag kNTLP = TAG('N', 'T', 'L', 'P'); // No tail loss probe |
| 83 const QuicTag kNCON = TAG('N', 'C', 'O', 'N'); // N Connection Congestion Ctrl | 83 const QuicTag kNCON = TAG('N', 'C', 'O', 'N'); // N Connection Congestion Ctrl |
| 84 const QuicTag kNRTO = TAG('N', 'R', 'T', 'O'); // CWND reduction on loss | 84 const QuicTag kNRTO = TAG('N', 'R', 'T', 'O'); // CWND reduction on loss |
| 85 const QuicTag kTIME = TAG('T', 'I', 'M', 'E'); // Time based loss detection | 85 const QuicTag kTIME = TAG('T', 'I', 'M', 'E'); // Time based loss detection |
| 86 const QuicTag kMIN1 = TAG('M', 'I', 'N', '1'); // Min CWND of 1 packet | 86 const QuicTag kMIN1 = TAG('M', 'I', 'N', '1'); // Min CWND of 1 packet |
| 87 const QuicTag kMIN4 = TAG('M', 'I', 'N', '4'); // Min CWND of 4 packets, | 87 const QuicTag kMIN4 = TAG('M', 'I', 'N', '4'); // Min CWND of 4 packets, |
| 88 // with a min rate of 1 BDP. | 88 // with a min rate of 1 BDP. |
| 89 const QuicTag kTLPR = TAG('T', 'L', 'P', 'R'); // Tail loss probe delay of | 89 const QuicTag kTLPR = TAG('T', 'L', 'P', 'R'); // Tail loss probe delay of |
| 90 // 0.5RTT. | 90 // 0.5RTT. |
| 91 const QuicTag kACKD = TAG('A', 'C', 'K', 'D'); // Ack decimation style acking. | 91 const QuicTag kACKD = TAG('A', 'C', 'K', 'D'); // Ack decimation style acking. |
| 92 const QuicTag kAKD2 = TAG('A', 'K', 'D', '2'); // Ack decimation tolerating |
| 93 // out of order packets. |
| 92 const QuicTag kSSLR = TAG('S', 'S', 'L', 'R'); // Slow Start Large Reduction. | 94 const QuicTag kSSLR = TAG('S', 'S', 'L', 'R'); // Slow Start Large Reduction. |
| 93 | 95 |
| 94 // Optional support of truncated Connection IDs. If sent by a peer, the value | 96 // Optional support of truncated Connection IDs. If sent by a peer, the value |
| 95 // is the minimum number of bytes allowed for the connection ID sent to the | 97 // is the minimum number of bytes allowed for the connection ID sent to the |
| 96 // peer. | 98 // peer. |
| 97 const QuicTag kTCID = TAG('T', 'C', 'I', 'D'); // Connection ID truncation. | 99 const QuicTag kTCID = TAG('T', 'C', 'I', 'D'); // Connection ID truncation. |
| 98 | 100 |
| 99 // Multipath option. | 101 // Multipath option. |
| 100 const QuicTag kMPTH = TAG('M', 'P', 'T', 'H'); // Enable multipath. | 102 const QuicTag kMPTH = TAG('M', 'P', 'T', 'H'); // Enable multipath. |
| 101 | 103 |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 // amplification factor of any mirror DoS attack. | 223 // amplification factor of any mirror DoS attack. |
| 222 // | 224 // |
| 223 // A client may pad an inchoate client hello to a size larger than | 225 // A client may pad an inchoate client hello to a size larger than |
| 224 // kClientHelloMinimumSize to make it more likely to receive a complete | 226 // kClientHelloMinimumSize to make it more likely to receive a complete |
| 225 // rejection message. | 227 // rejection message. |
| 226 const size_t kClientHelloMinimumSize = 1024; | 228 const size_t kClientHelloMinimumSize = 1024; |
| 227 | 229 |
| 228 } // namespace net | 230 } // namespace net |
| 229 | 231 |
| 230 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ | 232 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ |
| OLD | NEW |