PcapPlusPlus
pcpp::udphdr Struct Reference

#include <UdpLayer.h>

Public Attributes

uint16_t portSrc
 
uint16_t portDst
 
uint16_t length
 
uint16_t headerChecksum
 

Detailed Description

Represents an UDP protocol header

Member Data Documentation

◆ headerChecksum

uint16_t pcpp::udphdr::headerChecksum

Error-checking of the header and data

◆ length

uint16_t pcpp::udphdr::length

Length of header and payload in bytes

◆ portDst

uint16_t pcpp::udphdr::portDst

Destination port

◆ portSrc

uint16_t pcpp::udphdr::portSrc

Source port