aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/tnc/imv
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcharon/tnc/imv')
-rw-r--r--src/libcharon/tnc/imv/imv_manager.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libcharon/tnc/imv/imv_manager.h b/src/libcharon/tnc/imv/imv_manager.h
index 148236145..0e8319396 100644
--- a/src/libcharon/tnc/imv/imv_manager.h
+++ b/src/libcharon/tnc/imv/imv_manager.h
@@ -56,6 +56,16 @@ struct imv_manager_t {
int (*get_count)(imv_manager_t *this);
/**
+ * Enforce the TNC recommendation on the IKE_SA by either inserting an
+ * allow|isolate group membership rule (TRUE) or by blocking access (FALSE)
+ *
+ * @param void TNC action recommendation
+ * @return TRUE for allow|isolate, FALSE for none
+ */
+ bool (*enforce_recommendation)(imv_manager_t *this,
+ TNC_IMV_Action_Recommendation rec);
+
+ /**
* Notify all IMV instances
*
* @param state communicate the state a connection has reached