- working policy installation and removal
[strongswan.git] / Source / charon / threads / kernel_interface.h
index 17b636d..7c2a271 100644 (file)
@@ -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.
         *