diff options
author | Martin Willi <martin@strongswan.org> | 2006-03-01 15:56:51 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2006-03-01 15:56:51 +0000 |
commit | 5d187bd234913b8b1004f3e21ca236d458949831 (patch) | |
tree | b12dc8b1b74192e94adb7bf347520865c1bb84eb /Source/charon/threads/kernel_interface.h | |
parent | fb8aa445d27227bf2b04c1c09e94206a007a18aa (diff) | |
download | strongswan-5d187bd234913b8b1004f3e21ca236d458949831.tar.bz2 strongswan-5d187bd234913b8b1004f3e21ca236d458949831.tar.xz |
- working policy installation and removal
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. * |