Message LinkStateMsg

File: Network/TED/LinkStatePacket.msg

C++ definition: click here

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

Inheritance diagram:

The following diagram shows part of the inheritance hierarchy. Unresolved types are missing from the diagram. Click here to see the full picture.

Fields:

Name Type Description
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...

Source code:

message LinkStateMsg
{
    fields:
        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 = LINK_STATE_MESSAGE; // FIXME maybe do without this...
};