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
/
nat64.h
diff --git
a/src/plugins/nat/nat64.h
b/src/plugins/nat/nat64.h
index
d365e12
..
0a60571
100644
(file)
--- a/
src/plugins/nat/nat64.h
+++ b/
src/plugins/nat/nat64.h
@@
-108,6
+108,10
@@
typedef struct
/* The process node which orcherstrates the cleanup */
u32 nat64_expire_walk_node_index;
/* The process node which orcherstrates the cleanup */
u32 nat64_expire_walk_node_index;
+ /* counters/gauges */
+ vlib_simple_counter_main_t total_bibs;
+ vlib_simple_counter_main_t total_sessions;
+
ip4_main_t *ip4_main;
snat_main_t *sm;
} nat64_main_t;
ip4_main_t *ip4_main;
snat_main_t *sm;
} nat64_main_t;