Class Link

File: Network/OSPFv2/OSPFPacket.msg

C++ definition: click here

class Link extends cObject

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.

Link

Fields:

Name Type Description
linkID IPAddress
linkData unsigned long
type unsigned char
numberOfTOS unsigned char
linkCost unsigned long
tosData TOSData[]

Source code:

class Link
{
    fields:
        IPAddress      linkID;
        unsigned long  linkData = 0;
        unsigned char  type enum (LinkType) = PointToPointLink;
        unsigned char  numberOfTOS = 0;
        unsigned long  linkCost = 1;
        TOSData        tosData[];
};