| Lower layer | Selector | Value |
ipv4 | protocol | 2 (0x02) |
| Field | Type | Default | Auto | Description |
type | enum(8) | 17 (membership_query) | Protocol number of the next layer (see Next layer) | IGMP message type (Auto from the body: 0x11 query, 0x12 / 0x16 report, 0x17 leave, 0x22 v3 report). |
max_resp_code | uint(8) | 100 | | Maximum response time / code in 1/10 s (queries; zero in reports). |
checksum | uint(16) | | Internet checksum over the header and everything after it | Internet checksum over the whole IGMP message (Auto). |
| Value | Name |
| 17 (0x11) | membership_query |
| 18 (0x12) | v1_membership_report |
| 22 (0x16) | v2_membership_report |
| 23 (0x17) | leave_group |
| 34 (0x22) | v3_membership_report |
The next layer is selected by type; when the field is Auto the builder writes the value of the protocol stacked above.
- igmpv2-query —
templates/protocols/mcast/igmpv2-query.wpg.yaml
- igmpv3-query —
templates/protocols/mcast/igmpv3-query.wpg.yaml
- igmpv3-report —
templates/protocols/mcast/igmpv3-report.wpg.yaml