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

uint16_t pcpp::udphdr::headerChecksum

Error-checking of the header and data

uint16_t pcpp::udphdr::length

Length of header and payload in bytes

uint16_t pcpp::udphdr::portDst

Destination port

uint16_t pcpp::udphdr::portSrc

Source port