aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/kernel/kernel_ipsec.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2008-09-25 13:56:23 +0000
committerTobias Brunner <tobias@strongswan.org>2008-09-25 13:56:23 +0000
commita341a68fac045e94a45aa3fb1f7ac3e821e8a8be (patch)
tree3a55ecb885c39c1bb7ff48f1b9162291b97c9217 /src/charon/kernel/kernel_ipsec.c
parent507f26f685b83ced2b2cd51465ad426bf87f2da5 (diff)
downloadstrongswan-a341a68fac045e94a45aa3fb1f7ac3e821e8a8be.tar.bz2
strongswan-a341a68fac045e94a45aa3fb1f7ac3e821e8a8be.tar.xz
merging renaming of mode_t to ipsec_mode_t back to trunk
Diffstat (limited to 'src/charon/kernel/kernel_ipsec.c')
-rw-r--r--src/charon/kernel/kernel_ipsec.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/charon/kernel/kernel_ipsec.c b/src/charon/kernel/kernel_ipsec.c
new file mode 100644
index 000000000..e12e0096e
--- /dev/null
+++ b/src/charon/kernel/kernel_ipsec.c
@@ -0,0 +1,26 @@
+/*
+ * Copyright (C) 2008 Tobias Brunner
+ * Hochschule fuer Technik Rapperswil
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation; either version 2 of the License, or (at your
+ * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * for more details.
+ *
+ * $Id$
+ */
+
+#include "kernel_ipsec.h"
+
+ENUM(ipsec_mode_names, MODE_TRANSPORT, MODE_BEET,
+ "TRANSPORT",
+ "TUNNEL",
+ "2",
+ "3",
+ "BEET",
+);