summaryrefslogtreecommitdiffstats
path: root/vrrpd/vrrp.h
diff options
context:
space:
mode:
Diffstat (limited to 'vrrpd/vrrp.h')
-rw-r--r--vrrpd/vrrp.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/vrrpd/vrrp.h b/vrrpd/vrrp.h
index 45f4e4ecb..94cd1ca3f 100644
--- a/vrrpd/vrrp.h
+++ b/vrrpd/vrrp.h
@@ -141,6 +141,18 @@ struct vrrp_router {
int state;
} fsm;
+ struct {
+ /* Total number of advertisements sent and received */
+ uint32_t adver_tx_cnt;
+ uint32_t adver_rx_cnt;
+ /* Total number of gratuitous ARPs sent */
+ uint32_t garp_tx_cnt;
+ /* Total number of unsolicited Neighbor Advertisements sent */
+ uint32_t una_tx_cnt;
+ /* Total number of state transitions */
+ uint32_t trans_cnt;
+ } stats;
+
struct thread *t_master_down_timer;
struct thread *t_adver_timer;
struct thread *t_read;