LinkStateMsg

Namespace: inet

class LinkStateMsg

Packet for disseminating link state information (TeLinkStateInfo[]) by the LinkStateRouting module which implements a minimalistic link state routing protocol.

Usage diagram

Inheritance diagram

Extends

Name

Type

Description

FieldsChunk

class

(no description)

Fields

Name

Type

Description

id

int

mutable

bool

complete

bool

correct

bool

properlyRepresented

bool

chunkLength

b

rawBin

string[]

rawHex

string[]

regionTags

SharingRegionTagSet::TagBaseRegionTag[]

linkInfo

TeLinkStateInfo[]

request

bool

if true, receiver is expected to send back its own link state database to the sender –FIXME really needed? bool ack = false; – apparently unused, removed – TODO check with Vojta

command

int

FIXME maybe do without this…

Properties

Name

Value

Description

beforeChange

handleChange()

descriptor

readonly

existingClass

packetData

Source code

//
// Packet for disseminating link state information (~TeLinkStateInfo[]) by the
// ~LinkStateRouting module which implements a minimalistic link state routing
// protocol.
//
class LinkStateMsg extends FieldsChunk
{
    TeLinkStateInfo linkInfo[];

    bool request = false; // if true, receiver is expected to send back its own link state database to the sender --FIXME really needed?
        // bool ack = false; -- apparently unused, removed -- TODO check with Vojta

    int command = 1; // FIXME maybe do without this...
}

File: src/inet/networklayer/ted/LinkStatePacket.msg