Class OSPFLSAHeader

File: Network/OSPFv2/OSPFPacket.msg

C++ definition: click here

Represents an OSPF LSA header

class OSPFLSAHeader 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.

OSPFLSAHeader

Fields:

Name Type Description
lsAge unsigned short
lsOptions OSPFOptions
lsType char
linkStateID unsigned long
advertisingRouter IPAddress
lsSequenceNumber long
lsChecksum short
length unsigned short

Source code:

class OSPFLSAHeader
{
    fields:
        unsigned short  lsAge = 0;
        OSPFOptions     lsOptions;
        char            lsType enum (LSAType) = RouterLSAType;
        unsigned long   linkStateID;
        IPAddress       advertisingRouter;
        long            lsSequenceNumber = 0;
        short           lsChecksum = 0;
        unsigned short  length = 0;
}