cyassl re-port with cellular comms, PSK test

Dependencies:   VodafoneUSBModem_bleedingedge2 mbed-rtos mbed-src

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers sniffer_error.h Source File

sniffer_error.h

00001 /* sniffer_error.h
00002  *
00003  * Copyright (C) 2006-2012 Sawtooth Consulting Ltd.
00004  *
00005  * This file is part of CyaSSL.
00006  *
00007  * CyaSSL is free software; you can redistribute it and/or modify
00008  * it under the terms of the GNU General Public License as published by
00009  * the Free Software Foundation; either version 2 of the License, or
00010  * (at your option) any later version.
00011  *
00012  * CyaSSL is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  * GNU General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU General Public License
00018  * along with this program; if not, write to the Free Software
00019  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
00020  */
00021 
00022 
00023 #ifndef CYASSL_SNIFFER_ERROR_H
00024 #define CYASSL_SNIFFER_ERROR_H
00025 
00026 /* need to have errors as #defines since .rc files can't handle enums */
00027 /* need to start at 1 and go in order for same reason */
00028 
00029 #define MEMORY_STR 1
00030 #define NEW_SERVER_STR 2
00031 #define IP_CHECK_STR 3
00032 #define SERVER_NOT_REG_STR 4
00033 #define TCP_CHECK_STR 5
00034 #define SERVER_PORT_NOT_REG_STR 6
00035 #define RSA_DECRYPT_STR 7
00036 #define RSA_DECODE_STR 8
00037 #define BAD_CIPHER_SPEC_STR 9
00038 #define SERVER_HELLO_INPUT_STR 10
00039 
00040 #define BAD_SESSION_RESUME_STR 11
00041 #define SERVER_DID_RESUMPTION_STR 12
00042 #define CLIENT_HELLO_INPUT_STR 13
00043 #define CLIENT_RESUME_TRY_STR 14
00044 #define HANDSHAKE_INPUT_STR 15
00045 #define GOT_HELLO_VERIFY_STR 16
00046 #define GOT_SERVER_HELLO_STR 17
00047 #define GOT_CERT_REQ_STR 18
00048 #define GOT_SERVER_KEY_EX_STR 19
00049 #define GOT_CERT_STR 20
00050 
00051 #define GOT_SERVER_HELLO_DONE_STR 21
00052 #define GOT_FINISHED_STR 22
00053 #define GOT_CLIENT_HELLO_STR 23
00054 #define GOT_CLIENT_KEY_EX_STR 24
00055 #define GOT_CERT_VER_STR 25
00056 #define GOT_UNKNOWN_HANDSHAKE_STR 26
00057 #define NEW_SESSION_STR 27
00058 #define BAD_NEW_SSL_STR 28
00059 #define GOT_PACKET_STR 29
00060 #define NO_DATA_STR 30
00061 
00062 #define BAD_SESSION_STR 31
00063 #define GOT_OLD_CLIENT_HELLO_STR 32
00064 #define OLD_CLIENT_INPUT_STR 33
00065 #define OLD_CLIENT_OK_STR 34
00066 #define BAD_OLD_CLIENT_STR 35
00067 #define BAD_RECORD_HDR_STR 36
00068 #define RECORD_INPUT_STR 37
00069 #define GOT_HANDSHAKE_STR 38
00070 #define BAD_HANDSHAKE_STR 39
00071 #define GOT_CHANGE_CIPHER_STR 40
00072 
00073 #define GOT_APP_DATA_STR 41
00074 #define BAD_APP_DATA_STR 42
00075 #define GOT_ALERT_STR 43
00076 #define ANOTHER_MSG_STR 44
00077 #define REMOVE_SESSION_STR 45
00078 #define KEY_FILE_STR 46
00079 #define BAD_IPVER_STR 47
00080 #define BAD_PROTO_STR 48
00081 #define PACKET_HDR_SHORT_STR 49
00082 #define GOT_UNKNOWN_RECORD_STR 50
00083 
00084 #define BAD_TRACE_FILE_STR 51
00085 #define FATAL_ERROR_STR 52
00086 #define PARTIAL_INPUT_STR 53
00087 #define BUFFER_ERROR_STR 54
00088 #define PARTIAL_ADD_STR 55
00089 #define DUPLICATE_STR 56
00090 #define OUT_OF_ORDER_STR 57
00091 #define OVERLAP_DUPLICATE_STR 58
00092 #define OVERLAP_REASSEMBLY_BEGIN_STR 59
00093 #define OVERLAP_REASSEMBLY_END_STR 60
00094 
00095 #define MISSED_CLIENT_HELLO_STR 61
00096 #define GOT_HELLO_REQUEST_STR 62
00097 #define GOT_SESSION_TICKET_STR 63
00098 #define BAD_INPUT_STR 64
00099 #define BAD_DECRYPT_TYPE 65
00100 #define BAD_FINISHED_MSG 66
00101 #define BAD_COMPRESSION_STR 67
00102 #define BAD_DERIVE_STR 68
00103 #define ACK_MISSED_STR 69
00104 
00105 /* !!!! also add to msgTable in sniffer.c and .rc file !!!! */
00106 
00107 
00108 #endif /* CyaSSL_SNIFFER_ERROR_H */
00109