X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fplugins%2Fcnat%2Fcnat_types.h;h=c3ec74c345f3864c142b549b9013798d4a3e2c15;hb=418abe2a259bc8c04c3b8839099204d56ae504ba;hp=47e34e1f23233b0357851ba284fa651ceab559fd;hpb=592dbd0ad3b464d14aba7ccec918d5ed7f9429fc;p=vpp.git diff --git a/src/plugins/cnat/cnat_types.h b/src/plugins/cnat/cnat_types.h index 47e34e1f232..c3ec74c345f 100644 --- a/src/plugins/cnat/cnat_types.h +++ b/src/plugins/cnat/cnat_types.h @@ -55,6 +55,15 @@ #define MIN_SRC_PORT ((u16) 0xC000) +typedef enum cnat_trk_flag_t_ +{ + /* Endpoint is active (static or dhcp resolved) */ + CNAT_TRK_ACTIVE = (1 << 0), + /* Don't translate this endpoint, but still + * forward. Used by maglev for DSR */ + CNAT_TRK_FLAG_NO_NAT = (1 << 1), +} cnat_trk_flag_t; + typedef enum { /* Endpoint addr has been resolved */