INET Framework for OMNeT++/OMNEST
|
Implements the LLC sub-layer of the Datalink Layer in Ethernet networks. More...
#include <EtherLLC.h>
Public Member Functions | |
virtual bool | handleOperationStage (LifecycleOperation *operation, int stage, IDoneCallback *doneCallback) override |
Perform one stage of a lifecycle operation. More... | |
Public Member Functions inherited from inet::ILifecycle | |
virtual | ~ILifecycle () |
Protected Types | |
typedef std::map< int, int > | DsapToPortMap |
Protected Member Functions | |
virtual void | initialize (int stage) override |
virtual int | numInitStages () const override |
virtual void | handleMessage (cMessage *msg) override |
virtual void | processPacketFromHigherLayer (cPacket *msg) |
virtual void | processFrameFromMAC (EtherFrameWithLLC *msg) |
virtual void | handleRegisterSAP (cMessage *msg) |
virtual void | handleDeregisterSAP (cMessage *msg) |
virtual void | handleSendPause (cMessage *msg) |
virtual int | findPortForSAP (int sap) |
virtual void | start () |
virtual void | stop () |
virtual void | refreshDisplay () const override |
Protected Attributes | |
int | seqNum |
DsapToPortMap | dsapToPort |
bool | isUp |
long | dsapsRegistered |
long | totalFromHigherLayer |
long | totalFromMAC |
long | totalPassedUp |
long | droppedUnknownDSAP |
Static Protected Attributes | |
static simsignal_t | dsapSignal = registerSignal("dsap") |
static simsignal_t | encapPkSignal = registerSignal("encapPk") |
static simsignal_t | decapPkSignal = registerSignal("decapPk") |
static simsignal_t | passedUpPkSignal = registerSignal("passedUpPk") |
static simsignal_t | droppedPkUnknownDSAPSignal = registerSignal("droppedPkUnknownDSAP") |
static simsignal_t | pauseSentSignal = registerSignal("pauseSent") |
Implements the LLC sub-layer of the Datalink Layer in Ethernet networks.
|
protected |
|
protectedvirtual |
Referenced by processFrameFromMAC().
|
protectedvirtual |
Referenced by handleMessage().
|
overrideprotectedvirtual |
|
overridevirtual |
Perform one stage of a lifecycle operation.
Processing may be done entirely within this method, or may be a longer process that involves nonzero simulation time or several events, and is triggered by this method call.
Return value: true = "done"; false = "not yet done, will invoke doneCallback when done"
Implements inet::ILifecycle.
|
protectedvirtual |
Referenced by handleMessage().
|
protectedvirtual |
Referenced by handleMessage().
|
overrideprotectedvirtual |
|
inlineoverrideprotectedvirtual |
|
protectedvirtual |
Referenced by handleMessage().
|
protectedvirtual |
Referenced by handleMessage().
|
overrideprotectedvirtual |
|
protectedvirtual |
Referenced by handleOperationStage(), and initialize().
|
protectedvirtual |
Referenced by handleOperationStage().
|
staticprotected |
Referenced by processFrameFromMAC().
|
staticprotected |
Referenced by processFrameFromMAC().
|
protected |
Referenced by initialize(), processFrameFromMAC(), and refreshDisplay().
|
staticprotected |
Referenced by handleDeregisterSAP(), and handleRegisterSAP().
|
protected |
Referenced by handleDeregisterSAP(), handleRegisterSAP(), initialize(), start(), and stop().
|
protected |
Referenced by findPortForSAP(), handleDeregisterSAP(), handleRegisterSAP(), start(), and stop().
|
staticprotected |
Referenced by processPacketFromHigherLayer().
|
protected |
Referenced by handleMessage(), initialize(), start(), and stop().
|
staticprotected |
Referenced by processFrameFromMAC().
|
staticprotected |
Referenced by handleSendPause().
|
protected |
Referenced by handleSendPause(), and initialize().
|
protected |
Referenced by initialize(), processPacketFromHigherLayer(), and refreshDisplay().
|
protected |
Referenced by initialize(), and processFrameFromMAC().
|
protected |
Referenced by initialize(), processFrameFromMAC(), and refreshDisplay().