101 #pragma pack(push, 1)
118 #pragma pack(push, 1)
221 void calculateChecksum();
224 return reinterpret_cast<icmpv6hdr*
>(m_Data);
Definition: IcmpV6Layer.h:233
ICMPv6EchoLayer(ICMPv6EchoType echoType, uint16_t id, uint16_t sequence, const uint8_t *data, size_t dataLen)
uint16_t getSequenceNr() const
uint8_t * getEchoDataPtr() const
Definition: IcmpV6Layer.h:290
ICMPv6EchoLayer(uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet)
Definition: IcmpV6Layer.h:253
size_t getEchoDataLen() const
Definition: IcmpV6Layer.h:282
std::string toString() const override
ICMPv6EchoType
Definition: IcmpV6Layer.h:239
@ REQUEST
Definition: IcmpV6Layer.h:241
@ REPLY
Definition: IcmpV6Layer.h:243
uint16_t getIdentifier() const
Definition: IcmpV6Layer.h:133
size_t getHeaderLen() const override
Definition: IcmpV6Layer.h:200
void computeCalculateFields() override
static Layer * parseIcmpV6Layer(uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet)
IcmpV6Layer(uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet)
Definition: IcmpV6Layer.h:142
bool isMessageOfType(ICMPv6MessageType type) const
Definition: IcmpV6Layer.h:171
OsiModelLayer getOsiModelLayer() const override
Definition: IcmpV6Layer.h:210
std::string toString() const override
ICMPv6MessageType getMessageType() const
IcmpV6Layer(ICMPv6MessageType msgType, uint8_t code, const uint8_t *data, size_t dataLen)
void parseNextLayer() override
Definition: IcmpV6Layer.h:194
uint16_t getChecksum() const
The main namespace for the PcapPlusPlus lib.
OsiModelLayer
Definition: ProtocolType.h:364
@ OsiModelNetworkLayer
Definition: ProtocolType.h:370
ICMPv6MessageType
Definition: IcmpV6Layer.h:18
@ ICMPv6_HOME_AGENT_ADDRESS_DISCOVERY_REQUEST_MESSAGE
@ ICMPv6_PRIVATE_EXPERIMENTATION3
@ ICMPv6_MOBILE_PREFIX_SOLICITATION
@ ICMPv6_HOME_AGENT_ADDRESS_DISCOVERY_REPLY_MESSAGE
@ ICMPv6_ICMP_NODE_INFORMATION_QUERY
@ ICMPv6_MULTICAST_ROUTER_ADVERTISEMENT
@ ICMPv6_CERTIFICATION_PATH_ADVERTISEMENT
@ ICMPv6_REDIRECT_MESSAGE
@ ICMPv6_PRIVATE_EXPERIMENTATION4
@ ICMPv6_NEIGHBOR_ADVERTISEMENT
@ ICMPv6_EXPERIMENTAL_MOBILITY
@ ICMPv6_ROUTER_SOLICITATION
@ ICMPv6_ROUTER_RENUMBERING
@ ICMPv6_PRIVATE_EXPERIMENTATION2
@ ICMPv6_MULTICAST_LISTENER_QUERY
@ ICMPv6_INVERSE_NEIGHBOR_DISCOVERY_SOLICITATION_MESSAGE
@ ICMPv6_ROUTER_ADVERTISEMENT
@ ICMPv6_MULTICAST_LISTENER_DISCOVERY_REPORTS
@ ICMPv6_MULTICAST_LISTENER_REPORT
@ ICMPv6_DESTINATION_UNREACHABLE
@ ICMPv6_MOBILE_PREFIX_ADVERTISEMENT
@ ICMPv6_RESERVED_EXPANSION_INFORMATIONAL
@ ICMPv6_NEIGHBOR_SOLICITATION
@ ICMPv6_CERTIFICATION_PATH_SOLICITATION
@ ICMPv6_MULTICAST_LISTENER_DONE
@ ICMPv6_PARAMETER_PROBLEM
@ ICMPv6_RPL_CONTROL_MESSAGE
@ ICMPv6_MULTICAST_ROUTER_SOLICITATION
@ ICMPv6_PRIVATE_EXPERIMENTATION1
@ ICMPv6_INVERSE_NEIGHBOR_DISCOVERY_ADVERTISEMENT_MESSAGE
@ ICMPv6_MULTICAST_ROUTER_TERMINATION
@ ICMPv6_RESERVED_EXPANSION_ERROR
@ ICMPv6_ICMP_NODE_INFORMATION_RESPONSE
const ProtocolType ICMPv6
Definition: ProtocolType.h:278
Definition: IcmpV6Layer.h:120
uint16_t id
Definition: IcmpV6Layer.h:122
uint16_t sequence
Definition: IcmpV6Layer.h:124
Definition: IcmpV6Layer.h:103
uint16_t checksum
Definition: IcmpV6Layer.h:110
uint8_t type
Definition: IcmpV6Layer.h:106
uint8_t code
Definition: IcmpV6Layer.h:108