fixed some byte-order issues
[strongswan.git] / src / charon / encoding / payloads / encodings.c
1 /**
2 * @file encodings.c
3 *
4 * @brief String mappings of encoding_type_t.
5 *
6 */
7
8 /*
9 * Copyright (C) 2005-2006 Martin Willi
10 * Copyright (C) 2005 Jan Hutter
11 * Hochschule fuer Technik Rapperswil
12 *
13 * This program is free software; you can redistribute it and/or modify it
14 * under the terms of the GNU General Public License as published by the
15 * Free Software Foundation; either version 2 of the License, or (at your
16 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
17 *
18 * This program is distributed in the hope that it will be useful, but
19 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
20 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21 * for more details.
22 */
23
24
25 #include "encodings.h"
26
27 ENUM(encoding_type_names, U_INT_4, UNKNOWN_DATA,
28 "U_INT_4",
29 "U_INT_8",
30 "U_INT_16",
31 "U_INT_32",
32 "U_INT_64",
33 "IKE_SPI",
34 "RESERVED_BIT",
35 "RESERVED_BYTE",
36 "FLAG",
37 "PAYLOAD_LENGTH",
38 "HEADER_LENGTH",
39 "SPI_SIZE",
40 "SPI",
41 "KEY_EXCHANGE_DATA",
42 "NOTIFICATION_DATA",
43 "PROPOSALS",
44 "TRANSFORMS",
45 "TRANSFORM_ATTRIBUTES",
46 "ATTRIBUTE_FORMAT",
47 "ATTRIBUTE_TYPE",
48 "ATTRIBUTE_LENGTH_OR_VALUE",
49 "ATTRIBUTE_VALUE",
50 "NONCE_DATA",
51 "ID_DATA",
52 "AUTH_DATA",
53 "ENCRYPTED_DATA",
54 "TS_TYPE",
55 "ADDRESS",
56 "TRAFFIC_SELECTORS",
57 "CERT_DATA",
58 "CERTREQ_DATA",
59 "SPIS",
60 "VID_DATA",
61 "VID_DATA",
62 "CONFIGURATION_ATTRIBUTES",
63 "CONFIGURATION_ATTRIBUTE_LENGTH",
64 "CONFIGURATION_ATTRIBUTE_VALUE",
65 "EAP_MESSAGE",
66 "UNKNOWN_DATA",
67 );