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

Side by Side Diff: net/quic/core/quic_protocol.h

Issue 2246203003: Use the new error code QUIC_UNSUPPORTED_PROOF_DEMAND instead of (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@130066892
Patch Set: Created 4 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/core/crypto/quic_crypto_server_config.cc ('k') | net/quic/core/quic_utils.cc » ('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_QUIC_PROTOCOL_H_ 5 #ifndef NET_QUIC_QUIC_PROTOCOL_H_
6 #define NET_QUIC_QUIC_PROTOCOL_H_ 6 #define NET_QUIC_QUIC_PROTOCOL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 // An invalid channel id signature was supplied. 648 // An invalid channel id signature was supplied.
649 QUIC_INVALID_CHANNEL_ID_SIGNATURE = 52, 649 QUIC_INVALID_CHANNEL_ID_SIGNATURE = 52,
650 // A crypto message was received with a mandatory parameter missing. 650 // A crypto message was received with a mandatory parameter missing.
651 QUIC_CRYPTO_MESSAGE_PARAMETER_NOT_FOUND = 35, 651 QUIC_CRYPTO_MESSAGE_PARAMETER_NOT_FOUND = 35,
652 // A crypto message was received with a parameter that has no overlap 652 // A crypto message was received with a parameter that has no overlap
653 // with the local parameter. 653 // with the local parameter.
654 QUIC_CRYPTO_MESSAGE_PARAMETER_NO_OVERLAP = 36, 654 QUIC_CRYPTO_MESSAGE_PARAMETER_NO_OVERLAP = 36,
655 // A crypto message was received that contained a parameter with too few 655 // A crypto message was received that contained a parameter with too few
656 // values. 656 // values.
657 QUIC_CRYPTO_MESSAGE_INDEX_NOT_FOUND = 37, 657 QUIC_CRYPTO_MESSAGE_INDEX_NOT_FOUND = 37,
658 // A demand for an unsupport proof type was received.
659 QUIC_UNSUPPORTED_PROOF_DEMAND = 94,
658 // An internal error occured in crypto processing. 660 // An internal error occured in crypto processing.
659 QUIC_CRYPTO_INTERNAL_ERROR = 38, 661 QUIC_CRYPTO_INTERNAL_ERROR = 38,
660 // A crypto handshake message specified an unsupported version. 662 // A crypto handshake message specified an unsupported version.
661 QUIC_CRYPTO_VERSION_NOT_SUPPORTED = 39, 663 QUIC_CRYPTO_VERSION_NOT_SUPPORTED = 39,
662 // A crypto handshake message resulted in a stateless reject. 664 // A crypto handshake message resulted in a stateless reject.
663 QUIC_CRYPTO_HANDSHAKE_STATELESS_REJECT = 72, 665 QUIC_CRYPTO_HANDSHAKE_STATELESS_REJECT = 72,
664 // There was no intersection between the crypto primitives supported by the 666 // There was no intersection between the crypto primitives supported by the
665 // peer and ourselves. 667 // peer and ourselves.
666 QUIC_CRYPTO_NO_SUPPORT = 40, 668 QUIC_CRYPTO_NO_SUPPORT = 40,
667 // The server rejected our client hello messages too many times. 669 // The server rejected our client hello messages too many times.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
708 // migrate to. 710 // migrate to.
709 QUIC_CONNECTION_MIGRATION_NO_NEW_NETWORK = 83, 711 QUIC_CONNECTION_MIGRATION_NO_NEW_NETWORK = 83,
710 // Network changed, but connection had one or more non-migratable streams. 712 // Network changed, but connection had one or more non-migratable streams.
711 QUIC_CONNECTION_MIGRATION_NON_MIGRATABLE_STREAM = 84, 713 QUIC_CONNECTION_MIGRATION_NON_MIGRATABLE_STREAM = 84,
712 714
713 // Stream frames arrived too discontiguously so that stream sequencer buffer 715 // Stream frames arrived too discontiguously so that stream sequencer buffer
714 // maintains too many gaps. 716 // maintains too many gaps.
715 QUIC_TOO_MANY_FRAME_GAPS = 93, 717 QUIC_TOO_MANY_FRAME_GAPS = 93,
716 718
717 // No error. Used as bound while iterating. 719 // No error. Used as bound while iterating.
718 QUIC_LAST_ERROR = 94, 720 QUIC_LAST_ERROR = 95,
719 }; 721 };
720 722
721 typedef char DiversificationNonce[32]; 723 typedef char DiversificationNonce[32];
722 724
723 struct NET_EXPORT_PRIVATE QuicPacketPublicHeader { 725 struct NET_EXPORT_PRIVATE QuicPacketPublicHeader {
724 QuicPacketPublicHeader(); 726 QuicPacketPublicHeader();
725 explicit QuicPacketPublicHeader(const QuicPacketPublicHeader& other); 727 explicit QuicPacketPublicHeader(const QuicPacketPublicHeader& other);
726 ~QuicPacketPublicHeader(); 728 ~QuicPacketPublicHeader();
727 729
728 // Universal header. All QuicPacket headers will have a connection_id and 730 // Universal header. All QuicPacket headers will have a connection_id and
(...skipping 825 matching lines...) Expand 10 before | Expand all | Expand 10 after
1554 : iov(iov), iov_count(iov_count), total_length(total_length) {} 1556 : iov(iov), iov_count(iov_count), total_length(total_length) {}
1555 1557
1556 const struct iovec* iov; 1558 const struct iovec* iov;
1557 const int iov_count; 1559 const int iov_count;
1558 const size_t total_length; 1560 const size_t total_length;
1559 }; 1561 };
1560 1562
1561 } // namespace net 1563 } // namespace net
1562 1564
1563 #endif // NET_QUIC_QUIC_PROTOCOL_H_ 1565 #endif // NET_QUIC_QUIC_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/core/crypto/quic_crypto_server_config.cc ('k') | net/quic/core/quic_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698