PcapPlusPlus  24.09
pcpp::icmpv6hdr Struct Reference

#include <IcmpV6Layer.h>

Inheritance diagram for pcpp::icmpv6hdr:
pcpp::NDPNeighborAdvertisementLayer::ndpneighboradvertisementhdr pcpp::NDPNeighborSolicitationLayer::ndpneighborsolicitationhdr pcpp::icmpv6_echo_hdr

Public Attributes

uint8_t type
 
uint8_t code
 
uint16_t checksum
 

Detailed Description

Represents an ICMPv6 protocol header

Member Data Documentation

◆ checksum

uint16_t pcpp::icmpv6hdr::checksum

The checksum field provides a minimal level of integrity verification for the ICMP message

◆ code

uint8_t pcpp::icmpv6hdr::code

The code field value depends on the message type and provides an additional level of message granularity

◆ type

uint8_t pcpp::icmpv6hdr::type

Type of the message. Values in the range from 0 to 127 (high-order bit is 0) indicate an error message, while values in the range from 128 to 255 (high-order bit is 1) indicate an information message.