Class OSPFLSAHeader

File: src/inet/routing/ospfv2/OSPFPacket.msg

C++ definition

Represents an OSPF LSA header

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Fields:

Name Type Description
lsAge unsigned short
lsOptions OSPFOptions
lsType char
linkStateID IPv4Address
advertisingRouter IPv4Address
lsSequenceNumber long
lsaLength unsigned short

Source code:

//
// Represents an OSPF LSA header
//
class OSPFLSAHeader
{
    unsigned short lsAge = 0;
    OSPFOptions lsOptions;
    char lsType @enum(LSAType) = ROUTERLSA_TYPE;
    IPv4Address linkStateID;
    IPv4Address advertisingRouter;
    long lsSequenceNumber = 0;
    unsigned short lsaLength = 0;
}