MrpCommon

Namespace: inet

class MrpCommon

MRP_Common: Carries common information relevant across various MRP messages.

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

valueLength

sequenceID

uint16_t

MRP_SequenceID

uuid0

uint64_t

MRP_DomainUUID (128-bit field)

uuid1

uint64_t

Properties

Name

Value

Description

beforeChange

handleChange()

descriptor

readonly

existingClass

packetData

Source code

//
// MRP_Common: Carries common information relevant across various MRP messages.
//
class MrpCommon extends MrpTlvHeader
{
    chunkLength = B(20);
    headerType = COMMON;
    valueLength = 18;
    uint16_t sequenceID; // MRP_SequenceID
    uint64_t uuid0;  // MRP_DomainUUID (128-bit field)
    uint64_t uuid1;
}

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