1 #ifndef PACKETPP_UDP_LAYER 2 #define PACKETPP_UDP_LAYER 54 UdpLayer(uint16_t portSrc, uint16_t portDst);
void computeCalculateFields()
Definition: ProtocolType.h:222
uint16_t calculateChecksum(bool writeResultToPacket)
uint16_t portDst
Definition: UdpLayer.h:24
Definition: UdpLayer.h:37
uint16_t headerChecksum
Definition: UdpLayer.h:28
uint16_t length
Definition: UdpLayer.h:26
size_t getHeaderLen()
Definition: UdpLayer.h:80
OsiModelLayer
Definition: ProtocolType.h:213
Definition: UdpLayer.h:20
Definition: ProtocolType.h:51
uint16_t portSrc
Definition: UdpLayer.h:22
OsiModelLayer getOsiModelLayer()
Definition: UdpLayer.h:89
UdpLayer(uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet)
Definition: UdpLayer.h:47
udphdr * getUdpHeader()
Definition: UdpLayer.h:60
The main namespace for the PcapPlusPlus lib.