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

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

Issue 13976007: Land Recent QUIC Changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated copyright notice Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « net/quic/crypto/crypto_handshake_test.cc ('k') | net/quic/crypto/crypto_utils.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 <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 const CryptoTag kCGST = MAKE_TAG('C', 'G', 'S', 'T'); // Congestion control 50 const CryptoTag kCGST = MAKE_TAG('C', 'G', 'S', 'T'); // Congestion control
51 // feedback types 51 // feedback types
52 const CryptoTag kICSL = MAKE_TAG('I', 'C', 'S', 'L'); // Idle connection state 52 const CryptoTag kICSL = MAKE_TAG('I', 'C', 'S', 'L'); // Idle connection state
53 // lifetime 53 // lifetime
54 const CryptoTag kKATO = MAKE_TAG('K', 'A', 'T', 'O'); // Keepalive timeout 54 const CryptoTag kKATO = MAKE_TAG('K', 'A', 'T', 'O'); // Keepalive timeout
55 const CryptoTag kSNI = MAKE_TAG('S', 'N', 'I', '\0'); // Server name 55 const CryptoTag kSNI = MAKE_TAG('S', 'N', 'I', '\0'); // Server name
56 // indication 56 // indication
57 const CryptoTag kPUBS = MAKE_TAG('P', 'U', 'B', 'S'); // Public key values 57 const CryptoTag kPUBS = MAKE_TAG('P', 'U', 'B', 'S'); // Public key values
58 const CryptoTag kSCID = MAKE_TAG('S', 'C', 'I', 'D'); // Server config id 58 const CryptoTag kSCID = MAKE_TAG('S', 'C', 'I', 'D'); // Server config id
59 const CryptoTag kSRCT = MAKE_TAG('S', 'R', 'C', 'T'); // Source-address token 59 const CryptoTag kSRCT = MAKE_TAG('S', 'R', 'C', 'T'); // Source-address token
60 const CryptoTag kORBT = MAKE_TAG('O', 'B', 'I', 'T'); // Server orbit.
60 61
61 const size_t kMaxEntries = 16; // Max number of entries in a message. 62 const size_t kMaxEntries = 16; // Max number of entries in a message.
62 63
63 const size_t kNonceSize = 32; // Size in bytes of the connection nonce. 64 const size_t kNonceSize = 32; // Size in bytes of the connection nonce.
64 65
66 const size_t kOrbitSize = 8; // Number of bytes in an orbit value.
67
65 } // namespace net 68 } // namespace net
66 69
67 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ 70 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/crypto/crypto_handshake_test.cc ('k') | net/quic/crypto/crypto_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698