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

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

Issue 2391103003: Landing Recent QUIC changes until 3:24 PM, Oct 01, 2016 UTC-4 (Closed)
Patch Set: Add new error code to quic_error_mapping.cc 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
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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 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 kIPFS = TAG('I', 'P', 'F', 'S'); // No Immediate Forward Secrecy 106 const QuicTag kIPFS = TAG('I', 'P', 'F', 'S'); // No Immediate Forward Secrecy
107 const QuicTag kCONH = TAG('C', 'O', 'N', 'H'); // Conservative Handshake
108 // Retransmissions.
107 109
108 // Optional support of truncated Connection IDs. If sent by a peer, the value 110 // Optional support of truncated Connection IDs. If sent by a peer, the value
109 // is the minimum number of bytes allowed for the connection ID sent to the 111 // is the minimum number of bytes allowed for the connection ID sent to the
110 // peer. 112 // peer.
111 const QuicTag kTCID = TAG('T', 'C', 'I', 'D'); // Connection ID truncation. 113 const QuicTag kTCID = TAG('T', 'C', 'I', 'D'); // Connection ID truncation.
112 114
113 // Multipath option. 115 // Multipath option.
114 const QuicTag kMPTH = TAG('M', 'P', 'T', 'H'); // Enable multipath. 116 const QuicTag kMPTH = TAG('M', 'P', 'T', 'H'); // Enable multipath.
115 117
116 const QuicTag kNCMR = TAG('N', 'C', 'M', 'R'); // Do not attempt connection 118 const QuicTag kNCMR = TAG('N', 'C', 'M', 'R'); // Do not attempt connection
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 // amplification factor of any mirror DoS attack. 249 // amplification factor of any mirror DoS attack.
248 // 250 //
249 // A client may pad an inchoate client hello to a size larger than 251 // A client may pad an inchoate client hello to a size larger than
250 // kClientHelloMinimumSize to make it more likely to receive a complete 252 // kClientHelloMinimumSize to make it more likely to receive a complete
251 // rejection message. 253 // rejection message.
252 const size_t kClientHelloMinimumSize = 1024; 254 const size_t kClientHelloMinimumSize = 1024;
253 255
254 } // namespace net 256 } // namespace net
255 257
256 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ 258 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/core/congestion_control/tcp_cubic_sender_packets_test.cc ('k') | net/quic/core/crypto/crypto_server_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698