VlanTagBase

VlanTagBase

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

This indication specifies the vlan that was used to receive the packet. It may be present on a packet from the mac protocol to the application.

VlanReq class

This request determines the vlan that should be used to send the packet. It may be present on a packet from the application to the mac protocol.

Fields

Name Type Description
vlanId int

Source code

//
// This is an abstract base class that should not be directly added as a tag.
//
class VlanTagBase extends TagBase
{
    int vlanId = -1;
}

File: src/inet/linklayer/common/VlanTag.msg