diff options
| author | Jafar Al-Gharaibeh <Jafaral@users.noreply.github.com> | 2019-10-14 01:07:24 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-14 01:07:24 -0500 |
| commit | d563896dada99f3474d428f928786cbfde936fee (patch) | |
| tree | bfb366c123c96cfc0b086803628b45dc2d2d6b05 /pimd/pim_instance.h | |
| parent | 09ea1a40386f02a13cdb0462cc55af0d03f0c277 (diff) | |
| parent | 40e79e94110c772bfb71b97b1d97e8ad35901b88 (diff) | |
Merge pull request #4885 from satheeshkarra/pim_mlag
pimd, lib, Zebra: PIM MLAG Support
Diffstat (limited to 'pimd/pim_instance.h')
| -rw-r--r-- | pimd/pim_instance.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pimd/pim_instance.h b/pimd/pim_instance.h index 06d41c4b53..dd3ac8fcb0 100644 --- a/pimd/pim_instance.h +++ b/pimd/pim_instance.h @@ -64,6 +64,17 @@ struct pim_router { vrf_id_t vrf_id; enum mlag_role role; + uint32_t pim_mlag_intf_cnt; + /* if true we have registered with MLAG */ + bool mlag_process_register; + /* if true local MLAG process reported that it is connected + * with the peer MLAG process + */ + bool connected_to_mlag; + /* Holds the client data(unencoded) that need to be pushed to MCLAGD*/ + struct stream_fifo *mlag_fifo; + struct stream *mlag_stream; + struct thread *zpthread_mlag_write; }; /* Per VRF PIM DB */ @@ -122,6 +133,9 @@ struct pim_instance { bool ecmp_enable; bool ecmp_rebalance_enable; + /* No. of Dual active I/fs in pim_instance */ + uint32_t inst_mlag_intf_cnt; + /* Bsm related */ struct bsm_scope global_scope; uint64_t bsm_rcvd; |
