TosTagBase

TosTagBase

class

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

Inheritance diagram

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

Extends

Name Type Description
TagBase class

This is an abstract base class that should not be directly added to a message as a tag. It is used as the base class of all tags, thus it doesn't have any fields.

Known subclasses

Name Type Description
TosInd class

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

TosReq class

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

Fields

Name Type Description
tos int

differentiated services code point

Source code

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

File: src/inet/networklayer/common/TosTag.msg