Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
cnat: Fix session flag initialization
[vpp.git]
/
src
/
plugins
/
cnat
/
cnat_session.h
diff --git
a/src/plugins/cnat/cnat_session.h
b/src/plugins/cnat/cnat_session.h
index
5176450
..
072bb10
100644
(file)
--- 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),
*/
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),
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_
} cnat_session_flag_t;
typedef enum cnat_session_location_t_