INET Framework for OMNeT++/OMNEST
|
#include <PPP.h>
Public Member Functions | |
virtual | ~PPP () |
Public Member Functions inherited from inet::MACBase | |
MACBase () | |
virtual | ~MACBase () |
Public Member Functions inherited from inet::ILifecycle | |
virtual | ~ILifecycle () |
Protected Member Functions | |
virtual void | startTransmitting (cPacket *msg) |
virtual PPPFrame * | encapsulate (cPacket *msg) |
virtual cPacket * | decapsulate (PPPFrame *pppFrame) |
virtual void | refreshDisplay () const override |
virtual void | refreshOutGateConnection (bool connected) |
virtual void | receiveSignal (cComponent *source, simsignal_t signalID, cObject *obj, cObject *details) override |
virtual InterfaceEntry * | createInterfaceEntry () override |
should create InterfaceEntry More... | |
virtual bool | isUpperMsg (cMessage *msg) override |
should return true if the msg arrived from upper layer, else return false More... | |
virtual void | flushQueue () override |
should clear queue and emit signal "dropPkFromHLIfaceDown" with entire packets More... | |
virtual void | clearQueue () override |
should clear queue silently More... | |
virtual int | numInitStages () const override |
virtual void | initialize (int stage) override |
virtual void | handleMessage (cMessage *msg) override |
Protected Member Functions inherited from inet::MACBase | |
void | registerInterface () |
virtual bool | handleOperationStage (LifecycleOperation *operation, int stage, IDoneCallback *doneCallback) override |
Perform one stage of a lifecycle operation. More... | |
virtual void | updateOperationalFlag (bool isNodeUp) |
virtual bool | isNodeUp () |
virtual void | handleMessageWhenDown (cMessage *msg) |
Protected Attributes | |
long | txQueueLimit = -1 |
cGate * | physOutGate = nullptr |
cChannel * | datarateChannel = nullptr |
cQueue | txQueue |
cMessage * | endTransmissionEvent = nullptr |
IPassiveQueue * | queueModule = nullptr |
TxNotifDetails | notifDetails |
std::string | oldConnColor |
long | numSent = 0 |
long | numRcvdOK = 0 |
long | numBitErr = 0 |
long | numDroppedIfaceDown = 0 |
Protected Attributes inherited from inet::MACBase | |
cModule * | hostModule = nullptr |
bool | isOperational = false |
InterfaceEntry * | interfaceEntry = nullptr |
Static Protected Attributes | |
static simsignal_t | txStateSignal = registerSignal("txState") |
static simsignal_t | rxPkOkSignal = registerSignal("rxPkOk") |
static simsignal_t | dropPkIfaceDownSignal = registerSignal("dropPkIfaceDown") |
static simsignal_t | dropPkBitErrorSignal = registerSignal("dropPkBitError") |
static simsignal_t | packetSentToLowerSignal = registerSignal("packetSentToLower") |
static simsignal_t | packetReceivedFromLowerSignal = registerSignal("packetReceivedFromLower") |
static simsignal_t | packetSentToUpperSignal = registerSignal("packetSentToUpper") |
static simsignal_t | packetReceivedFromUpperSignal = registerSignal("packetReceivedFromUpper") |
PPP implementation.
|
virtual |
|
overrideprotectedvirtual |
should clear queue silently
Implements inet::MACBase.
|
overrideprotectedvirtual |
should create InterfaceEntry
Implements inet::MACBase.
|
protectedvirtual |
Referenced by handleMessage().
|
protectedvirtual |
Referenced by startTransmitting().
|
overrideprotectedvirtual |
should clear queue and emit signal "dropPkFromHLIfaceDown" with entire packets
Implements inet::MACBase.
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Reimplemented from inet::MACBase.
|
inlineoverrideprotectedvirtual |
should return true if the msg arrived from upper layer, else return false
Implements inet::MACBase.
|
inlineoverrideprotectedvirtual |
Reimplemented from inet::MACBase.
|
overrideprotectedvirtual |
Reimplemented from inet::MACBase.
|
overrideprotectedvirtual |
|
protectedvirtual |
Referenced by receiveSignal().
|
protectedvirtual |
Referenced by handleMessage().
|
protected |
|
staticprotected |
Referenced by handleMessage().
|
staticprotected |
Referenced by flushQueue(), handleMessage(), and refreshOutGateConnection().
|
protected |
Referenced by handleMessage(), initialize(), refreshDisplay(), refreshOutGateConnection(), startTransmitting(), and ~PPP().
|
protected |
Referenced by handleMessage(), initialize(), and startTransmitting().
|
protected |
Referenced by handleMessage(), initialize(), and refreshDisplay().
|
protected |
Referenced by handleMessage(), initialize(), refreshDisplay(), and refreshOutGateConnection().
|
protected |
Referenced by handleMessage(), initialize(), and refreshDisplay().
|
protected |
Referenced by initialize(), refreshDisplay(), and startTransmitting().
|
protected |
|
staticprotected |
Referenced by handleMessage().
|
staticprotected |
Referenced by handleMessage().
|
staticprotected |
Referenced by startTransmitting().
|
staticprotected |
Referenced by handleMessage().
|
protected |
Referenced by initialize(), receiveSignal(), refreshOutGateConnection(), and startTransmitting().
|
protected |
Referenced by clearQueue(), flushQueue(), handleMessage(), initialize(), and refreshOutGateConnection().
|
staticprotected |
Referenced by handleMessage().
|
protected |
Referenced by clearQueue(), flushQueue(), handleMessage(), initialize(), refreshDisplay(), and refreshOutGateConnection().
|
protected |
Referenced by handleMessage(), and initialize().
|
staticprotected |
Referenced by handleMessage(), initialize(), and startTransmitting().