INET Framework for OMNeT++/OMNEST
|
Represents a generic datagram. More...
#include <GenericDatagram.h>
Public Member Functions | |
GenericDatagram (const char *name=nullptr, int kind=0) | |
GenericDatagram (const GenericDatagram &other) | |
GenericDatagram & | operator= (const GenericDatagram &other) |
virtual GenericDatagram * | dup () const override |
virtual L3Address | getSourceAddress () const override |
virtual void | setSourceAddress (const L3Address &addr) override |
virtual L3Address | getDestinationAddress () const override |
virtual void | setDestinationAddress (const L3Address &addr) override |
virtual int | getTransportProtocol () const override |
virtual void | setTransportProtocol (int protocol) override |
Public Member Functions inherited from inet::GenericDatagram_Base | |
virtual | ~GenericDatagram_Base () |
virtual void | parsimPack (omnetpp::cCommBuffer *b) const override |
virtual void | parsimUnpack (omnetpp::cCommBuffer *b) override |
virtual L3Address & | _getSrcAddr () |
virtual const L3Address & | _getSrcAddr () const |
virtual L3Address & | _getDestAddr () |
virtual const L3Address & | _getDestAddr () const |
virtual short | getHopLimit () const |
virtual void | setHopLimit (short hopLimit) |
virtual TLVOptions & | getTlvOptions () |
virtual const TLVOptions & | getTlvOptions () const |
virtual void | setTlvOptions (const TLVOptions &tlvOptions) |
Public Member Functions inherited from inet::INetworkDatagram | |
virtual | ~INetworkDatagram () |
Additional Inherited Members | |
Protected Member Functions inherited from inet::GenericDatagram_Base | |
bool | operator== (const GenericDatagram_Base &) |
GenericDatagram_Base (const char *name=nullptr, short kind=0) | |
GenericDatagram_Base (const GenericDatagram_Base &other) | |
GenericDatagram_Base & | operator= (const GenericDatagram_Base &other) |
Protected Attributes inherited from inet::GenericDatagram_Base | |
L3Address | sourceAddress |
L3Address | destinationAddress |
int | transportProtocol |
short | hopLimit |
TLVOptions | tlvOptions |
Represents a generic datagram.
More info in the GenericDatagram.msg file (and the documentation generated from it).
|
inline |
|
inline |
|
inlineoverridevirtual |
Reimplemented from inet::GenericDatagram_Base.
Referenced by inet::GenericNetworkProtocol::routeMulticastPacket().
|
inlineoverridevirtual |
Implements inet::INetworkDatagram.
Referenced by inet::GenericNetworkProtocol::datagramLocalOut(), inet::GenericNetworkProtocol::datagramPreRouting(), inet::GenericNetworkProtocol::decapsulate(), inet::GenericNetworkProtocol::routeMulticastPacket(), inet::GenericNetworkProtocol::routePacket(), and inet::GenericNetworkProtocol::sendDatagramToOutput().
|
inlineoverridevirtual |
Implements inet::INetworkDatagram.
Referenced by inet::GenericNetworkProtocol::decapsulate(), and inet::GenericNetworkProtocol::routePacket().
|
inlineoverridevirtual |
Implements inet::INetworkDatagram.
Referenced by inet::GenericNetworkProtocol::decapsulate(), and inet::GenericNetworkProtocol::sendDatagramToHL().
|
inline |
|
inlineoverridevirtual |
Implements inet::INetworkDatagram.
|
inlineoverridevirtual |
Implements inet::INetworkDatagram.
Referenced by inet::GenericNetworkProtocol::routePacket().
|
inlineoverridevirtual |
Implements inet::INetworkDatagram.