CfmContinuityCheckMessage¶
Namespace: inet
class CfmContinuityCheckMessage
Protocol header for the Continuity Check protocol (CC), which is a fundamental component of CFM.
NOTE: Fields not used by the simulation are omitted.
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
class |
Base header for the Connectivity Fault Management (CFM) protocol suite for managing connectivity at the Ethernet service level. CFM is defined within the IEEE Std 802.1Q-2018 standard, later IEEE 802.1ag and ITU Y.1731. |
Fields¶
Name |
Type |
Description |
|---|---|---|
id |
int |
|
mutable |
bool |
|
complete |
bool |
|
correct |
bool |
|
properlyRepresented |
bool |
|
chunkLength |
||
rawBin |
string[] |
|
rawHex |
string[] |
|
regionTags |
||
mdLevel |
uint8_t |
|
opCode |
uint8_t |
|
flags |
uint8_t |
RDI 1 bit, Traffic 1 bit, Reserved 3 bit, CCM interval 3 bit |
chunkLength |
||
opCode |
CCM |
|
sequenceNumber |
uint32_t |
|
endpointIdentifier |
uint16_t |
MEP ID |
messageName |
string |
max 45 Bytes |
Properties¶
Name |
Value |
Description |
|---|---|---|
beforeChange |
handleChange() |
|
descriptor |
readonly |
|
existingClass |
||
packetData |
Source code¶
//
// Protocol header for the Continuity Check protocol (CC), which is a fundamental
// component of CFM.
//
// NOTE: Fields not used by the simulation are omitted.
//
class CfmContinuityCheckMessage extends CfmMessage {
chunkLength = B(75);
opCode = 1; // CCM
uint32_t sequenceNumber = 0;
uint16_t endpointIdentifier = 1; // MEP ID
string messageName; // max 45 Bytes
}