IgmpMessage

Namespace inet

IgmpMessage

class

(no description)

Extends

Name Type Description
FieldsChunk (unknown -- not in documented files)

Fields

Name Type Description
type IgmpType

1 byte

crc uint16_t

2 bytes, The checksum is the 16-bit one's complement of the one's complement sum of the whole IGMP message (the entire IP payload).

crcMode CrcMode

0 bytes, inet only

Packet operations (observed)

actionmodule
peekAtFrontIgmpv2, Igmpv3

Source code

class IgmpMessage extends FieldsChunk
{
    IgmpType type;         // 1 byte
    uint16_t crc = 0;    // 2 bytes, The checksum is the 16-bit one's complement of the one's complement sum of the whole IGMP message (the entire IP payload).
    CrcMode crcMode = CRC_MODE_UNDEFINED;  // 0 bytes, inet only
}

File: src/inet/networklayer/ipv4/IgmpMessage.msg