DscpTag.msg

Msg File src/inet/networklayer/common/DscpTag.msg

Name Type Description
DscpTagBase class

This is an abstract base class that should not be directly added as a tag.

DscpReq class

This request determines the differentiated services code point that should be used to transmit the packet. It may be present on a packet from the application to the network protocol.

DscpInd class

This indication specifies the differentiated services code point that was used to receive the packet. It may be present on a packet from the network protocol to the application.

Source code

//
// Copyright (C) 2020 OpenSim Ltd.
//
// SPDX-License-Identifier: LGPL-3.0-or-later
//

import inet.common.INETDefs;
import inet.common.TagBase;

namespace inet;

//
// This is an abstract base class that should not be directly added as a tag.
//
class DscpTagBase extends TagBase
{
    int differentiatedServicesCodePoint = -1; // differentiated services code point
}

//
// This request determines the differentiated services code point that should be used to transmit the packet.
// It may be present on a packet from the application to the network protocol.
//
class DscpReq extends DscpTagBase
{
}

//
// This indication specifies the differentiated services code point that was used to receive the packet.
// It may be present on a packet from the network protocol to the application.
//
class DscpInd extends DscpTagBase
{
}