summaryrefslogtreecommitdiff
path: root/src/libcharon/sa/trap_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcharon/sa/trap_manager.h')
-rw-r--r--src/libcharon/sa/trap_manager.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libcharon/sa/trap_manager.h b/src/libcharon/sa/trap_manager.h
index 37b42e2b0..928b2a49f 100644
--- a/src/libcharon/sa/trap_manager.h
+++ b/src/libcharon/sa/trap_manager.h
@@ -68,6 +68,11 @@ struct trap_manager_t {
traffic_selector_t *src, traffic_selector_t *dst);
/**
+ * Clear any installed trap.
+ */
+ void (*flush)(trap_manager_t *this);
+
+ /**
* Destroy a trap_manager_t.
*/
void (*destroy)(trap_manager_t *this);