summaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/nat_affinity.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/nat/nat_affinity.h')
-rw-r--r--src/plugins/nat/nat_affinity.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/plugins/nat/nat_affinity.h b/src/plugins/nat/nat_affinity.h
index 358e682eb49..d6bda6a8ee1 100644
--- a/src/plugins/nat/nat_affinity.h
+++ b/src/plugins/nat/nat_affinity.h
@@ -79,6 +79,16 @@ u32 nat_affinity_get_per_service_list_head_index (void);
void nat_affinity_flush_service (u32 affinity_per_service_list_head_index);
/**
+ * @brief NAT affinity enable
+ */
+void nat_affinity_enable ();
+
+/**
+ * @brief NAT affinity disable
+ */
+void nat_affinity_disable ();
+
+/**
* @brief Initialize NAT client-IP based affinity.
*
* @param vm vlib main.