wolfSSL 3.11.1 for TLS1.3 beta
Fork of wolfSSL by
wolfssl/sniffer_error.h@4:1b0d80432c79, 2016-04-28 (annotated)
- Committer:
- wolfSSL
- Date:
- Thu Apr 28 00:57:21 2016 +0000
- Revision:
- 4:1b0d80432c79
wolfSSL 3.9.0
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
wolfSSL | 4:1b0d80432c79 | 1 | /* sniffer_error.h |
wolfSSL | 4:1b0d80432c79 | 2 | * |
wolfSSL | 4:1b0d80432c79 | 3 | * Copyright (C) 2006-2016 wolfSSL Inc. |
wolfSSL | 4:1b0d80432c79 | 4 | * |
wolfSSL | 4:1b0d80432c79 | 5 | * This file is part of wolfSSL. |
wolfSSL | 4:1b0d80432c79 | 6 | * |
wolfSSL | 4:1b0d80432c79 | 7 | * wolfSSL is free software; you can redistribute it and/or modify |
wolfSSL | 4:1b0d80432c79 | 8 | * it under the terms of the GNU General Public License as published by |
wolfSSL | 4:1b0d80432c79 | 9 | * the Free Software Foundation; either version 2 of the License, or |
wolfSSL | 4:1b0d80432c79 | 10 | * (at your option) any later version. |
wolfSSL | 4:1b0d80432c79 | 11 | * |
wolfSSL | 4:1b0d80432c79 | 12 | * wolfSSL is distributed in the hope that it will be useful, |
wolfSSL | 4:1b0d80432c79 | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
wolfSSL | 4:1b0d80432c79 | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
wolfSSL | 4:1b0d80432c79 | 15 | * GNU General Public License for more details. |
wolfSSL | 4:1b0d80432c79 | 16 | * |
wolfSSL | 4:1b0d80432c79 | 17 | * You should have received a copy of the GNU General Public License |
wolfSSL | 4:1b0d80432c79 | 18 | * along with this program; if not, write to the Free Software |
wolfSSL | 4:1b0d80432c79 | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA |
wolfSSL | 4:1b0d80432c79 | 20 | */ |
wolfSSL | 4:1b0d80432c79 | 21 | |
wolfSSL | 4:1b0d80432c79 | 22 | |
wolfSSL | 4:1b0d80432c79 | 23 | |
wolfSSL | 4:1b0d80432c79 | 24 | #ifndef WOLFSSL_SNIFFER_ERROR_H |
wolfSSL | 4:1b0d80432c79 | 25 | #define WOLFSSL_SNIFFER_ERROR_H |
wolfSSL | 4:1b0d80432c79 | 26 | |
wolfSSL | 4:1b0d80432c79 | 27 | /* need to have errors as #defines since .rc files can't handle enums */ |
wolfSSL | 4:1b0d80432c79 | 28 | /* need to start at 1 and go in order for same reason */ |
wolfSSL | 4:1b0d80432c79 | 29 | |
wolfSSL | 4:1b0d80432c79 | 30 | #define MEMORY_STR 1 |
wolfSSL | 4:1b0d80432c79 | 31 | #define NEW_SERVER_STR 2 |
wolfSSL | 4:1b0d80432c79 | 32 | #define IP_CHECK_STR 3 |
wolfSSL | 4:1b0d80432c79 | 33 | #define SERVER_NOT_REG_STR 4 |
wolfSSL | 4:1b0d80432c79 | 34 | #define TCP_CHECK_STR 5 |
wolfSSL | 4:1b0d80432c79 | 35 | #define SERVER_PORT_NOT_REG_STR 6 |
wolfSSL | 4:1b0d80432c79 | 36 | #define RSA_DECRYPT_STR 7 |
wolfSSL | 4:1b0d80432c79 | 37 | #define RSA_DECODE_STR 8 |
wolfSSL | 4:1b0d80432c79 | 38 | #define BAD_CIPHER_SPEC_STR 9 |
wolfSSL | 4:1b0d80432c79 | 39 | #define SERVER_HELLO_INPUT_STR 10 |
wolfSSL | 4:1b0d80432c79 | 40 | |
wolfSSL | 4:1b0d80432c79 | 41 | #define BAD_SESSION_RESUME_STR 11 |
wolfSSL | 4:1b0d80432c79 | 42 | #define SERVER_DID_RESUMPTION_STR 12 |
wolfSSL | 4:1b0d80432c79 | 43 | #define CLIENT_HELLO_INPUT_STR 13 |
wolfSSL | 4:1b0d80432c79 | 44 | #define CLIENT_RESUME_TRY_STR 14 |
wolfSSL | 4:1b0d80432c79 | 45 | #define HANDSHAKE_INPUT_STR 15 |
wolfSSL | 4:1b0d80432c79 | 46 | #define GOT_HELLO_VERIFY_STR 16 |
wolfSSL | 4:1b0d80432c79 | 47 | #define GOT_SERVER_HELLO_STR 17 |
wolfSSL | 4:1b0d80432c79 | 48 | #define GOT_CERT_REQ_STR 18 |
wolfSSL | 4:1b0d80432c79 | 49 | #define GOT_SERVER_KEY_EX_STR 19 |
wolfSSL | 4:1b0d80432c79 | 50 | #define GOT_CERT_STR 20 |
wolfSSL | 4:1b0d80432c79 | 51 | |
wolfSSL | 4:1b0d80432c79 | 52 | #define GOT_SERVER_HELLO_DONE_STR 21 |
wolfSSL | 4:1b0d80432c79 | 53 | #define GOT_FINISHED_STR 22 |
wolfSSL | 4:1b0d80432c79 | 54 | #define GOT_CLIENT_HELLO_STR 23 |
wolfSSL | 4:1b0d80432c79 | 55 | #define GOT_CLIENT_KEY_EX_STR 24 |
wolfSSL | 4:1b0d80432c79 | 56 | #define GOT_CERT_VER_STR 25 |
wolfSSL | 4:1b0d80432c79 | 57 | #define GOT_UNKNOWN_HANDSHAKE_STR 26 |
wolfSSL | 4:1b0d80432c79 | 58 | #define NEW_SESSION_STR 27 |
wolfSSL | 4:1b0d80432c79 | 59 | #define BAD_NEW_SSL_STR 28 |
wolfSSL | 4:1b0d80432c79 | 60 | #define GOT_PACKET_STR 29 |
wolfSSL | 4:1b0d80432c79 | 61 | #define NO_DATA_STR 30 |
wolfSSL | 4:1b0d80432c79 | 62 | |
wolfSSL | 4:1b0d80432c79 | 63 | #define BAD_SESSION_STR 31 |
wolfSSL | 4:1b0d80432c79 | 64 | #define GOT_OLD_CLIENT_HELLO_STR 32 |
wolfSSL | 4:1b0d80432c79 | 65 | #define OLD_CLIENT_INPUT_STR 33 |
wolfSSL | 4:1b0d80432c79 | 66 | #define OLD_CLIENT_OK_STR 34 |
wolfSSL | 4:1b0d80432c79 | 67 | #define BAD_OLD_CLIENT_STR 35 |
wolfSSL | 4:1b0d80432c79 | 68 | #define BAD_RECORD_HDR_STR 36 |
wolfSSL | 4:1b0d80432c79 | 69 | #define RECORD_INPUT_STR 37 |
wolfSSL | 4:1b0d80432c79 | 70 | #define GOT_HANDSHAKE_STR 38 |
wolfSSL | 4:1b0d80432c79 | 71 | #define BAD_HANDSHAKE_STR 39 |
wolfSSL | 4:1b0d80432c79 | 72 | #define GOT_CHANGE_CIPHER_STR 40 |
wolfSSL | 4:1b0d80432c79 | 73 | |
wolfSSL | 4:1b0d80432c79 | 74 | #define GOT_APP_DATA_STR 41 |
wolfSSL | 4:1b0d80432c79 | 75 | #define BAD_APP_DATA_STR 42 |
wolfSSL | 4:1b0d80432c79 | 76 | #define GOT_ALERT_STR 43 |
wolfSSL | 4:1b0d80432c79 | 77 | #define ANOTHER_MSG_STR 44 |
wolfSSL | 4:1b0d80432c79 | 78 | #define REMOVE_SESSION_STR 45 |
wolfSSL | 4:1b0d80432c79 | 79 | #define KEY_FILE_STR 46 |
wolfSSL | 4:1b0d80432c79 | 80 | #define BAD_IPVER_STR 47 |
wolfSSL | 4:1b0d80432c79 | 81 | #define BAD_PROTO_STR 48 |
wolfSSL | 4:1b0d80432c79 | 82 | #define PACKET_HDR_SHORT_STR 49 |
wolfSSL | 4:1b0d80432c79 | 83 | #define GOT_UNKNOWN_RECORD_STR 50 |
wolfSSL | 4:1b0d80432c79 | 84 | |
wolfSSL | 4:1b0d80432c79 | 85 | #define BAD_TRACE_FILE_STR 51 |
wolfSSL | 4:1b0d80432c79 | 86 | #define FATAL_ERROR_STR 52 |
wolfSSL | 4:1b0d80432c79 | 87 | #define PARTIAL_INPUT_STR 53 |
wolfSSL | 4:1b0d80432c79 | 88 | #define BUFFER_ERROR_STR 54 |
wolfSSL | 4:1b0d80432c79 | 89 | #define PARTIAL_ADD_STR 55 |
wolfSSL | 4:1b0d80432c79 | 90 | #define DUPLICATE_STR 56 |
wolfSSL | 4:1b0d80432c79 | 91 | #define OUT_OF_ORDER_STR 57 |
wolfSSL | 4:1b0d80432c79 | 92 | #define OVERLAP_DUPLICATE_STR 58 |
wolfSSL | 4:1b0d80432c79 | 93 | #define OVERLAP_REASSEMBLY_BEGIN_STR 59 |
wolfSSL | 4:1b0d80432c79 | 94 | #define OVERLAP_REASSEMBLY_END_STR 60 |
wolfSSL | 4:1b0d80432c79 | 95 | |
wolfSSL | 4:1b0d80432c79 | 96 | #define MISSED_CLIENT_HELLO_STR 61 |
wolfSSL | 4:1b0d80432c79 | 97 | #define GOT_HELLO_REQUEST_STR 62 |
wolfSSL | 4:1b0d80432c79 | 98 | #define GOT_SESSION_TICKET_STR 63 |
wolfSSL | 4:1b0d80432c79 | 99 | #define BAD_INPUT_STR 64 |
wolfSSL | 4:1b0d80432c79 | 100 | #define BAD_DECRYPT_TYPE 65 |
wolfSSL | 4:1b0d80432c79 | 101 | #define BAD_FINISHED_MSG 66 |
wolfSSL | 4:1b0d80432c79 | 102 | #define BAD_COMPRESSION_STR 67 |
wolfSSL | 4:1b0d80432c79 | 103 | #define BAD_DERIVE_STR 68 |
wolfSSL | 4:1b0d80432c79 | 104 | #define ACK_MISSED_STR 69 |
wolfSSL | 4:1b0d80432c79 | 105 | #define BAD_DECRYPT 70 |
wolfSSL | 4:1b0d80432c79 | 106 | |
wolfSSL | 4:1b0d80432c79 | 107 | #define DECRYPT_KEYS_NOT_SETUP 71 |
wolfSSL | 4:1b0d80432c79 | 108 | #define CLIENT_HELLO_LATE_KEY_STR 72 |
wolfSSL | 4:1b0d80432c79 | 109 | #define GOT_CERT_STATUS_STR 73 |
wolfSSL | 4:1b0d80432c79 | 110 | #define RSA_KEY_MISSING_STR 74 |
wolfSSL | 4:1b0d80432c79 | 111 | #define NO_SECURE_RENEGOTIATION 75 |
wolfSSL | 4:1b0d80432c79 | 112 | |
wolfSSL | 4:1b0d80432c79 | 113 | #define BAD_SESSION_STATS 76 |
wolfSSL | 4:1b0d80432c79 | 114 | #define REASSEMBLY_MAX_STR 77 |
wolfSSL | 4:1b0d80432c79 | 115 | #define DROPPING_LOST_FRAG_STR 78 |
wolfSSL | 4:1b0d80432c79 | 116 | #define DROPPING_PARTIAL_RECORD 79 |
wolfSSL | 4:1b0d80432c79 | 117 | #define CLEAR_ACK_FAULT 80 |
wolfSSL | 4:1b0d80432c79 | 118 | |
wolfSSL | 4:1b0d80432c79 | 119 | #define BAD_DECRYPT_SIZE 81 |
wolfSSL | 4:1b0d80432c79 | 120 | /* !!!! also add to msgTable in sniffer.c and .rc file !!!! */ |
wolfSSL | 4:1b0d80432c79 | 121 | |
wolfSSL | 4:1b0d80432c79 | 122 | |
wolfSSL | 4:1b0d80432c79 | 123 | #endif /* wolfSSL_SNIFFER_ERROR_H */ |
wolfSSL | 4:1b0d80432c79 | 124 | |
wolfSSL | 4:1b0d80432c79 | 125 |