summaryrefslogtreecommitdiff
path: root/src/libcharon/sa/trap_manager.h
diff options
context:
space:
mode:
authorYves-Alexis Perez <corsac@corsac.net>2012-06-28 21:16:07 +0200
committerYves-Alexis Perez <corsac@corsac.net>2012-06-28 21:16:07 +0200
commitb34738ed08c2227300d554b139e2495ca5da97d6 (patch)
tree62f33b52820f2e49f0e53c0f8c636312037c8054 /src/libcharon/sa/trap_manager.h
parent0a9d51a49042a68daa15b0c74a2b7f152f52606b (diff)
downloadvyos-strongswan-b34738ed08c2227300d554b139e2495ca5da97d6.tar.gz
vyos-strongswan-b34738ed08c2227300d554b139e2495ca5da97d6.zip
Imported Upstream version 4.6.4
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);