Expand description
Multicast group management with IGMP/MLD protocol support
Provides IPv4 multicast via IGMPv2 and IPv6 multicast via MLDv2, including group join/leave, periodic report generation, and query response handling.
Structs§
- Group
State - State of a joined multicast group
- Igmp
Message - IGMPv2 message (8 bytes on the wire)
- MldAddress
Record - MLDv2 multicast address record
- MldMessage
- MLDv2 message header
- Multicast
Group - IPv4 multicast group identifier
- Multicast
Group V6 - IPv6 multicast group identifier
- Multicast
Manager - Manages multicast group memberships for IPv4 and IPv6.
Enums§
- Multicast
Error - Errors from multicast operations
- Outgoing
Message - Outgoing message produced by the manager (for the network layer to send)
Constants§
- IGMP_
LEAVE_ GROUP - Leave Group
- IGMP_
MEMBERSHIP_ QUERY - Membership Query
- IGMP_
MEMBERSHIP_ REPORT - IGMPv2 Membership Report
- MLD_
QUERY - Multicast Listener Query
- MLD_
RECORD_ ALLOW - Source-List-Change: allow new sources
- MLD_
RECORD_ BLOCK - Source-List-Change: block old sources
- MLD_
RECORD_ IS_ EX - Current-State Record: Exclude mode
- MLD_
RECORD_ IS_ IN - Current-State Record: Include mode
- MLD_
RECORD_ TO_ EX - Filter-Mode-Change: to Exclude
- MLD_
RECORD_ TO_ IN - Filter-Mode-Change: to Include
- MLD_
REPORT_ V2 - MLDv2 Multicast Listener Report
Functions§
- init
- Initialize the global multicast manager.
- internet_
checksum - Compute the Internet checksum (RFC 1071) over a byte slice.
- is_
ipv4_ multicast - Check if an IPv4 address is in the multicast range (224.0.0.0/4).
- is_
ipv6_ multicast - Check if an IPv6 address is in the multicast range (ff00::/8).
- with_
manager - Access the global multicast manager.