summaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/nat66.h
diff options
context:
space:
mode:
authorJuraj Sloboda <jsloboda@cisco.com>2018-04-13 12:00:46 +0200
committerNeale Ranns <nranns@cisco.com>2018-04-13 14:21:08 +0000
commit9341e34b500ce7c68fc6857a24ee7b67cac121b1 (patch)
tree687609bb47e28a42e0916bd61338ed08ef1586c2 /src/plugins/nat/nat66.h
parent609b5d41b02c950f942b5382992c6c7937f91f8f (diff)
NAT66: Do not translate if packet not aimed at outside interface
Change-Id: Id5a2a90d81cc9cb87cb6fb89ac2f4ca3cbcb51e2 Signed-off-by: Juraj Sloboda <jsloboda@cisco.com>
Diffstat (limited to 'src/plugins/nat/nat66.h')
-rw-r--r--src/plugins/nat/nat66.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/nat/nat66.h b/src/plugins/nat/nat66.h
index ac5557fc491..52befd5c166 100644
--- a/src/plugins/nat/nat66.h
+++ b/src/plugins/nat/nat66.h
@@ -55,6 +55,9 @@ typedef struct
clib_bihash_24_8_t sm_e;
/** Session counters */
vlib_combined_counter_main_t session_counters;
+
+ u32 outside_vrf_id;
+ u32 outside_fib_index;
} nat66_main_t;
extern nat66_main_t nat66_main;