INET Framework for OMNeT++/OMNEST
|
#include <UDPPacket.h>
Public Member Functions | |
UDPPacket (const char *name=NULL, int kind=0) | |
UDPPacket (const UDPPacket &other) | |
UDPPacket & | operator= (const UDPPacket &other) |
virtual UDPPacket * | dup () const override |
int | getTotalLengthField () const override |
getter/setter for totalLength field of UDP packet if set to -1, then getter returns getByteLength() More... | |
virtual unsigned int | getSourcePort () const override |
virtual void | setSourcePort (unsigned int port) override |
virtual unsigned int | getDestinationPort () const override |
virtual void | setDestinationPort (unsigned int port) override |
Public Member Functions inherited from inet::UDPPacket_Base | |
virtual | ~UDPPacket_Base () |
virtual void | parsimPack (omnetpp::cCommBuffer *b) const override |
virtual void | parsimUnpack (omnetpp::cCommBuffer *b) override |
virtual unsigned short | getSrcPort () const |
virtual void | setSrcPort (unsigned short srcPort) |
virtual unsigned short | getDestPort () const |
virtual void | setDestPort (unsigned short destPort) |
virtual void | setTotalLengthField (int totalLengthField) |
Public Member Functions inherited from inet::ITransportPacket | |
virtual | ~ITransportPacket () |
Private Member Functions | |
void | copy (const UDPPacket &other) |
Additional Inherited Members | |
Protected Member Functions inherited from inet::UDPPacket_Base | |
bool | operator== (const UDPPacket_Base &) |
UDPPacket_Base (const char *name=nullptr, short kind=0) | |
UDPPacket_Base (const UDPPacket_Base &other) | |
UDPPacket_Base & | operator= (const UDPPacket_Base &other) |
Protected Attributes inherited from inet::UDPPacket_Base | |
unsigned short | srcPort |
unsigned short | destPort |
int | totalLengthField |
|
inline |
|
inline |
|
inlineprivate |
|
inlineoverridevirtual |
Reimplemented from inet::UDPPacket_Base.
|
inlineoverridevirtual |
Implements inet::ITransportPacket.
Referenced by inet::PacketDrillApp::compareUdpPacket(), inet::InetPacketPrinter2::formatUDPPacket(), inet::ExampleQoSClassifier::getUserPriority(), inet::MultiFieldClassifier::Filter::matches(), inet::InetPacketPrinter::printUDPPacket(), inet::UDP::processICMPError(), inet::UDP::processUDPPacket(), inet::UDP::processUndeliverablePacket(), and inet::PacketDump::udpDump().
|
inlineoverridevirtual |
Implements inet::ITransportPacket.
Referenced by inet::PacketDrillApp::compareUdpPacket(), inet::InetPacketPrinter2::formatUDPPacket(), inet::ExampleQoSClassifier::getUserPriority(), inet::MultiFieldClassifier::Filter::matches(), inet::InetPacketPrinter::printUDPPacket(), inet::UDP::processICMPError(), inet::UDP::processUDPPacket(), and inet::PacketDump::udpDump().
|
inlineoverridevirtual |
getter/setter for totalLength field of UDP packet if set to -1, then getter returns getByteLength()
Reimplemented from inet::UDPPacket_Base.
|
inlineoverridevirtual |
Implements inet::ITransportPacket.
Referenced by PacketDrill::buildUDPPacket(), inet::AODVRouting::sendAODVPacket(), inet::GPSR::sendBeacon(), inet::UDP::sendDown(), and inet::dymo::DYMO::sendDYMOPacket().
|
inlineoverridevirtual |
Implements inet::ITransportPacket.
Referenced by PacketDrill::buildUDPPacket(), inet::AODVRouting::sendAODVPacket(), inet::GPSR::sendBeacon(), inet::UDP::sendDown(), and inet::dymo::DYMO::sendDYMOPacket().