ExampleQosClassifier

Package: inet.linklayer.common

simple module ExampleQosClassifier

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

inet.linklayer.common.ExampleQosClassifierExampleQosClassifiersimple

Inheritance 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