MrpTlvHeader¶
Namespace: inet
class MrpTlvHeader
MRP_TLVHeader: Base class for all TLVs in MRP; contains the Type and Length fields of the TLV. Note that all TLVs (except for MRP_End) must be padded to a multiple of 32 bits.
Usage diagram¶
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
class |
(no description) |
Known subclasses¶
Name |
Type |
Description |
|---|---|---|
class |
MRP_Common: Carries common information relevant across various MRP messages. |
|
class |
MRP_End: Indicates the end of a list of TLVs in an MRP message. |
|
class |
MRP_InLinkChange: MRP_InLinkDown or MRP_InLinkUp (depends on headerType). Sent by the Media Redundancy Interconnection Clients (MICs) to the Media Redundancy Interconnection Manager (MIM) to inform the MIM of any changes in the link status within the interconnection setup. |
|
class |
MRP_InLinkStatusPoll: Sent by the Media Redundancy Interconnection Manager (MIM) to the Media Redundancy Interconnection Clients (MICs) within the interconnected MRP rings. The MICs respond with MRP_InLinkChange frames, providing the current status of their interconnection links to inform the MIM of any changes or confirm their operational status. |
|
class |
MRP_InTest: Periodically sent by the Media Redundancy Interconnection Manager (MIM) on both of its interconnection ports to check the integrity of the interconnection between the two MRP rings. These frames are circulated among all interconnected MIMs and MICs, and must be received back at the originating MIM to confirm the integrity of the interconnection. |
|
class |
MRP_InTopologyChange: Sent by the MIM to all connected Media Redundancy Interconnection Clients (MICs) and the Media Redundancy Managers (MRMs) in the interconnected MRP rings to notify them of changes in the network topology, facilitating updates in network configuration and operation. |
|
class |
MRP_LinkChange: MRP_LinkUp or MRP_LinkDown (depends on headerType). Sent by Media Redundancy Clients (MRCs) to report changes in link status to the MRM. |
|
class |
MRP_Option: Contains optional, vendor-specific extensions to the MRP messages. |
|
class |
MRP_Test: Periodically sent by the Media Redundancy Manager (MRM) on both of its ring ports to check the ring’s operational status. Test frames circulate through all devices in the ring, and must be received by the MRM on its opposite ring port to confirm ring integrity. |
|
class |
MRP_TopologyChange: Sent by the Media Redundancy Manager (MRM) to Media Redundancy Clients (MRCs) to indicate a change in network topology, typically due to a link change. Recipients should react by clearing their MAC address tables (FDB). |
Fields¶
Name |
Type |
Description |
|---|---|---|
id |
int |
|
mutable |
bool |
|
complete |
bool |
|
correct |
bool |
|
properlyRepresented |
bool |
|
chunkLength |
||
rawBin |
string[] |
|
rawHex |
string[] |
|
regionTags |
||
headerType |
||
valueLength |
uint8_t |
Properties¶
Name |
Value |
Description |
|---|---|---|
beforeChange |
handleChange() |
|
descriptor |
readonly |
|
existingClass |
||
packetData |
Source code¶
//
// MRP_TLVHeader: Base class for all TLVs in MRP; contains the Type and
// Length fields of the TLV. Note that all TLVs (except for MRP_End)
// must be padded to a multiple of 32 bits.
//
class MrpTlvHeader extends FieldsChunk
{
TlvHeaderType headerType;
uint8_t valueLength;
}