Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
nat: fix net44 lb static API
[vpp.git]
/
src
/
plugins
/
nat
/
dslite.h
diff --git
a/src/plugins/nat/dslite.h
b/src/plugins/nat/dslite.h
index
6a1c2ec
..
65498ee
100644
(file)
--- a/
src/plugins/nat/dslite.h
+++ b/
src/plugins/nat/dslite.h
@@
-46,7
+46,6
@@
typedef CLIB_PACKED (struct
f64 last_heard;
u64 total_bytes;
u32 total_pkts;
f64 last_heard;
u64 total_bytes;
u32 total_pkts;
- u32 outside_address_index;
}) dslite_session_t;
/* *INDENT-ON* */
}) dslite_session_t;
/* *INDENT-ON* */
@@
-88,6
+87,15
@@
typedef struct
u32 first_worker_index;
u16 port_per_thread;
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;
/* If set then the DSLite component behaves as CPE/B4
* otherwise it behaves as AFTR */
u8 is_ce;