diff options
author | Tobias Brunner <tobias@strongswan.org> | 2010-07-12 10:57:46 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2010-09-02 19:01:25 +0200 |
commit | 6f449d2efdacaf5bfdc88f2c20130451e0c53d70 (patch) | |
tree | 4423af4183873dab8d2620ae9c9e4e76e22a005a /src/libhydra/kernel/kernel_ipsec.c | |
parent | 9f166d9ac20e493e772a384cecdf8badcabf35cb (diff) | |
download | strongswan-6f449d2efdacaf5bfdc88f2c20130451e0c53d70.tar.bz2 strongswan-6f449d2efdacaf5bfdc88f2c20130451e0c53d70.tar.xz |
Moved kernel interface to libhydra.
Diffstat (limited to 'src/libhydra/kernel/kernel_ipsec.c')
-rw-r--r-- | src/libhydra/kernel/kernel_ipsec.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/libhydra/kernel/kernel_ipsec.c b/src/libhydra/kernel/kernel_ipsec.c new file mode 100644 index 000000000..5b0335b16 --- /dev/null +++ b/src/libhydra/kernel/kernel_ipsec.c @@ -0,0 +1,29 @@ +/* + * 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. + */ + +#include "kernel_ipsec.h" + +ENUM(ipsec_mode_names, MODE_TRANSPORT, MODE_BEET, + "TRANSPORT", + "TUNNEL", + "BEET", +); + +ENUM(policy_dir_names, POLICY_IN, POLICY_FWD, + "in", + "out", + "fwd" +); + |