Expand description
Parsing and serialization of Internet Group Management Protocol (IGMP) packets.
This module supports both IGMPv2 and IGMPv3.
The IGMPv2 packet format is defined in RFC 2236 Section 2, and the IGMPv3 packet format is defined in RFC 3376 Section 4.
Modules§
- messages
 - Implementation of IGMP Messages.
 
Structs§
- Header
Prefix  HeaderPrefixrepresents the first 4 octets of every IGMP message.- Igmp
Message  - An IGMP message.
 - Igmp
Packet Builder  - A builder for IGMP packets.
 - Igmp
Response Time V2  - Thin wrapper around 
u8that provides maximum response time parsing for IGMP v2. - Igmp
Response Time V3  - Thin wrapper around u8 that provides maximum response time parsing for IGMP v3.
 
Traits§
- Igmp
MaxResp Code  - Trait for treating the max_resp_code field of 
HeaderPrefix. - Igmp
NonEmpty Body  - A marker trait for implementers of 
MessageType. OnlyMessageTypes whoseVariableBodyimplementsIgmpNonEmptyBody(or is()for empty bodies) can be built usingIgmpPacketBuilder. - Message
Type  - Trait specifying serialization behavior for IGMP messages.
 
Functions§
- peek_
message_ type  - Peek at an IGMP header to see what message type is present.