summaryrefslogtreecommitdiffstats
path: root/src/plugins/cnat/cnat_session.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/cnat/cnat_session.h')
-rw-r--r--src/plugins/cnat/cnat_session.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/cnat/cnat_session.h b/src/plugins/cnat/cnat_session.h
index 51764504bca..072bb10f96f 100644
--- a/src/plugins/cnat/cnat_session.h
+++ b/src/plugins/cnat/cnat_session.h
@@ -123,7 +123,12 @@ typedef enum cnat_session_flag_t_
*/
CNAT_SESSION_FLAG_NO_CLIENT = (1 << 2),
+ /* Do not actually translate the packet but still forward it
+ * Used for Maglev, with an encap */
CNAT_SESSION_FLAG_NO_NAT = (1 << 3),
+
+ /* Debug flag marking return sessions */
+ CNAT_SESSION_IS_RETURN = (1 << 4),
} cnat_session_flag_t;
typedef enum cnat_session_location_t_