aboutsummaryrefslogtreecommitdiffstats
path: root/src/libipsec/ipsec.h
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2012-07-13 15:34:51 +0200
committerTobias Brunner <tobias@strongswan.org>2012-08-08 15:41:03 +0200
commita113d7f29bd2c4c9f378e3644f9309f44e0a08e8 (patch)
tree832b533a7542e2cfd4748082e97d3e2b236b4c30 /src/libipsec/ipsec.h
parentb37758c41eb3137a4398847e729d6fa3d70617a6 (diff)
downloadstrongswan-a113d7f29bd2c4c9f378e3644f9309f44e0a08e8.tar.bz2
strongswan-a113d7f29bd2c4c9f378e3644f9309f44e0a08e8.tar.xz
Added IPsec processor which is responsible for handling in- and outbound packets
Two callbacks can be registered that get called when new inbound plaintext and outbound ESP packets have been processed. Inbound ESP and outbound plaintext packets can be queued for processing with two other methods.
Diffstat (limited to 'src/libipsec/ipsec.h')
-rw-r--r--src/libipsec/ipsec.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libipsec/ipsec.h b/src/libipsec/ipsec.h
index e8e828d25..7ee49432a 100644
--- a/src/libipsec/ipsec.h
+++ b/src/libipsec/ipsec.h
@@ -28,6 +28,7 @@
#include "ipsec_sa_mgr.h"
#include "ipsec_policy_mgr.h"
#include "ipsec_event_relay.h"
+#include "ipsec_processor.h"
#include <library.h>
@@ -53,6 +54,11 @@ struct ipsec_t {
*/
ipsec_event_relay_t *events;
+ /**
+ * IPsec processor instance
+ */
+ ipsec_processor_t *processor;
+
};
/**