Edit

Shutting Down a Multicast Routing Protocol

The following table summarizes a series of steps in a shutdown interaction between the multicast group manager and the routing protocol when the routing protocol is shutting down. The first column describes the actions that the routing protocol performs and the routing protocol's responses to the multicast group manager. The second column describes the multicast group manager's responses to the routing protocol and any actions the multicast group manager performs such as callbacks. The third column presents any additional information.

Each row of the table represents one step.

Routing protocol action Multicast group manager action Notes
Release ownership of each interface that the routing protocol owns using the MgmReleaseInterfaceOwnership function. If IGMP is also running on the interface that was just released by a routing protocol, contact IGMP using the PMGM_DISABLE_IGMP_CALLBACK callback. Once all changes to multicast data regarding interface ownership have been made, contact IGMP again using PMGM_ENABLE_IGMP_CALLBACK callback.
Delete all the forwarding entries associated with this interface.
Deregister with the multicast group manager using the MgmDeRegisterMProtocol function. Destroy the handle that was returned to the routing protocol by a previous call to the MgmDeRegisterMProtocol function. The routing protocol can no longer use this handle to call MGM functions.