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