diff options
| author | saravanank <saravanank@vmware.com> | 2019-05-01 19:24:14 -0700 |
|---|---|---|
| committer | saravanank <saravanank@vmware.com> | 2019-05-14 20:23:15 -0700 |
| commit | 361b5843947b44fad4fe19065a5c39fb59b9782a (patch) | |
| tree | c356e9b343bc220d01130938d7c1f5f04b6dc647 /pimd/pim_instance.h | |
| parent | e2d01c190da0bda7a80f6105e02b1e697b11298f (diff) | |
pimd: PIM BSM Processing datastructure definition/initialization/deinit
Apart from datastructure, bsm scope initialization and deinitialiation
routines called during pim instance init and deinit. Also makefile changes.
Signed-off-by: Saravanan K <saravanank@vmware.com>
Diffstat (limited to 'pimd/pim_instance.h')
| -rw-r--r-- | pimd/pim_instance.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pimd/pim_instance.h b/pimd/pim_instance.h index 1740bcc790..06d41c4b53 100644 --- a/pimd/pim_instance.h +++ b/pimd/pim_instance.h @@ -26,6 +26,7 @@ #include "pim_str.h" #include "pim_msdp.h" #include "pim_assert.h" +#include "pim_bsm.h" #include "pim_vxlan_instance.h" #if defined(HAVE_LINUX_MROUTE_H) @@ -121,6 +122,11 @@ struct pim_instance { bool ecmp_enable; bool ecmp_rebalance_enable; + /* Bsm related */ + struct bsm_scope global_scope; + uint64_t bsm_rcvd; + uint64_t bsm_sent; + uint64_t bsm_dropped; /* If we need to rescan all our upstreams */ struct thread *rpf_cache_refresher; |
