|
PcapPlusPlus
19.12
|
Go to the documentation of this file. 1 #ifndef PACKETPP_UDP_LAYER
2 #define PACKETPP_UDP_LAYER
54 UdpLayer(uint16_t portSrc, uint16_t portDst);
OsiModelLayer
Definition: ProtocolType.h:224
Definition: UdpLayer.h:20
uint16_t portSrc
Definition: UdpLayer.h:22
std::string toString() const
void computeCalculateFields()
size_t getHeaderLen() const
Definition: UdpLayer.h:80
UdpLayer(uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet)
Definition: UdpLayer.h:47
Definition: UdpLayer.h:37
uint16_t calculateChecksum(bool writeResultToPacket)
Definition: ProtocolType.h:233
The main namespace for the PcapPlusPlus lib.
OsiModelLayer getOsiModelLayer() const
Definition: UdpLayer.h:89
udphdr * getUdpHeader() const
Definition: UdpLayer.h:60
uint16_t headerChecksum
Definition: UdpLayer.h:28
Definition: ProtocolType.h:51
uint16_t length
Definition: UdpLayer.h:26
uint16_t portDst
Definition: UdpLayer.h:24