diff options
Diffstat (limited to 'Source/charon/threads/kernel_interface.h')
-rw-r--r-- | Source/charon/threads/kernel_interface.h | 11 |
1 files changed, 11 insertions, 0 deletions
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. * |