pcpp::igmp_header Struct Reference

#include <IgmpLayer.h>

Public Attributes

uint8_t type
uint8_t maxResponseTime
uint16_t checksum
uint32_t groupAddress

Detailed Description

IGMPv1 and IGMPv2 basic protocol header

Member Data Documentation

uint16_t pcpp::igmp_header::checksum

This is the 16-bit one's complement of the one's complement sum of the entire IGMP message

uint32_t pcpp::igmp_header::groupAddress

This is the multicast address being queried when sending a Group-Specific or Group-and-Source-Specific Query

uint8_t pcpp::igmp_header::maxResponseTime

Specifies the time limit for the corresponding report. The field has a resolution of 100 milliseconds

uint8_t pcpp::igmp_header::type

Indicates the message type. The enum for message type is pcpp::IgmpType