Ospfv2LsaHeader

Namespace inet::ospfv2

Ospfv2LsaHeader

class

Represents an OSPF LSA header

Extends

Name Type Description
cObject (unknown -- not in documented files)

Fields

Name Type Description
lsAge unsigned short
lsOptions Ospfv2Options
lsType Ospfv2LsaType
linkStateID Ipv4Address
advertisingRouter Ipv4Address
lsSequenceNumber int32_t
lsCrc uint16_t
lsCrcMode CrcMode
lsaLength uint16_t

Source code

//
// Represents an OSPF LSA header
//
class Ospfv2LsaHeader extends cObject
{
    @packetData;
    unsigned short lsAge = 0;
    Ospfv2Options lsOptions;
    Ospfv2LsaType lsType = static_cast<Ospfv2LsaType>(-1);
    Ipv4Address linkStateID;
    Ipv4Address advertisingRouter;
    int32_t lsSequenceNumber = 0;
    uint16_t lsCrc = 0;
    CrcMode lsCrcMode = CRC_MODE_UNDEFINED;
    uint16_t lsaLength = 0;
}

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