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