PcapPlusPlus  Next
pcpp::internal::WinDivertAddress Struct Reference

Minimal address/metadata returned by WinDivert for a captured packet. More...

#include <WinDivertDevice.h>

Public Attributes

bool isIPv6
 True if the packet is IPv6, false for IPv4.
 
uint32_t interfaceIndex
 Windows network interface index.
 
uint64_t timestamp
 WinDivert timestamp associated with the packet.
 

Detailed Description

Minimal address/metadata returned by WinDivert for a captured packet.

This structure mirrors the subset of fields PcapPlusPlus needs from WinDivert's WINDIVERT_ADDRESS: whether the packet is IPv6, the Windows interface index and the original WinDivert timestamp.