Namespace inet
MplsHeader
class(no description)
Extends
Name | Type | Description |
---|---|---|
FieldsChunk | (unknown -- not in documented files) |
Fields
Name | Type | Description |
---|---|---|
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 |
Packet operations (observed)
action | module |
---|---|
insertAtFront | Mpls |
peekAtFront | Mpls |
popAtFront | Mpls |
removeAtFront | Mpls |
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