fixed encoding rules string
[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, ENCRYPTED_DATA,
28 "U_INT_4",
29 "U_INT_8",
30 "U_INT_16",
31 "U_INT_32",
32 "U_INT_64",
33 "RESERVED_BIT",
34 "RESERVED_BYTE",
35 "FLAG",
36 "PAYLOAD_LENGTH",
37 "HEADER_LENGTH",
38 "SPI_SIZE",
39 "SPI",
40 "KEY_EXCHANGE_DATA",
41 "NOTIFICATION_DATA",
42 "PROPOSALS",
43 "TRANSFORMS",
44 "TRANSFORM_ATTRIBUTES",
45 "CONFIGURATION_ATTRIBUTES",
46 "CONFIGURATION_ATTRIBUTE_VALUE",
47 "ATTRIBUTE_FORMAT",
48 "ATTRIBUTE_TYPE",
49 "ATTRIBUTE_LENGTH_OR_VALUE",
50 "CONFIGURATION_ATTRIBUTE_LENGTH",
51 "ATTRIBUTE_VALUE",
52 "TRAFFIC_SELECTORS",
53 "TS_TYPE",
54 "ADDRESS",
55 "NONCE_DATA",
56 "ID_DATA",
57 "AUTH_DATA",
58 "CERT_DATA",
59 "CERTREQ_DATA",
60 "EAP_DATA",
61 "SPIS",
62 "VID_DATA",
63 "UNKNOWN_DATA",
64 "IKE_SPI",
65 "ENCRYPTED_DATA",
66 );