pcpp::icmp_echo_hdr Struct Reference

#include <IcmpLayer.h>

Inheritance diagram for pcpp::icmp_echo_hdr:

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

uint16_t pcpp::icmp_echo_hdr::id

the echo (ping) request identifier

uint16_t pcpp::icmp_echo_hdr::sequence

the echo (ping) request sequence number

uint64_t pcpp::icmp_echo_hdr::timestamp

a timestamp of when the message was sent