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