NEWS about eap-dynamic plugin added
[strongswan.git] / src / starter / keywords.h
1 /*
2 * Copyright (C) 2005 Andreas Steffen
3 * Hochschule fuer Technik Rapperswil, Switzerland
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the
7 * Free Software Foundation; either version 2 of the License, or (at your
8 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 * for more details.
14 */
15
16 #ifndef _KEYWORDS_H_
17 #define _KEYWORDS_H_
18
19 typedef enum {
20 /* config setup keywords */
21 KW_CHARONDEBUG,
22 KW_UNIQUEIDS,
23 KW_CACHECRLS,
24 KW_STRICTCRLPOLICY,
25 KW_PKCS11_DEPRECATED,
26 KW_SETUP_DEPRECATED,
27
28 #define KW_SETUP_FIRST KW_CHARONDEBUG
29 #define KW_SETUP_LAST KW_SETUP_DEPRECATED
30
31 /* conn section keywords */
32 KW_CONN_NAME,
33 KW_CONN_SETUP,
34 KW_KEYEXCHANGE,
35 KW_TYPE,
36 KW_COMPRESS,
37 KW_INSTALLPOLICY,
38 KW_AGGRESSIVE,
39 KW_AUTH,
40 KW_AUTHBY,
41 KW_EAP_IDENTITY,
42 KW_AAA_IDENTITY,
43 KW_MOBIKE,
44 KW_FORCEENCAPS,
45 KW_IKELIFETIME,
46 KW_KEYLIFE,
47 KW_REKEYMARGIN,
48 KW_LIFEBYTES,
49 KW_MARGINBYTES,
50 KW_LIFEPACKETS,
51 KW_MARGINPACKETS,
52 KW_KEYINGTRIES,
53 KW_REKEYFUZZ,
54 KW_REKEY,
55 KW_REAUTH,
56 KW_IKE,
57 KW_ESP,
58 KW_DPDDELAY,
59 KW_DPDTIMEOUT,
60 KW_DPDACTION,
61 KW_CLOSEACTION,
62 KW_INACTIVITY,
63 KW_MODECONFIG,
64 KW_XAUTH,
65 KW_XAUTH_IDENTITY,
66 KW_MEDIATION,
67 KW_MEDIATED_BY,
68 KW_ME_PEERID,
69 KW_REQID,
70 KW_MARK,
71 KW_MARK_IN,
72 KW_MARK_OUT,
73 KW_TFC,
74 KW_PFS_DEPRECATED,
75 KW_CONN_DEPRECATED,
76
77 #define KW_CONN_FIRST KW_CONN_SETUP
78 #define KW_CONN_LAST KW_CONN_DEPRECATED
79
80 /* ca section keywords */
81 KW_CA_NAME,
82 KW_CA_SETUP,
83 KW_CACERT,
84 KW_CRLURI,
85 KW_CRLURI2,
86 KW_OCSPURI,
87 KW_OCSPURI2,
88 KW_CERTURIBASE,
89 KW_CA_DEPRECATED,
90
91 #define KW_CA_FIRST KW_CA_SETUP
92 #define KW_CA_LAST KW_CA_DEPRECATED
93
94 /* end keywords */
95 KW_HOST,
96 KW_IKEPORT,
97 KW_SUBNET,
98 KW_PROTOPORT,
99 KW_SOURCEIP,
100 KW_NATIP,
101 KW_FIREWALL,
102 KW_HOSTACCESS,
103 KW_ALLOWANY,
104 KW_UPDOWN,
105 KW_AUTH1,
106 KW_AUTH2,
107 KW_ID,
108 KW_ID2,
109 KW_RSASIGKEY,
110 KW_CERT,
111 KW_CERT2,
112 KW_CERTPOLICY,
113 KW_SENDCERT,
114 KW_CA,
115 KW_CA2,
116 KW_GROUPS,
117 KW_GROUPS2,
118 KW_END_DEPRECATED,
119
120 #define KW_END_FIRST KW_HOST
121 #define KW_END_LAST KW_END_DEPRECATED
122
123 /* left end keywords */
124 KW_LEFT,
125 KW_LEFTIKEPORT,
126 KW_LEFTSUBNET,
127 KW_LEFTPROTOPORT,
128 KW_LEFTSOURCEIP,
129 KW_LEFTNATIP,
130 KW_LEFTFIREWALL,
131 KW_LEFTHOSTACCESS,
132 KW_LEFTALLOWANY,
133 KW_LEFTUPDOWN,
134 KW_LEFTAUTH,
135 KW_LEFTAUTH2,
136 KW_LEFTID,
137 KW_LEFTID2,
138 KW_LEFTRSASIGKEY,
139 KW_LEFTCERT,
140 KW_LEFTCERT2,
141 KW_LEFTCERTPOLICY,
142 KW_LEFTSENDCERT,
143 KW_LEFTCA,
144 KW_LEFTCA2,
145 KW_LEFTGROUPS,
146 KW_LEFTGROUPS2,
147 KW_LEFT_DEPRECATED,
148
149 #define KW_LEFT_FIRST KW_LEFT
150 #define KW_LEFT_LAST KW_LEFT_DEPRECATED
151
152 /* right end keywords */
153 KW_RIGHT,
154 KW_RIGHTIKEPORT,
155 KW_RIGHTSUBNET,
156 KW_RIGHTPROTOPORT,
157 KW_RIGHTSOURCEIP,
158 KW_RIGHTNATIP,
159 KW_RIGHTFIREWALL,
160 KW_RIGHTHOSTACCESS,
161 KW_RIGHTALLOWANY,
162 KW_RIGHTUPDOWN,
163 KW_RIGHTAUTH,
164 KW_RIGHTAUTH2,
165 KW_RIGHTID,
166 KW_RIGHTID2,
167 KW_RIGHTRSASIGKEY,
168 KW_RIGHTCERT,
169 KW_RIGHTCERT2,
170 KW_RIGHTCERTPOLICY,
171 KW_RIGHTSENDCERT,
172 KW_RIGHTCA,
173 KW_RIGHTCA2,
174 KW_RIGHTGROUPS,
175 KW_RIGHTGROUPS2,
176 KW_RIGHT_DEPRECATED,
177
178 #define KW_RIGHT_FIRST KW_RIGHT
179 #define KW_RIGHT_LAST KW_RIGHT_DEPRECATED
180
181 /* general section keywords */
182 KW_ALSO,
183 KW_AUTO,
184
185 } kw_token_t;
186
187 #endif /* _KEYWORDS_H_ */
188