PcapPlusPlus  24.09
pcpp::vrrp_header Struct Reference

#include <VrrpLayer.h>

Public Attributes

uint8_t type: 4
 
uint8_t version: 4
 
uint8_t vrId
 
uint8_t priority
 
uint8_t ipAddrCount
 
uint16_t authTypeAdvInt
 
uint16_t checksum
 
uint8_t * ipAddresses []
 

Detailed Description

Member Data Documentation

◆ authTypeAdvInt

uint16_t pcpp::vrrp_header::authTypeAdvInt

This specifies authentication type(v2) or (Max) Advertisement interval (in seconds(v2) or centi-seconds(v3)).

◆ checksum

uint16_t pcpp::vrrp_header::checksum

This specifies checksum field that is used to detect data corruption in the VRRP message. VRRPv2 uses normal checksum algorithm, while VRRPv3 uses "pseudo-header" checksum algorithm.

◆ ipAddrCount

uint8_t pcpp::vrrp_header::ipAddrCount

Specifies how many IPvX addresses are present in this Packet

◆ ipAddresses

uint8_t* pcpp::vrrp_header::ipAddresses[]

This specifies one or more IPvX addresses that are associated with the virtual router.

◆ priority

uint8_t pcpp::vrrp_header::priority

This specifies the sending VRRP router's priority for the virtual router

◆ type

uint8_t pcpp::vrrp_header::type

Type

◆ version

uint8_t pcpp::vrrp_header::version

Version bits

◆ vrId

uint8_t pcpp::vrrp_header::vrId

The Virtual Router Identifier (VRID) field identifies the virtual router this packet is reporting status for