MrpTopologyChange¶
Namespace: inet
class MrpTopologyChange
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).
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 |
||
prio |
uint16_t |
|
sa |
||
interval |
uint16_t |
in milliseconds |
Properties¶
Name |
Value |
Description |
|---|---|---|
beforeChange |
handleChange() |
|
descriptor |
readonly |
|
existingClass |
||
packetData |
Source code¶
//
// 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).
//
class MrpTopologyChange extends MrpTlvHeader
{
chunkLength = B(12);
headerType = TOPOLOGYCHANGE;
valueLength = 10;
uint16_t prio;
MacAddress sa;
uint16_t interval; // in milliseconds
}