IIeee8021dQosClassifier

Package: inet.linklayer.common

module interface IIeee8021dQosClassifier

Interface for 802.1d QoS classifiers. For each packet, the classifier computes an 802.1d User Priority (UP) value and sets it in the Iee802Ctrl control info before sending out the packet on the “out” gate.

Inheritance diagram

Implemented by

Name

Type

Description

ExampleQosClassifier

simple module

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

OmittedIeee8021dQosClassifier

compound module

Implements the given module interface and can be used as an omitted optional module that removes itself from the module hierarchy during initialization.

QosClassifier

simple module

Classifies packets and assigns a User Priority based on the IP protocol or the transport protocol port numbers.

RandomQosClassifier

simple module

A QoS classifier that assigns a random User Priority. This is useful for testing purposes.

Properties

Name

Value

Description

display

i=block/fork

Source code

//
// Interface for 802.1d QoS classifiers. For each packet, the classifier
// computes an 802.1d User Priority (UP) value and sets it in the
// Iee802Ctrl control info before sending out the packet on the "out" gate.
//
moduleinterface IIeee8021dQosClassifier
{
    parameters:
        @display("i=block/fork");
    gates:
        input in;
        output out;
}

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