MrpLinkChange

Namespace: inet

class MrpLinkChange

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.

Usage diagram

Inheritance diagram

Extends

Name

Type

Description

MrpTlvHeader

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

b

rawBin

string[]

rawHex

string[]

regionTags

SharingRegionTagSet::TagBaseRegionTag[]

headerType

TlvHeaderType

valueLength

uint8_t

chunkLength

headerType

LINKUP or LINKDOWN

valueLength

sa

MacAddress

interval

uint16_t

in milliseconds

blocked

uint16_t

Properties

Name

Value

Description

beforeChange

handleChange()

descriptor

readonly

existingClass

packetData

Source code

//
// 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 MrpLinkChange extends MrpTlvHeader
{
    chunkLength = B(12);
    headerType = LINKDOWN; // LINKUP or LINKDOWN
    valueLength = 10;
    MacAddress sa;
    uint16_t interval; // in milliseconds
    uint16_t blocked;
}

File: src/inet/linklayer/mrp/MrpPdu.msg