|
PcapPlusPlus
19.12
|
Go to the documentation of this file. 1 #ifndef PACKETPP_IGMP_LAYER
2 #define PACKETPP_IGMP_LAYER
169 uint16_t calculateChecksum();
409 igmpv3_group_record* addGroupRecordAt(uint8_t recordType,
const IPv4Address& multicastAddress,
const std::vector<IPv4Address>& sourceAddresses,
int offset);
509 #endif // PACKETPP_IGMP_LAYER
OsiModelLayer
Definition: ProtocolType.h:224
Definition: IpAddress.h:119
Definition: IgmpLayer.h:315
Definition: IgmpLayer.h:277
igmpv3_report_header * getReportHeader() const
Definition: IgmpLayer.h:431
~IgmpV1Layer()
Definition: IgmpLayer.h:260
void computeCalculateFields()
Definition: IgmpLayer.h:161
static IPv4Address Zero
Definition: IpAddress.h:220
Definition: IgmpLayer.h:149
uint16_t numOfSources
Definition: IgmpLayer.h:88
uint16_t getSourceAdressCount() const
bool removeGroupRecordAtIndex(int index)
uint8_t auxDataLen
Definition: IgmpLayer.h:86
size_t getHeaderLen() const
Definition: IgmpLayer.h:226
Definition: IgmpLayer.h:406
igmpv3_group_record * addGroupRecordAtIndex(uint8_t recordType, const IPv4Address &multicastAddress, const std::vector< IPv4Address > &sourceAddresses, int index)
Definition: IgmpLayer.h:139
IgmpV2Layer(uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet)
bool removeSourceAddressAtIndex(int index)
IPv4Address getMulticastAddress() const
IPv4Address getSoruceAddressAtIndex(int index) const
igmpv3_group_record * getNextGroupRecord(igmpv3_group_record *groupRecord) const
bool addSourceAddress(const IPv4Address &addr)
Definition: IgmpLayer.h:151
size_t getRecordLen() const
Definition: IgmpLayer.h:143
Definition: ProtocolType.h:231
Definition: IgmpLayer.h:131
Definition: IgmpLayer.h:125
void computeCalculateFields()
uint8_t sourceAddresses[]
Definition: IgmpLayer.h:92
Definition: IgmpLayer.h:81
uint32_t multicastAddress
Definition: IgmpLayer.h:90
ProtocolType
Definition: ProtocolType.h:16
Definition: IgmpLayer.h:127
bool removeAllGroupRecords()
igmpv3_group_record * addGroupRecord(uint8_t recordType, const IPv4Address &multicastAddress, const std::vector< IPv4Address > &sourceAddresses)
Definition: IgmpLayer.h:137
uint16_t getSourceAddressCount() const
igmpv3_query_header * getIgmpV3QueryHeader() const
Definition: IgmpLayer.h:342
Definition: IgmpLayer.h:135
Definition: IgmpLayer.h:133
size_t getHeaderLen() const
IgmpType
Definition: IgmpLayer.h:122
OsiModelLayer getOsiModelLayer() const
Definition: IgmpLayer.h:230
Definition: IgmpLayer.h:145
IPv4Address getGroupAddress() const
Definition: IgmpLayer.h:185
igmpv3_group_record * getFirstGroupRecord() const
The main namespace for the PcapPlusPlus lib.
Definition: IgmpLayer.h:141
void parseNextLayer()
Definition: IgmpLayer.h:221
IgmpV3QueryLayer(uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet)
void computeCalculateFields()
Definition: IgmpLayer.h:129
void setType(IgmpType type)
static ProtocolType getIGMPVerFromData(uint8_t *data, size_t dataLen, bool &isQuery)
IPv4Address getSourceAddressAtIndex(int index) const
uint8_t recordType
Definition: IgmpLayer.h:84
std::string toString() const
bool addSourceAddressAtIndex(const IPv4Address &addr, int index)
Definition: IgmpLayer.h:238
uint16_t getGroupRecordCount() const
void setGroupAddress(const IPv4Address &groupAddr)
IgmpV1Layer(uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet)
size_t getHeaderLen() const
Definition: IgmpLayer.h:504
~IgmpV2Layer()
Definition: IgmpLayer.h:299
igmp_header * getIgmpHeader() const
Definition: IgmpLayer.h:180
bool removeAllSourceAddresses()
Definition: IgmpLayer.h:147
void computeCalculateFields()