Simple Module EtherFrameClassifier

Package: inet.linklayer.ethernet
File: src/inet/linklayer/ethernet/EtherFrameClassifier.ned

C++ definition

Simple classifier, that forwards EtherPauseFrames to the pauseOut gates, and other frames to the defaultOut gate.

This component can be used to build a QoS queue that gives the pause frames the highest priority.

EtherFrameClassifier

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Used in compound modules:

Name Type Description
EtherQoSQueue compound module

Queue module that gives the PAUSE frames a higher priority, and can be parametrized with an IOutputQueue for serving the other frames.

Properties:

Name Value Description
display i=block/classifier

Gates:

Name Direction Size Description
in input
pauseOut output
defaultOut output

Source code:

//
// Simple classifier, that forwards EtherPauseFrames
// to the pauseOut gates, and other frames to the defaultOut
// gate.
//
// This component can be used to build a QoS queue that gives
// the pause frames the highest priority.
//
simple EtherFrameClassifier
{
    parameters:
        @display("i=block/classifier");
    gates:
        input in;
        output pauseOut;
        output defaultOut;
}