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