aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/sa/task_manager.h
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2010-11-10 16:47:56 +0100
committerMartin Willi <martin@revosec.ch>2011-01-05 16:45:44 +0100
commitc67de660d254a670d3887568249ba3902d90989e (patch)
treef9273e7a3ee4a2ec449a01f6810c2c44e664ccc8 /src/libcharon/sa/task_manager.h
parente7099aa24effb0b88f1667953daba7f917655afe (diff)
downloadstrongswan-c67de660d254a670d3887568249ba3902d90989e.tar.bz2
strongswan-c67de660d254a670d3887568249ba3902d90989e.tar.xz
Move critical bit checking to ike_sa, notify payload includes unsupported payload type
Diffstat (limited to 'src/libcharon/sa/task_manager.h')
-rw-r--r--src/libcharon/sa/task_manager.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libcharon/sa/task_manager.h b/src/libcharon/sa/task_manager.h
index 14fccd5f9..5bc6c80c4 100644
--- a/src/libcharon/sa/task_manager.h
+++ b/src/libcharon/sa/task_manager.h
@@ -149,6 +149,16 @@ struct task_manager_t {
void (*adopt_tasks) (task_manager_t *this, task_manager_t *other);
/**
+ * Increment a message ID counter, in- or outbound.
+ *
+ * If a message is processed outside of the manager, this call increments
+ * the message ID counters of the task manager.
+ *
+ * @param inititate TRUE to increment the initiating ID
+ */
+ void (*incr_mid)(task_manager_t *this, bool initiate);
+
+ /**
* Reset message ID counters of the task manager.
*
* The IKEv2 protocol requires to restart exchanges with message IDs