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

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

Issue 1037633002: Add a QUIC connection option(BWMX) to resume to the max bandwidth (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Populate_RTT_info_89043159
Patch Set: Created 5 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 | « net/quic/congestion_control/tcp_cubic_sender_test.cc ('k') | net/quic/quic_connection.h » ('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 <string> 8 #include <string>
9 9
10 #include "net/base/net_export.h" 10 #include "net/base/net_export.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 // Optional support of truncated Connection IDs. If sent by a peer, the value 66 // Optional support of truncated Connection IDs. If sent by a peer, the value
67 // is the minimum number of bytes allowed for the connection ID sent to the 67 // is the minimum number of bytes allowed for the connection ID sent to the
68 // peer. 68 // peer.
69 const QuicTag kTCID = TAG('T', 'C', 'I', 'D'); // Connection ID truncation. 69 const QuicTag kTCID = TAG('T', 'C', 'I', 'D'); // Connection ID truncation.
70 70
71 // FEC options 71 // FEC options
72 const QuicTag kFHDR = TAG('F', 'H', 'D', 'R'); // FEC protect headers 72 const QuicTag kFHDR = TAG('F', 'H', 'D', 'R'); // FEC protect headers
73 73
74 // Enable bandwidth resumption experiment. 74 // Enable bandwidth resumption experiment.
75 const QuicTag kBWRE = TAG('B', 'W', 'R', 'E'); // Bandwidth resumption. 75 const QuicTag kBWRE = TAG('B', 'W', 'R', 'E'); // Bandwidth resumption.
76 const QuicTag kBWMX = TAG('B', 'W', 'M', 'X'); // Max bandwidth resumption.
76 77
77 // Proof types (i.e. certificate types) 78 // Proof types (i.e. certificate types)
78 // NOTE: although it would be silly to do so, specifying both kX509 and kX59R 79 // NOTE: although it would be silly to do so, specifying both kX509 and kX59R
79 // is allowed and is equivalent to specifying only kX509. 80 // is allowed and is equivalent to specifying only kX509.
80 const QuicTag kX509 = TAG('X', '5', '0', '9'); // X.509 certificate, all key 81 const QuicTag kX509 = TAG('X', '5', '0', '9'); // X.509 certificate, all key
81 // types 82 // types
82 const QuicTag kX59R = TAG('X', '5', '9', 'R'); // X.509 certificate, RSA keys 83 const QuicTag kX59R = TAG('X', '5', '9', 'R'); // X.509 certificate, RSA keys
83 // only 84 // only
84 const QuicTag kCHID = TAG('C', 'H', 'I', 'D'); // Channel ID. 85 const QuicTag kCHID = TAG('C', 'H', 'I', 'D'); // Channel ID.
85 86
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 // amplification factor of any mirror DoS attack. 173 // amplification factor of any mirror DoS attack.
173 // 174 //
174 // A client may pad an inchoate client hello to a size larger than 175 // A client may pad an inchoate client hello to a size larger than
175 // kClientHelloMinimumSize to make it more likely to receive a complete 176 // kClientHelloMinimumSize to make it more likely to receive a complete
176 // rejection message. 177 // rejection message.
177 const size_t kClientHelloMinimumSize = 1024; 178 const size_t kClientHelloMinimumSize = 1024;
178 179
179 } // namespace net 180 } // namespace net
180 181
181 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ 182 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/congestion_control/tcp_cubic_sender_test.cc ('k') | net/quic/quic_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698