PcapPlusPlus  22.05
pcpp::icmp_router_advertisement_hdr Struct Reference

#include <IcmpLayer.h>

Inheritance diagram for pcpp::icmp_router_advertisement_hdr:
pcpp::icmphdr

Public Attributes

uint8_t advertisementCount
 
uint8_t addressEntrySize
 
uint16_t lifetime
 
- Public Attributes inherited from pcpp::icmphdr
uint8_t type
 
uint8_t code
 
uint16_t checksum
 

Detailed Description

ICMP router advertisement message structure

Member Data Documentation

◆ addressEntrySize

uint8_t pcpp::icmp_router_advertisement_hdr::addressEntrySize

the number of 32-bit words of information for each router address entry in the list. The value is normally set to 2 (router address + preference level)

◆ advertisementCount

uint8_t pcpp::icmp_router_advertisement_hdr::advertisementCount

the number of router advertisements in this message. Each advertisement contains one router address/preference level pair

◆ lifetime

uint16_t pcpp::icmp_router_advertisement_hdr::lifetime

the maximum number of seconds that the router addresses in this list may be considered valid