Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
LISP: add stats API/CLI
[vpp.git]
/
src
/
vnet
/
lisp-cp
/
control.h
diff --git
a/src/vnet/lisp-cp/control.h
b/src/vnet/lisp-cp/control.h
index
14f3bae
..
933b34b
100644
(file)
--- a/
src/vnet/lisp-cp/control.h
+++ b/
src/vnet/lisp-cp/control.h
@@
-210,6
+210,9
@@
typedef struct
/* timing wheel for mappping timeouts */
timing_wheel_t wheel;
/* timing wheel for mappping timeouts */
timing_wheel_t wheel;
+ /* statistics */
+ u8 stats_enabled;
+
/* commodity */
ip4_main_t *im4;
ip6_main_t *im6;
/* commodity */
ip4_main_t *im4;
ip6_main_t *im6;
@@
-332,6
+335,9
@@
lisp_get_petr_mapping (lisp_cp_main_t * lcm)
return pool_elt_at_index (lcm->mapping_pool, lcm->petr_map_index);
}
return pool_elt_at_index (lcm->mapping_pool, lcm->petr_map_index);
}
+u8 vnet_lisp_stats_enable_disable_state (void);
+vnet_api_error_t vnet_lisp_stats_enable_disable (u8 enable);
+
#endif /* VNET_CONTROL_H_ */
/*
#endif /* VNET_CONTROL_H_ */
/*