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

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

Issue 2392093002: Add a QUIC connection option to use a more conservative handshake retransmission timer. Protected … (Closed)
Patch Set: Created 4 years, 2 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/core/quic_flags_list.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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 // with 1/8 RTT acks. 98 // with 1/8 RTT acks.
99 const QuicTag kAKD4 = TAG('A', 'K', 'D', '4'); // Ack decimation with 1/8 RTT 99 const QuicTag kAKD4 = TAG('A', 'K', 'D', '4'); // Ack decimation with 1/8 RTT
100 // tolerating out of order. 100 // tolerating out of order.
101 const QuicTag kSSLR = TAG('S', 'S', 'L', 'R'); // Slow Start Large Reduction. 101 const QuicTag kSSLR = TAG('S', 'S', 'L', 'R'); // Slow Start Large Reduction.
102 const QuicTag kNPRR = TAG('N', 'P', 'R', 'R'); // Pace at unity instead of PRR 102 const QuicTag kNPRR = TAG('N', 'P', 'R', 'R'); // Pace at unity instead of PRR
103 const QuicTag k5RTO = TAG('5', 'R', 'T', 'O'); // Close connection on 5 RTOs 103 const QuicTag k5RTO = TAG('5', 'R', 'T', 'O'); // Close connection on 5 RTOs
104 const QuicTag kCTIM = TAG('C', 'T', 'I', 'M'); // Client timestamp in seconds 104 const QuicTag kCTIM = TAG('C', 'T', 'I', 'M'); // Client timestamp in seconds
105 // since UNIX epoch. 105 // since UNIX epoch.
106 const QuicTag kDHDT = TAG('D', 'H', 'D', 'T'); // Disable HPACK dynamic table. 106 const QuicTag kDHDT = TAG('D', 'H', 'D', 'T'); // Disable HPACK dynamic table.
107 const QuicTag kIPFS = TAG('I', 'P', 'F', 'S'); // No Immediate Forward Secrecy 107 const QuicTag kIPFS = TAG('I', 'P', 'F', 'S'); // No Immediate Forward Secrecy
108 const QuicTag kCONH = TAG('C', 'O', 'N', 'H'); // Conservative Handshake
109 // Retransmissions.
108 110
109 // Optional support of truncated Connection IDs. If sent by a peer, the value 111 // Optional support of truncated Connection IDs. If sent by a peer, the value
110 // is the minimum number of bytes allowed for the connection ID sent to the 112 // is the minimum number of bytes allowed for the connection ID sent to the
111 // peer. 113 // peer.
112 const QuicTag kTCID = TAG('T', 'C', 'I', 'D'); // Connection ID truncation. 114 const QuicTag kTCID = TAG('T', 'C', 'I', 'D'); // Connection ID truncation.
113 115
114 // Multipath option. 116 // Multipath option.
115 const QuicTag kMPTH = TAG('M', 'P', 'T', 'H'); // Enable multipath. 117 const QuicTag kMPTH = TAG('M', 'P', 'T', 'H'); // Enable multipath.
116 118
117 const QuicTag kNCMR = TAG('N', 'C', 'M', 'R'); // Do not attempt connection 119 const QuicTag kNCMR = TAG('N', 'C', 'M', 'R'); // Do not attempt connection
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 // amplification factor of any mirror DoS attack. 250 // amplification factor of any mirror DoS attack.
249 // 251 //
250 // A client may pad an inchoate client hello to a size larger than 252 // A client may pad an inchoate client hello to a size larger than
251 // kClientHelloMinimumSize to make it more likely to receive a complete 253 // kClientHelloMinimumSize to make it more likely to receive a complete
252 // rejection message. 254 // rejection message.
253 const size_t kClientHelloMinimumSize = 1024; 255 const size_t kClientHelloMinimumSize = 1024;
254 256
255 } // namespace net 257 } // namespace net
256 258
257 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ 259 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_
OLDNEW
« no previous file with comments | « no previous file | net/quic/core/quic_flags_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698