From 5d187bd234913b8b1004f3e21ca236d458949831 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Wed, 1 Mar 2006 15:56:51 +0000 Subject: - working policy installation and removal --- Source/charon/threads/kernel_interface.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Source/charon/threads/kernel_interface.h') diff --git a/Source/charon/threads/kernel_interface.h b/Source/charon/threads/kernel_interface.h index 17b636dd1..7c2a27147 100644 --- a/Source/charon/threads/kernel_interface.h +++ b/Source/charon/threads/kernel_interface.h @@ -69,6 +69,11 @@ struct kernel_interface_t { chunk_t integrity_key, bool replace); + status_t (*del_sa) (kernel_interface_t *this, + host_t *dst, + u_int32_t spi, + protocol_id_t protocol); + status_t (*add_policy) (kernel_interface_t *this, host_t *me, host_t *other, host_t *src, host_t *dst, @@ -77,6 +82,12 @@ struct kernel_interface_t { bool ah, bool esp, u_int32_t reqid); + status_t (*del_policy) (kernel_interface_t *this, + host_t *me, host_t *other, + host_t *src, host_t *dst, + u_int8_t src_hostbits, u_int8_t dst_hostbits, + int direction, int upper_proto); + /** * @brief Destroys a kernel_interface object. * -- cgit v1.2.3