PcapPlusPlus  22.11
pcpp::icmp_echo_hdr Struct Reference

#include <IcmpLayer.h>

Inheritance diagram for pcpp::icmp_echo_hdr:
pcpp::icmphdr

Public Attributes

uint16_t id
 
uint16_t sequence
 
uint64_t timestamp
 
- Public Attributes inherited from pcpp::icmphdr
uint8_t type
 
uint8_t code
 
uint16_t checksum
 

Detailed Description

ICMP echo (ping) request/reply message structure

Member Data Documentation

◆ id

uint16_t pcpp::icmp_echo_hdr::id

the echo (ping) request identifier

◆ sequence

uint16_t pcpp::icmp_echo_hdr::sequence

the echo (ping) request sequence number

◆ timestamp

uint64_t pcpp::icmp_echo_hdr::timestamp

a timestamp of when the message was sent