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

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

Issue 1785863002: Remove FEC related connection options and update FEC related comment in code base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@116555910
Patch Set: 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
« no previous file with comments | « no previous file | net/quic/quic_config_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 95
96 // 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
97 // 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
98 // peer. 98 // peer.
99 const QuicTag kTCID = TAG('T', 'C', 'I', 'D'); // Connection ID truncation. 99 const QuicTag kTCID = TAG('T', 'C', 'I', 'D'); // Connection ID truncation.
100 100
101 // Multipath option. 101 // Multipath option.
102 const QuicTag kMPTH = TAG('M', 'P', 'T', 'H'); // Enable multipath. 102 const QuicTag kMPTH = TAG('M', 'P', 'T', 'H'); // Enable multipath.
103 103
104 // FEC options
105 const QuicTag kFHDR = TAG('F', 'H', 'D', 'R'); // FEC protect headers
106 const QuicTag kFSTR = TAG('F', 'S', 'T', 'R'); // FEC protect all streams
107 // Set FecSendPolicy for sending FEC packet only when FEC alarm goes off.
108 const QuicTag kFSPA = TAG('F', 'S', 'P', 'A');
109 // Run an experiment that sets FecTimeOut alarm to 0.25RTT.
110 // TODO(rtenneti): Delete it after the experiment.
111 const QuicTag kFRTT = TAG('F', 'R', 'T', 'T');
112
113 // Enable bandwidth resumption experiment. 104 // Enable bandwidth resumption experiment.
114 const QuicTag kBWRE = TAG('B', 'W', 'R', 'E'); // Bandwidth resumption. 105 const QuicTag kBWRE = TAG('B', 'W', 'R', 'E'); // Bandwidth resumption.
115 const QuicTag kBWMX = TAG('B', 'W', 'M', 'X'); // Max bandwidth resumption. 106 const QuicTag kBWMX = TAG('B', 'W', 'M', 'X'); // Max bandwidth resumption.
116 const QuicTag kBWRS = TAG('B', 'W', 'R', 'S'); // Server bandwidth resumption. 107 const QuicTag kBWRS = TAG('B', 'W', 'R', 'S'); // Server bandwidth resumption.
117 108
118 // Enable path MTU discovery experiment. 109 // Enable path MTU discovery experiment.
119 const QuicTag kMTUH = TAG('M', 'T', 'U', 'H'); // High-target MTU discovery. 110 const QuicTag kMTUH = TAG('M', 'T', 'U', 'H'); // High-target MTU discovery.
120 const QuicTag kMTUL = TAG('M', 'T', 'U', 'L'); // Low-target MTU discovery. 111 const QuicTag kMTUL = TAG('M', 'T', 'U', 'L'); // Low-target MTU discovery.
121 112
122 // Proof types (i.e. certificate types) 113 // Proof types (i.e. certificate types)
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 // amplification factor of any mirror DoS attack. 214 // amplification factor of any mirror DoS attack.
224 // 215 //
225 // A client may pad an inchoate client hello to a size larger than 216 // A client may pad an inchoate client hello to a size larger than
226 // kClientHelloMinimumSize to make it more likely to receive a complete 217 // kClientHelloMinimumSize to make it more likely to receive a complete
227 // rejection message. 218 // rejection message.
228 const size_t kClientHelloMinimumSize = 1024; 219 const size_t kClientHelloMinimumSize = 1024;
229 220
230 } // namespace net 221 } // namespace net
231 222
232 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ 223 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_
OLDNEW
« no previous file with comments | « no previous file | net/quic/quic_config_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698