summaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/nat64.h
diff options
context:
space:
mode:
authorFilip Varga <fivarga@cisco.com>2019-02-13 01:42:59 -0800
committerDamjan Marion <dmarion@me.com>2019-02-18 16:46:50 +0000
commite69e423743630b52e13db58c3f0229df8a46c07f (patch)
tree5471b64b7fe38031f47791c987f9791fc8207fa7 /src/plugins/nat/nat64.h
parent7dcb80a202f1ce075434a17ace3334a7a311e84e (diff)
NAT: VPP-1552 code migration from old multiarch scheme
Change-Id: I88f3df8aaa521e7707ef3335acdbf1ab41e7ee28 Signed-off-by: Filip Varga <fivarga@cisco.com>
Diffstat (limited to 'src/plugins/nat/nat64.h')
-rw-r--r--src/plugins/nat/nat64.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/plugins/nat/nat64.h b/src/plugins/nat/nat64.h
index b9251402a0c..e805a10f29b 100644
--- a/src/plugins/nat/nat64.h
+++ b/src/plugins/nat/nat64.h
@@ -89,8 +89,6 @@ typedef struct
/** Pool of static BIB entries to be added/deleted in worker threads */
nat64_static_bib_to_update_t *static_bibs;
- u32 error_node_index;
-
/** config parameters */
u32 bib_buckets;
u32 bib_memory_size;
@@ -112,6 +110,16 @@ typedef struct
vlib_simple_counter_main_t total_bibs;
vlib_simple_counter_main_t total_sessions;
+ /** node index **/
+ u32 error_node_index;
+
+ u32 in2out_node_index;
+ u32 in2out_slowpath_node_index;
+ u32 in2out_reass_node_index;
+
+ u32 out2in_node_index;
+ u32 out2in_reass_node_index;
+
ip4_main_t *ip4_main;
snat_main_t *sm;
} nat64_main_t;