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

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

Issue 2002103002: Implement a QUIC No PRR connection option, NPRR. Protected by FLAGS_quic_allow_no_prr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@122422703
Patch Set: Created 4 years, 7 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_packets_test.cc ('k') | net/quic/quic_flags.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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 const QuicTag kTLPR = TAG('T', 'L', 'P', 'R'); // Tail loss probe delay of 91 const QuicTag kTLPR = TAG('T', 'L', 'P', 'R'); // Tail loss probe delay of
92 // 0.5RTT. 92 // 0.5RTT.
93 const QuicTag kACKD = TAG('A', 'C', 'K', 'D'); // Ack decimation style acking. 93 const QuicTag kACKD = TAG('A', 'C', 'K', 'D'); // Ack decimation style acking.
94 const QuicTag kAKD2 = TAG('A', 'K', 'D', '2'); // Ack decimation tolerating 94 const QuicTag kAKD2 = TAG('A', 'K', 'D', '2'); // Ack decimation tolerating
95 // out of order packets. 95 // out of order packets.
96 const QuicTag kAKD3 = TAG('A', 'K', 'D', '3'); // Ack decimation style acking 96 const QuicTag kAKD3 = TAG('A', 'K', 'D', '3'); // Ack decimation style acking
97 // with 1/8 RTT acks. 97 // with 1/8 RTT acks.
98 const QuicTag kAKD4 = TAG('A', 'K', 'D', '4'); // Ack decimation with 1/8 RTT 98 const QuicTag kAKD4 = TAG('A', 'K', 'D', '4'); // Ack decimation with 1/8 RTT
99 // tolerating out of order. 99 // tolerating out of order.
100 const QuicTag kSSLR = TAG('S', 'S', 'L', 'R'); // Slow Start Large Reduction. 100 const QuicTag kSSLR = TAG('S', 'S', 'L', 'R'); // Slow Start Large Reduction.
101 const QuicTag kNPRR = TAG('N', 'P', 'R', 'R'); // Pace at unity instead of PRR
101 const QuicTag k5RTO = TAG('5', 'R', 'T', 'O'); // Close connection on 5 RTOs 102 const QuicTag k5RTO = TAG('5', 'R', 'T', 'O'); // Close connection on 5 RTOs
102 const QuicTag kCTIM = TAG('C', 'T', 'I', 'M'); // Client timestamp in seconds 103 const QuicTag kCTIM = TAG('C', 'T', 'I', 'M'); // Client timestamp in seconds
103 // since UNIX epoch. 104 // since UNIX epoch.
104 const QuicTag kDHDT = TAG('D', 'H', 'D', 'T'); // Disable HPACK dynamic table. 105 const QuicTag kDHDT = TAG('D', 'H', 'D', 'T'); // Disable HPACK dynamic table.
105 const QuicTag kIPFS = TAG('I', 'P', 'F', 'S'); // Immediate Forward Secrecy. 106 const QuicTag kIPFS = TAG('I', 'P', 'F', 'S'); // Immediate Forward Secrecy.
106 107
107 // Optional support of truncated Connection IDs. If sent by a peer, the value 108 // Optional support of truncated Connection IDs. If sent by a peer, the value
108 // is the minimum number of bytes allowed for the connection ID sent to the 109 // is the minimum number of bytes allowed for the connection ID sent to the
109 // peer. 110 // peer.
110 const QuicTag kTCID = TAG('T', 'C', 'I', 'D'); // Connection ID truncation. 111 const QuicTag kTCID = TAG('T', 'C', 'I', 'D'); // Connection ID truncation.
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 // amplification factor of any mirror DoS attack. 237 // amplification factor of any mirror DoS attack.
237 // 238 //
238 // A client may pad an inchoate client hello to a size larger than 239 // A client may pad an inchoate client hello to a size larger than
239 // kClientHelloMinimumSize to make it more likely to receive a complete 240 // kClientHelloMinimumSize to make it more likely to receive a complete
240 // rejection message. 241 // rejection message.
241 const size_t kClientHelloMinimumSize = 1024; 242 const size_t kClientHelloMinimumSize = 1024;
242 243
243 } // namespace net 244 } // namespace net
244 245
245 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ 246 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/congestion_control/tcp_cubic_sender_packets_test.cc ('k') | net/quic/quic_flags.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698