|
INET Framework for OMNeT++/OMNEST
|
#include <IPControlInfo_m.h>
Public Member Functions | |
| IPRoutingDecision () | |
| IPRoutingDecision (const IPRoutingDecision &other) | |
| virtual | ~IPRoutingDecision () |
| IPRoutingDecision & | operator= (const IPRoutingDecision &other) |
| virtual IPRoutingDecision * | dup () const |
| virtual void | parsimPack (cCommBuffer *b) |
| virtual void | parsimUnpack (cCommBuffer *b) |
| virtual int | getInterfaceId () const |
| virtual void | setInterfaceId (int interfaceId) |
| virtual IPAddress & | getNextHopAddr () |
| virtual const IPAddress & | getNextHopAddr () const |
| virtual void | setNextHopAddr (const IPAddress &nextHopAddr) |
Protected Member Functions | |
| bool | operator== (const IPRoutingDecision &) |
Protected Attributes | |
| int | interfaceId_var |
| IPAddress | nextHopAddr_var |
Private Member Functions | |
| void | copy (const IPRoutingDecision &other) |
Class generated from networklayer/contract/IPControlInfo.msg by opp_msgc.
class IPRoutingDecision { int interfaceId = -1; IPAddress nextHopAddr; }
Definition at line 122 of file IPControlInfo_m.h.
Referenced by dup().
| IPRoutingDecision::IPRoutingDecision | ( | const IPRoutingDecision & | other | ) |
| virtual IPRoutingDecision::~IPRoutingDecision | ( | ) | [virtual] |
| void IPRoutingDecision::copy | ( | const IPRoutingDecision & | other | ) | [private] |
| virtual IPRoutingDecision* IPRoutingDecision::dup | ( | ) | const [inline, virtual] |
Definition at line 140 of file IPControlInfo_m.h.
{return new IPRoutingDecision(*this);}
| virtual int IPRoutingDecision::getInterfaceId | ( | ) | const [virtual] |
Referenced by ARP::processARPPacket(), and ARP::processOutboundPacket().
| virtual IPAddress& IPRoutingDecision::getNextHopAddr | ( | ) | [virtual] |
Referenced by ARP::processOutboundPacket().
| virtual const IPAddress& IPRoutingDecision::getNextHopAddr | ( | ) | const [inline, virtual] |
Definition at line 148 of file IPControlInfo_m.h.
Referenced by getNextHopAddr().
{return const_cast<IPRoutingDecision*>(this)->getNextHopAddr();}
| IPRoutingDecision& IPRoutingDecision::operator= | ( | const IPRoutingDecision & | other | ) |
| bool IPRoutingDecision::operator== | ( | const IPRoutingDecision & | ) | [protected] |
| virtual void IPRoutingDecision::parsimPack | ( | cCommBuffer * | b | ) | [virtual] |
Referenced by doPacking().
| virtual void IPRoutingDecision::parsimUnpack | ( | cCommBuffer * | b | ) | [virtual] |
Referenced by doUnpacking().
| virtual void IPRoutingDecision::setInterfaceId | ( | int | interfaceId | ) | [virtual] |
Referenced by IP::handleARP(), and IP::sendDatagramToOutput().
| virtual void IPRoutingDecision::setNextHopAddr | ( | const IPAddress & | nextHopAddr | ) | [virtual] |
Referenced by IP::sendDatagramToOutput().
int IPRoutingDecision::interfaceId_var [protected] |
Definition at line 125 of file IPControlInfo_m.h.
IPAddress IPRoutingDecision::nextHopAddr_var [protected] |
Definition at line 126 of file IPControlInfo_m.h.