PcapPlusPlus  21.05
pcpp::icmphdr Struct Reference

#include <IcmpLayer.h>

Inheritance diagram for pcpp::icmphdr:
pcpp::icmp_address_mask_request pcpp::icmp_destination_unreachable pcpp::icmp_echo_hdr pcpp::icmp_info_request pcpp::icmp_param_problem pcpp::icmp_redirect pcpp::icmp_router_advertisement_hdr pcpp::icmp_time_exceeded pcpp::icmp_timestamp_request

Public Attributes

uint8_t type
 
uint8_t code
 
uint16_t checksum
 

Detailed Description

Represents ICMP basic protocol header (common for all ICMP message types)

Member Data Documentation

◆ checksum

uint16_t pcpp::icmphdr::checksum

message checksum

◆ code

uint8_t pcpp::icmphdr::code

message code

◆ type

uint8_t pcpp::icmphdr::type

message type