MplsHeader

Namespace: inet

class MplsHeader

(no description)

Inheritance diagram

Extends

Name

Type

Description

FieldsChunk

class

(no description)

Fields

Name

Type

Description

id

int

mutable

bool

complete

bool

correct

bool

properlyRepresented

bool

chunkLength

b

rawBin

string[]

rawHex

string[]

regionTags

SharingRegionTagSet::TagBaseRegionTag[]

chunkLength

label

uint32_t

@bit(20) Label value. A label with the value of 1 represents the router alert label.

tc

uint8_t

@bit(3) Traffic Class field for QoS (quality of service) priority and ECN (Explicit Congestion Notification). Prior to 2009 this field was called EXP.

s

bool

@bit(1) bottom of stack flag. If this is set, it signifies that the current label is the last in the stack.

ttl

uint8_t

@bit(8) time to live

Properties

Name

Value

Description

beforeChange

handleChange()

descriptor

readonly

existingClass

packetData

Source code

class MplsHeader extends FieldsChunk
{
    chunkLength = B(4);
    uint32_t label;     // @bit(20)  Label value. A label with the value of 1 represents the router alert label.
    uint8_t tc;       // @bit(3)   Traffic Class field for QoS (quality of service) priority and ECN (Explicit Congestion Notification). Prior to 2009 this field was called EXP.
    bool s;         // @bit(1)   bottom of stack flag. If this is set, it signifies that the current label is the last in the stack.
    uint8_t ttl;      // @bit(8)   time to live
}

File: src/inet/networklayer/mpls/MplsPacket.msg