CfmMessage¶
Namespace: inet
class CfmMessage
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.
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
class |
(no description) |
Known subclasses¶
Name |
Type |
Description |
|---|---|---|
class |
Protocol header for the Continuity Check protocol (CC), which is a fundamental component of CFM. |
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 |
Properties¶
Name |
Value |
Description |
|---|---|---|
beforeChange |
handleChange() |
|
descriptor |
readonly |
|
existingClass |
||
packetData |
Source code¶
//
// 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.
//
class CfmMessage extends FieldsChunk {
uint8_t mdLevel = 0;
uint8_t opCode;
uint8_t flags = 0x00000001; // RDI 1 bit, Traffic 1 bit, Reserved 3 bit, CCM interval 3 bit
}