L4PortTagBase

L4PortTagBase

class

(no description)

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
L4PortInd class

Specifies the source and destination L4 ports for an incoming packet.

L4PortReq class

Determines the source and destination L4 ports for an outgoing packet.

Fields

Name Type Description
srcPort int

may be unspecified

destPort int

may be unspecified

Source code

class L4PortTagBase extends TagBase
{
    int srcPort = -1;      // may be unspecified
    int destPort = -1;     // may be unspecified
}

File: src/inet/transportlayer/common/L4PortTag.msg