Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Side by Side Diff: net/quic/crypto/crypto_protocol.h

Issue 1811043002: Landing Recent QUIC changes until 2016-03-15 16:26 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add an export clause. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 92 const QuicTag kAKD2 = TAG('A', 'K', 'D', '2'); // Ack decimation tolerating
93 // out of order packets. 93 // out of order packets.
94 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.
95 const QuicTag k5RTO = TAG('5', 'R', 'T', 'O'); // Close connection on 5 RTOs
95 96
96 // Optional support of truncated Connection IDs. If sent by a peer, the value 97 // Optional support of truncated Connection IDs. If sent by a peer, the value
97 // is the minimum number of bytes allowed for the connection ID sent to the 98 // is the minimum number of bytes allowed for the connection ID sent to the
98 // peer. 99 // peer.
99 const QuicTag kTCID = TAG('T', 'C', 'I', 'D'); // Connection ID truncation. 100 const QuicTag kTCID = TAG('T', 'C', 'I', 'D'); // Connection ID truncation.
100 101
101 // Multipath option. 102 // Multipath option.
102 const QuicTag kMPTH = TAG('M', 'P', 'T', 'H'); // Enable multipath. 103 const QuicTag kMPTH = TAG('M', 'P', 'T', 'H'); // Enable multipath.
103 104
105 const QuicTag kNCMR = TAG('N', 'C', 'M', 'R'); // Do not attempt connection
106 // migration.
107
104 // Enable bandwidth resumption experiment. 108 // Enable bandwidth resumption experiment.
105 const QuicTag kBWRE = TAG('B', 'W', 'R', 'E'); // Bandwidth resumption. 109 const QuicTag kBWRE = TAG('B', 'W', 'R', 'E'); // Bandwidth resumption.
106 const QuicTag kBWMX = TAG('B', 'W', 'M', 'X'); // Max bandwidth resumption. 110 const QuicTag kBWMX = TAG('B', 'W', 'M', 'X'); // Max bandwidth resumption.
107 const QuicTag kBWRS = TAG('B', 'W', 'R', 'S'); // Server bandwidth resumption. 111 const QuicTag kBWRS = TAG('B', 'W', 'R', 'S'); // Server bandwidth resumption.
108 112
109 // Enable path MTU discovery experiment. 113 // Enable path MTU discovery experiment.
110 const QuicTag kMTUH = TAG('M', 'T', 'U', 'H'); // High-target MTU discovery. 114 const QuicTag kMTUH = TAG('M', 'T', 'U', 'H'); // High-target MTU discovery.
111 const QuicTag kMTUL = TAG('M', 'T', 'U', 'L'); // Low-target MTU discovery. 115 const QuicTag kMTUL = TAG('M', 'T', 'U', 'L'); // Low-target MTU discovery.
112 116
113 // Proof types (i.e. certificate types) 117 // Proof types (i.e. certificate types)
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 // amplification factor of any mirror DoS attack. 223 // amplification factor of any mirror DoS attack.
220 // 224 //
221 // 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
222 // kClientHelloMinimumSize to make it more likely to receive a complete 226 // kClientHelloMinimumSize to make it more likely to receive a complete
223 // rejection message. 227 // rejection message.
224 const size_t kClientHelloMinimumSize = 1024; 228 const size_t kClientHelloMinimumSize = 1024;
225 229
226 } // namespace net 230 } // namespace net
227 231
228 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ 232 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/crypto/chacha20_poly1305_rfc7539_decrypter_test.cc ('k') | net/quic/crypto/crypto_server_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698