summaryrefslogtreecommitdiffstats
path: root/pimd
diff options
context:
space:
mode:
authorsaravanank <saravanank@vmware.com>2019-05-02 05:52:59 +0200
committersaravanank <saravanank@vmware.com>2019-05-15 05:23:15 +0200
commit8a4dfb5d457f201062e621ee123813b56a0fe8e6 (patch)
tree8497bc50bd1b59e630938918c5a8ea4993e3dd4f /pimd
parentpimd: implement debug pim bsm command (diff)
downloadfrr-8a4dfb5d457f201062e621ee123813b56a0fe8e6.tar.xz
frr-8a4dfb5d457f201062e621ee123813b56a0fe8e6.zip
pimd: Datastructure for BSM interface configuration and statistics
Signed-off-by: Saravanan K <saravanank@vmware.com>
Diffstat (limited to 'pimd')
-rw-r--r--pimd/pim_iface.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/pimd/pim_iface.h b/pimd/pim_iface.h
index fe96c0775..ab138589b 100644
--- a/pimd/pim_iface.h
+++ b/pimd/pim_iface.h
@@ -128,6 +128,8 @@ struct pim_interface {
bool activeactive;
int64_t pim_ifstat_start; /* start timestamp for stats */
+ uint64_t pim_ifstat_bsm_rx;
+ uint64_t pim_ifstat_bsm_tx;
uint32_t pim_ifstat_hello_sent;
uint32_t pim_ifstat_hello_sendfail;
uint32_t pim_ifstat_hello_recv;
@@ -142,7 +144,12 @@ struct pim_interface {
uint32_t pim_ifstat_reg_stop_send;
uint32_t pim_ifstat_assert_recv;
uint32_t pim_ifstat_assert_send;
+ uint32_t pim_ifstat_bsm_cfg_miss;
+ uint32_t pim_ifstat_ucast_bsm_cfg_miss;
+ uint32_t pim_ifstat_bsm_invalid_sz;
struct bfd_info *bfd_info;
+ bool bsm_enable; /* bsm processing enable */
+ bool ucast_bsm_accept; /* ucast bsm processing */
};
/*