MrpInTest¶
Namespace: inet
class MrpInTest
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.
Usage diagram¶
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
class |
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. |
Fields¶
Name |
Type |
Description |
|---|---|---|
id |
int |
|
mutable |
bool |
|
complete |
bool |
|
correct |
bool |
|
properlyRepresented |
bool |
|
chunkLength |
||
rawBin |
string[] |
|
rawHex |
string[] |
|
regionTags |
||
headerType |
||
valueLength |
uint8_t |
|
chunkLength |
||
headerType |
||
valueLength |
||
inID |
uint16_t |
|
sa |
||
portRole |
uint16_t |
|
inState |
uint16_t |
|
transition |
uint16_t |
|
timeStamp |
uint32_t |
in milliseconds |
Properties¶
Name |
Value |
Description |
|---|---|---|
beforeChange |
handleChange() |
|
descriptor |
readonly |
|
existingClass |
||
packetData |
Source code¶
//
// 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 MrpInTest extends MrpTlvHeader
{
chunkLength = B(20);
headerType = INTEST;
valueLength = 18;
uint16_t inID = 0x8000;
MacAddress sa;
uint16_t portRole;
uint16_t inState;
uint16_t transition;
uint32_t timeStamp; // in milliseconds
}