INET Framework for OMNeT++/OMNEST
inet::EtherFrameClassifier Class Reference

Ethernet Frame classifier. More...

#include <EtherFrameClassifier.h>

Inheritance diagram for inet::EtherFrameClassifier:

Public Member Functions

virtual void handleMessage (cMessage *msg) override
 Sends the incoming packet to either pauseOut or defaultOut gate. More...
 

Detailed Description

Ethernet Frame classifier.

Ethernet frames are classified as:

  • PAUSE frames
  • others

Member Function Documentation

void inet::EtherFrameClassifier::handleMessage ( cMessage *  msg)
overridevirtual

Sends the incoming packet to either pauseOut or defaultOut gate.

27 {
28  if (dynamic_cast<EtherPauseFrame *>(msg) != nullptr)
29  send(msg, "pauseOut");
30  else
31  send(msg, "defaultOut");
32 }

The documentation for this class was generated from the following files: