INET Framework for OMNeT++/OMNEST
|
Class generated from inet/transportlayer/contract/udp/UDPControlInfo.msg:142
by nedtool.
More...
#include <UDPControlInfo_m.h>
Public Member Functions | |
UDPDataIndication () | |
UDPDataIndication (const UDPDataIndication &other) | |
virtual | ~UDPDataIndication () |
UDPDataIndication & | operator= (const UDPDataIndication &other) |
virtual UDPDataIndication * | dup () const override |
virtual void | parsimPack (omnetpp::cCommBuffer *b) const override |
virtual void | parsimUnpack (omnetpp::cCommBuffer *b) override |
virtual L3Address & | getSrcAddr () |
virtual const L3Address & | getSrcAddr () const |
virtual void | setSrcAddr (const L3Address &srcAddr) |
virtual L3Address & | getDestAddr () |
virtual const L3Address & | getDestAddr () const |
virtual void | setDestAddr (const L3Address &destAddr) |
virtual int | getSrcPort () const |
virtual void | setSrcPort (int srcPort) |
virtual int | getDestPort () const |
virtual void | setDestPort (int destPort) |
virtual int | getTtl () const |
virtual void | setTtl (int ttl) |
virtual int | getInterfaceId () const |
virtual void | setInterfaceId (int interfaceId) |
virtual unsigned char | getTypeOfService () const |
virtual void | setTypeOfService (unsigned char typeOfService) |
Public Member Functions inherited from inet::UDPControlInfo | |
UDPControlInfo () | |
UDPControlInfo (const UDPControlInfo &other) | |
virtual | ~UDPControlInfo () |
UDPControlInfo & | operator= (const UDPControlInfo &other) |
virtual int | getSockId () const |
virtual void | setSockId (int sockId) |
Protected Member Functions | |
bool | operator== (const UDPDataIndication &) |
Protected Member Functions inherited from inet::UDPControlInfo | |
bool | operator== (const UDPControlInfo &) |
Protected Attributes | |
L3Address | srcAddr |
L3Address | destAddr |
int | srcPort |
int | destPort |
int | ttl |
int | interfaceId |
unsigned char | typeOfService |
Protected Attributes inherited from inet::UDPControlInfo | |
int | sockId |
Private Member Functions | |
void | copy (const UDPDataIndication &other) |
Class generated from inet/transportlayer/contract/udp/UDPControlInfo.msg:142
by nedtool.
// // Control info that is attached to received data packets, sent up from the // ~UDP module to the application with UDP_I_DATA as message kind. // // @see ~UDPCommandCode // class UDPDataIndication extends UDPControlInfo { L3Address srcAddr; // source IPv4 or IPv6 address of the received packet L3Address destAddr; // destination IPv4 or IPv6 address of the received packet int srcPort; // source port of the received packet int destPort; // destination port of the received packet int ttl; // TTL field of the received packet int interfaceId; // interface on which the packet was received (see ~InterfaceTable) unsigned char typeOfService; // IPv4 Type of Service / IPv6 Traffic Class field of received packet }
inet::UDPDataIndication::UDPDataIndication | ( | ) |
inet::UDPDataIndication::UDPDataIndication | ( | const UDPDataIndication & | other | ) |
|
virtual |
|
private |
|
inlineoverridevirtual |
Reimplemented from inet::UDPControlInfo.
|
virtual |
|
inlinevirtual |
Referenced by getDestAddr().
|
virtual |
|
virtual |
|
virtual |
Referenced by inet::VoIPStreamReceiver::checkSourceAndParameters(), inet::VoIPStreamReceiver::createConnection(), inet::UDPSocket::getReceivedPacketInfo(), inet::sctp::SCTP::handleMessage(), inet::UDPEchoApp::handleMessageWhenUp(), inet::RIPRouting::isValidResponse(), inet::RIPRouting::processRequest(), inet::RIPRouting::processResponse(), and inet::UDPVideoStreamSvr::processStreamRequest().
|
inlinevirtual |
Referenced by getSrcAddr().
|
virtual |
Referenced by inet::VoIPStreamReceiver::checkSourceAndParameters(), inet::VoIPStreamReceiver::createConnection(), inet::UDPSocket::getReceivedPacketInfo(), inet::UDPEchoApp::handleMessageWhenUp(), inet::RIPRouting::isValidResponse(), inet::RIPRouting::processRequest(), and inet::UDPVideoStreamSvr::processStreamRequest().
|
virtual |
Referenced by inet::UDPSocket::getReceivedPacketInfo(), and inet::RIPRouting::isValidResponse().
|
virtual |
Referenced by inet::UDPSocket::getReceivedPacketInfo().
UDPDataIndication& inet::UDPDataIndication::operator= | ( | const UDPDataIndication & | other | ) |
|
protected |
|
overridevirtual |
Reimplemented from inet::UDPControlInfo.
Referenced by inet::doParsimPacking().
|
overridevirtual |
Reimplemented from inet::UDPControlInfo.
Referenced by inet::doParsimUnpacking().
|
virtual |
Referenced by inet::UDP::sendUp().
|
virtual |
Referenced by inet::UDP::sendUp().
|
virtual |
Referenced by inet::UDP::sendUp().
|
virtual |
Referenced by inet::UDP::sendUp().
|
virtual |
Referenced by inet::UDP::sendUp().
|
virtual |
Referenced by inet::UDP::sendUp().
|
virtual |
Referenced by inet::UDP::sendUp().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |