cnat: allow max_u16 translation backends
[vpp.git] / src / plugins / cnat / cnat_translation.h
index cfcbf5b..a4ae1ec 100644 (file)
@@ -58,7 +58,12 @@ typedef struct cnat_ep_trk_t_
 
 typedef enum cnat_translation_flag_t_
 {
+  /* Do allocate a source port */
   CNAT_TRANSLATION_FLAG_ALLOCATE_PORT = (1 << 0),
+  /* Has this translation been satcked ?
+   * this allow not being called twice when
+   * with more then FIB_PATH_LIST_POPULAR backends  */
+  CNAT_TRANSLATION_STACKED = (1 << 1),
 } cnat_translation_flag_t;
 
 typedef enum