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: total users and sessions gauges (VPP-1484)
[vpp.git]
/
src
/
plugins
/
nat
/
dslite.h
diff --git
a/src/plugins/nat/dslite.h
b/src/plugins/nat/dslite.h
index
73902e3
..
066bfcf
100644
(file)
--- a/
src/plugins/nat/dslite.h
+++ b/
src/plugins/nat/dslite.h
@@
-87,6
+87,10
@@
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;
+
/* 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;