47 :
Layer(data, dataLen, prevLayer, packet,
UDP)
Definition: UdpLayer.h:37
udphdr * getUdpHeader() const
Definition: UdpLayer.h:62
OsiModelLayer getOsiModelLayer() const
Definition: UdpLayer.h:108
uint16_t getDstPort() const
uint16_t getSrcPort() const
std::string toString() const
uint16_t calculateChecksum(bool writeResultToPacket)
UdpLayer(uint16_t portSrc, uint16_t portDst)
void computeCalculateFields()
UdpLayer(uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet)
Definition: UdpLayer.h:46
size_t getHeaderLen() const
Definition: UdpLayer.h:96
The main namespace for the PcapPlusPlus lib.
OsiModelLayer
Definition: ProtocolType.h:354
@ OsiModelTransportLayer
Definition: ProtocolType.h:362
const ProtocolType UDP
Definition: ProtocolType.h:58
Definition: UdpLayer.h:20
uint16_t length
Definition: UdpLayer.h:26
uint16_t portSrc
Definition: UdpLayer.h:22
uint16_t portDst
Definition: UdpLayer.h:24
uint16_t headerChecksum
Definition: UdpLayer.h:28