]> git.proxmox.com Git - mirror_frr.git/commit - pimd/pim_upstream.h
pimd: add new/distinct enumeration for pim register state
authoranuradhak <anuradhak@cumulusnetworks.com>
Thu, 9 Mar 2017 17:52:59 +0000 (09:52 -0800)
committeranuradhak <anuradhak@cumulusnetworks.com>
Fri, 10 Mar 2017 18:48:41 +0000 (10:48 -0800)
commit0c2ebf00a628772c09ec97f970ae34b8076e9976
treeb27d05fed05a6a17d49323e0915b52438f3af9c4
parente0e127b00953ba68da8f51c927ca251cea4a3773
pimd: add new/distinct enumeration for pim register state

With the separation of register-state and upstream-join-state we no
longer need an enumeration that covers both states. This commit includes
the following -
1. Defined new enumeration for reg state (this 1:1 with RFC4601).
2. Dropped JOIN_PENDING enum value from upstream join state. RFC4601
only define two values NOT_JOINED and JOINED for this state.

Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Ticket: CM-14700
Testing Done: Verified register setup manually and ran pim-smoke
pimd/pim_cmd.c
pimd/pim_mroute.c
pimd/pim_register.c
pimd/pim_upstream.c
pimd/pim_upstream.h