OLD | NEW |
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 <limits> | 9 #include <limits> |
10 #include <map> | 10 #include <map> |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 QUIC_CRYPTO_MESSAGE_PARAMETER_NOT_FOUND, | 209 QUIC_CRYPTO_MESSAGE_PARAMETER_NOT_FOUND, |
210 // A crypto message was received with a parameter that has no overlap | 210 // A crypto message was received with a parameter that has no overlap |
211 // with the local parameter. | 211 // with the local parameter. |
212 QUIC_CRYPTO_MESSAGE_PARAMETER_NO_OVERLAP, | 212 QUIC_CRYPTO_MESSAGE_PARAMETER_NO_OVERLAP, |
213 // A crypto message was received that contained a parameter with too few | 213 // A crypto message was received that contained a parameter with too few |
214 // values. | 214 // values. |
215 QUIC_CRYPTO_MESSAGE_INDEX_NOT_FOUND, | 215 QUIC_CRYPTO_MESSAGE_INDEX_NOT_FOUND, |
216 // An internal error occured in crypto processing. | 216 // An internal error occured in crypto processing. |
217 QUIC_CRYPTO_INTERNAL_ERROR, | 217 QUIC_CRYPTO_INTERNAL_ERROR, |
218 // A crypto handshake message specified an unsupported version. | 218 // A crypto handshake message specified an unsupported version. |
219 QUIC_VERSION_NOT_SUPPORTED, | 219 QUIC_CRYPTO_VERSION_NOT_SUPPORTED, |
220 // There was no intersection between the crypto primitives supported by the | 220 // There was no intersection between the crypto primitives supported by the |
221 // peer and ourselves. | 221 // peer and ourselves. |
222 QUIC_CRYPTO_NO_SUPPORT, | 222 QUIC_CRYPTO_NO_SUPPORT, |
223 // The server rejected our client hello messages too many times. | 223 // The server rejected our client hello messages too many times. |
224 QUIC_CRYPTO_TOO_MANY_REJECTS, | 224 QUIC_CRYPTO_TOO_MANY_REJECTS, |
225 | 225 |
226 // No error. Used as bound while iterating. | 226 // No error. Used as bound while iterating. |
227 QUIC_LAST_ERROR, | 227 QUIC_LAST_ERROR, |
228 }; | 228 }; |
229 | 229 |
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
658 NET_EXPORT_PRIVATE friend std::ostream& operator<<( | 658 NET_EXPORT_PRIVATE friend std::ostream& operator<<( |
659 std::ostream& os, const QuicConsumedData& s); | 659 std::ostream& os, const QuicConsumedData& s); |
660 | 660 |
661 size_t bytes_consumed; | 661 size_t bytes_consumed; |
662 bool fin_consumed; | 662 bool fin_consumed; |
663 }; | 663 }; |
664 | 664 |
665 } // namespace net | 665 } // namespace net |
666 | 666 |
667 #endif // NET_QUIC_QUIC_PROTOCOL_H_ | 667 #endif // NET_QUIC_QUIC_PROTOCOL_H_ |
OLD | NEW |