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

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

Issue 447093004: Land Recent QUIC Changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed indenation in QuicFramer.cc Created 6 years, 4 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/timestamp_receiver_test.cc ('k') | net/quic/quic_config.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 26 matching lines...) Expand all
37 37
38 // Key exchange methods 38 // Key exchange methods
39 const QuicTag kP256 = TAG('P', '2', '5', '6'); // ECDH, Curve P-256 39 const QuicTag kP256 = TAG('P', '2', '5', '6'); // ECDH, Curve P-256
40 const QuicTag kC255 = TAG('C', '2', '5', '5'); // ECDH, Curve25519 40 const QuicTag kC255 = TAG('C', '2', '5', '5'); // ECDH, Curve25519
41 41
42 // AEAD algorithms 42 // AEAD algorithms
43 const QuicTag kNULL = TAG('N', 'U', 'L', 'N'); // null algorithm 43 const QuicTag kNULL = TAG('N', 'U', 'L', 'N'); // null algorithm
44 const QuicTag kAESG = TAG('A', 'E', 'S', 'G'); // AES128 + GCM-12 44 const QuicTag kAESG = TAG('A', 'E', 'S', 'G'); // AES128 + GCM-12
45 const QuicTag kCC12 = TAG('C', 'C', '1', '2'); // ChaCha20 + Poly1305 45 const QuicTag kCC12 = TAG('C', 'C', '1', '2'); // ChaCha20 + Poly1305
46 46
47 // Socket receive buffer
48 const QuicTag kSRBF = TAG('S', 'R', 'B', 'F'); // Socket receive buffer
49
47 // Congestion control feedback types 50 // Congestion control feedback types
48 const QuicTag kQBIC = TAG('Q', 'B', 'I', 'C'); // TCP cubic 51 const QuicTag kQBIC = TAG('Q', 'B', 'I', 'C'); // TCP cubic
49 const QuicTag kPACE = TAG('P', 'A', 'C', 'E'); // Paced TCP cubic 52 const QuicTag kPACE = TAG('P', 'A', 'C', 'E'); // Paced TCP cubic
50 const QuicTag kINAR = TAG('I', 'N', 'A', 'R'); // Inter arrival 53 const QuicTag kTSTP = TAG('T', 'S', 'T', 'P'); // Timestamp
51 54
52 // Congestion control options 55 // Congestion control options
53 const QuicTag kTBBR = TAG('T', 'B', 'B', 'R'); // Reduced Buffer Bloat TCP 56 const QuicTag kTBBR = TAG('T', 'B', 'B', 'R'); // Reduced Buffer Bloat TCP
54 const QuicTag kRENO = TAG('R', 'E', 'N', 'O'); // Reno Congestion Control 57 const QuicTag kRENO = TAG('R', 'E', 'N', 'O'); // Reno Congestion Control
58 const QuicTag kIW10 = TAG('I', 'W', '1', '0'); // Force ICWND to 10
55 59
56 // Loss detection algorithm types 60 // Loss detection algorithm types
57 const QuicTag kNACK = TAG('N', 'A', 'C', 'K'); // TCP style nack counting 61 const QuicTag kNACK = TAG('N', 'A', 'C', 'K'); // TCP style nack counting
58 const QuicTag kTIME = TAG('T', 'I', 'M', 'E'); // Time based 62 const QuicTag kTIME = TAG('T', 'I', 'M', 'E'); // Time based
59 63
60 // FEC options 64 // FEC options
61 const QuicTag kFHDR = TAG('F', 'H', 'D', 'R'); // FEC protect headers 65 const QuicTag kFHDR = TAG('F', 'H', 'D', 'R'); // FEC protect headers
62 66
63 // Proof types (i.e. certificate types) 67 // Proof types (i.e. certificate types)
64 // NOTE: although it would be silly to do so, specifying both kX509 and kX59R 68 // NOTE: although it would be silly to do so, specifying both kX509 and kX59R
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 // amplification factor of any mirror DoS attack. 167 // amplification factor of any mirror DoS attack.
164 // 168 //
165 // A client may pad an inchoate client hello to a size larger than 169 // A client may pad an inchoate client hello to a size larger than
166 // kClientHelloMinimumSize to make it more likely to receive a complete 170 // kClientHelloMinimumSize to make it more likely to receive a complete
167 // rejection message. 171 // rejection message.
168 const size_t kClientHelloMinimumSize = 1024; 172 const size_t kClientHelloMinimumSize = 1024;
169 173
170 } // namespace net 174 } // namespace net
171 175
172 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ 176 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/congestion_control/timestamp_receiver_test.cc ('k') | net/quic/quic_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698