101 #pragma pack(push, 1)
118 #pragma pack(push, 1)
222 void calculateChecksum();
Definition: IcmpV6Layer.h:234
ICMPv6EchoLayer(ICMPv6EchoType echoType, uint16_t id, uint16_t sequence, const uint8_t *data, size_t dataLen)
uint16_t getSequenceNr() const
std::string toString() const
uint8_t * getEchoDataPtr() const
Definition: IcmpV6Layer.h:292
ICMPv6EchoLayer(uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet)
Definition: IcmpV6Layer.h:254
size_t getEchoDataLen() const
Definition: IcmpV6Layer.h:284
ICMPv6EchoType
Definition: IcmpV6Layer.h:240
@ REQUEST
Definition: IcmpV6Layer.h:242
@ REPLY
Definition: IcmpV6Layer.h:244
uint16_t getIdentifier() const
Definition: IcmpV6Layer.h:133
size_t getHeaderLen() const
Definition: IcmpV6Layer.h:201
static Layer * parseIcmpV6Layer(uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet)
void computeCalculateFields()
IcmpV6Layer(uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet)
Definition: IcmpV6Layer.h:142
OsiModelLayer getOsiModelLayer() const
Definition: IcmpV6Layer.h:211
bool isMessageOfType(ICMPv6MessageType type) const
Definition: IcmpV6Layer.h:172
std::string toString() const
ICMPv6MessageType getMessageType() const
void parseNextLayer()
Definition: IcmpV6Layer.h:195
IcmpV6Layer(ICMPv6MessageType msgType, uint8_t code, const uint8_t *data, size_t dataLen)
uint16_t getChecksum() const
The main namespace for the PcapPlusPlus lib.
OsiModelLayer
Definition: ProtocolType.h:354
@ OsiModelNetworkLayer
Definition: ProtocolType.h:360
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