MplsHeader
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 |
---|---|---|
FieldsChunk | class | (no description) |
Fields
Name | Type | Description |
---|---|---|
chunkLength | b | |
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 |
mutable | bool | |
complete | bool | |
correct | bool | |
properlyRepresented | bool | |
rawBin | string[] | |
rawHex | string[] | |
tags | RegionTagSet::cObjectRegionTag[] |
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