NAT: VPP-1552 code migration from old multiarch scheme
[vpp.git] / src / plugins / nat / dslite.h
index 6a1c2ec..65498ee 100644 (file)
@@ -46,7 +46,6 @@ typedef CLIB_PACKED (struct
   f64 last_heard;
   u64 total_bytes;
   u32 total_pkts;
-  u32 outside_address_index;
 }) dslite_session_t;
 /* *INDENT-ON* */
 
@@ -88,6 +87,15 @@ typedef struct
   u32 first_worker_index;
   u16 port_per_thread;
 
+  /* counters/gauges */
+  vlib_simple_counter_main_t total_b4s;
+  vlib_simple_counter_main_t total_sessions;
+
+  /* node index */
+  u32 dslite_in2out_node_index;
+  u32 dslite_in2out_slowpath_node_index;
+  u32 dslite_out2in_node_index;
+
   /* If set then the DSLite component behaves as CPE/B4
    * otherwise it behaves as AFTR */
   u8 is_ce;