Avoid proxy for bypass_socket, enable_udp_decap
[strongswan.git] / src / charon-tkm / src / tkm / tkm_kernel_ipsec.h
1 /*
2 * Copyright (C) 2012 Reto Buerki
3 * Copyright (C) 2012 Adrian-Ken Rueegsegger
4 * Hochschule fuer Technik Rapperswil
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * for more details.
15 */
16
17 #ifndef TKM_KERNEL_IPSEC_H_
18 #define TKM_KERNEL_IPSEC_H_
19
20 #include <kernel/kernel_ipsec.h>
21
22 typedef struct tkm_kernel_ipsec_t tkm_kernel_ipsec_t;
23
24 /**
25 * TKM implementation of the kernel ipsec interface.
26 */
27 struct tkm_kernel_ipsec_t {
28
29 /**
30 * Implements kernel_ipsec_t interface
31 */
32 kernel_ipsec_t interface;
33 };
34
35 /**
36 * Create a TKM kernel ipsec interface instance.
37 *
38 * @return tkm_kernel_ipsec_t instance
39 */
40 tkm_kernel_ipsec_t *tkm_kernel_ipsec_create();
41
42 #endif /** TKM_KERNEL_IPSEC_H_ */