大网数据广告活动
网络与域名解析

Starting Up a Multicast Routing Protocol

· 52CE 我爱测

The following table summarizes a series of steps in a startup interaction between a routing protocol and the multicast group manager.

The following table summarizes a series of steps in a startup interaction between a routing protocol and the multicast group manager. The first column describes actions that the routing protocol performs and the responses of the routing protocol 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
Register with the multicast group manager using the MgmRegisterMProtocol function. Return to the routing protocol a handle that the protocol must use to identify itself in subsequent MGM API calls.
Determine if an interface is already owned, and the routing protocol that owns it using the MgmGetProtocolOnInterface function. IGMP can use this function to determine the owner of an interface, and perform protocol-specific processing with the information returned by this function.
Take ownership of all the interfaces on which the protocol is enabled using the MgmTakeInterfaceOwnership function. If IGMP has already taken ownership of an interface and the MgmTakeInterfaceOwnership function call is received for the same interface, 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. Only one protocol can own an interface at a given time, in addition to IGMP.
Determine the current state of group membership on the router. This action is performed using the group membership enumeration functions: MgmGroupEnumerationStart, MgmGroupEnumerationGetNext, and MgmGroupEnumerationEnd. Return the list of groups. Routing protocols can use the results to determine what actions to take based on the groups that have already been joined. See Enumerating Groups for a complete example of using these functions.

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。