From 6de58f5fd0c9d47a65e24d3617e465b9fa8d8872 Mon Sep 17 00:00:00 2001 From: Nathan Skrzypczak Date: Mon, 24 Jan 2022 17:10:41 +0100 Subject: cnat: maglev fixes & improvements This fixes the maglev logic which previously included a wrong simplication. It moves the maglev logic to its own file, and adds a test function in the debug cli. Type: improvement Change-Id: I2790ae2a26fc1c5739ff02f41d436bfcafd5b380 Signed-off-by: Nathan Skrzypczak --- src/plugins/cnat/cnat_types.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/plugins/cnat/cnat_types.h') diff --git a/src/plugins/cnat/cnat_types.h b/src/plugins/cnat/cnat_types.h index c3ec74c345f..7b779a66a4e 100644 --- a/src/plugins/cnat/cnat_types.h +++ b/src/plugins/cnat/cnat_types.h @@ -62,6 +62,8 @@ typedef enum cnat_trk_flag_t_ /* Don't translate this endpoint, but still * forward. Used by maglev for DSR */ CNAT_TRK_FLAG_NO_NAT = (1 << 1), + /* */ + CNAT_TRK_FLAG_TEST_DISABLED = (1 << 7), } cnat_trk_flag_t; typedef enum -- cgit 1.2.3-korg