ExampleQosClassifier

Package: inet.linklayer.common

ExampleQosClassifier

simple module

C++ definition

An example QoS classifier that assigns a User Priority based on the transport protocol and port numbers.

Inheritance diagram

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

Extends

Name Type Description
SimpleModule simple module

Base module for all INET simple modules.

Parameters

Name Type Default value Description
displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

Properties

Name Value Description
class ExampleQosClassifier
display i=block/classifier

Gates

Name Direction Size Description
in input
out output

Source code

//
// An example QoS classifier that assigns a User Priority based on
// the transport protocol and port numbers.
//
simple ExampleQosClassifier extends SimpleModule like IIeee8021dQosClassifier
{
    parameters:
        @class(ExampleQosClassifier);
        @display("i=block/classifier");
    gates:
        input in;
        output out;
}

File: src/inet/linklayer/common/ExampleQosClassifier.ned