IGMP igmpinfo_t Structure

The igmpinfo_t structure is a DTrace translated version of the information contained in the various forms of IGMP header.

typedef struct igmpinfo {
        uint8_t igmp_type;
        uint8_t igmp_code;
        uint16_t igmp_checksum;
        string igmp_group_addr;
        uint8_t igmp_query_version;
        uint8_t igmp_v3_query_max_response_time;
        uint16_t igmp_v3_query_num_sources;
        uintptr_t igmp_v3_query_sources;
        uint16_t igmp_v3_report_num_records;
        struct grphdr *igmp_v3_report_records;
        struct igmp *igmp_hdr;
} igmpinfo_t;

Table 11-46 List of IGMP igmpinfo_t Members

Member Description

igmp_type

IGMP message type.

igmp_code

IGMP message code.

igmp_checksum

Checksum of IGMP header and payload.

igmp_group_addr

String representation of IGMP multicast group address. Not valid for IGMPv3 membership reports.

igmp_query_version

For an IGMP membership query, this field is set to 1, 2, or 3. Otherwise 0.

igmp_v3_query_max_response_time

Valid for an IGMPv3 membership query.

igmp_v3_query_num_sources

Number of IPv4 addresses specifying sources for group-and-source queries.

igmp_v3_query_sources

Array of IPv4 addresses specifying sources for group-and-source queries.

igmp_v3_report_num_records

Number of IGMPv3 group records specifying sources for group-and-source queries.

igmp_v3_report_records

Array of IGMPv3 group records specifying group and sources for group-and-source reports.

igmp_hdr

Pointer to raw IGMP header at time of tracing.

For more information about the various IGMP message header formats, see RFCs 1112, 2236, and 3376.