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

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

Issue 2550453002: Fixed integer signing bug in cubic bytes/packet implementation (Closed)
Patch Set: Created 4 years 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 kNPRR = TAG('N', 'P', 'R', 'R'); // Pace at unity instead of PRR
102 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
103 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
104 // since UNIX epoch. 104 // since UNIX epoch.
105 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.
106 const QuicTag kCONH = TAG('C', 'O', 'N', 'H'); // Conservative Handshake 106 const QuicTag kCONH = TAG('C', 'O', 'N', 'H'); // Conservative Handshake
107 // Retransmissions. 107 // Retransmissions.
108 const QuicTag kLFAK = TAG('L', 'F', 'A', 'K'); // Don't invoke FACK on the 108 const QuicTag kLFAK = TAG('L', 'F', 'A', 'K'); // Don't invoke FACK on the
109 // first ack. 109 // first ack.
110 const QuicTag kCCVX = TAG('C', 'C', 'V', 'X'); // Fix Cubic convex bug.
110 111
111 // Optional support of truncated Connection IDs. If sent by a peer, the value 112 // Optional support of truncated Connection IDs. If sent by a peer, the value
112 // is the minimum number of bytes allowed for the connection ID sent to the 113 // is the minimum number of bytes allowed for the connection ID sent to the
113 // peer. 114 // peer.
114 const QuicTag kTCID = TAG('T', 'C', 'I', 'D'); // Connection ID truncation. 115 const QuicTag kTCID = TAG('T', 'C', 'I', 'D'); // Connection ID truncation.
115 116
116 // Multipath option. 117 // Multipath option.
117 const QuicTag kMPTH = TAG('M', 'P', 'T', 'H'); // Enable multipath. 118 const QuicTag kMPTH = TAG('M', 'P', 'T', 'H'); // Enable multipath.
118 119
119 const QuicTag kNCMR = TAG('N', 'C', 'M', 'R'); // Do not attempt connection 120 const QuicTag kNCMR = TAG('N', 'C', 'M', 'R'); // Do not attempt connection
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 // amplification factor of any mirror DoS attack. 248 // amplification factor of any mirror DoS attack.
248 // 249 //
249 // A client may pad an inchoate client hello to a size larger than 250 // A client may pad an inchoate client hello to a size larger than
250 // kClientHelloMinimumSize to make it more likely to receive a complete 251 // kClientHelloMinimumSize to make it more likely to receive a complete
251 // rejection message. 252 // rejection message.
252 const size_t kClientHelloMinimumSize = 1024; 253 const size_t kClientHelloMinimumSize = 1024;
253 254
254 } // namespace net 255 } // namespace net
255 256
256 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ 257 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698