Ospfv3LsaHeader

Namespace: inet::ospfv3

class Ospfv3LsaHeader

Common LSA Header - this header is present in every LSA triplet {lsType, linkStateID, advertisingRouter} uniquely identify the LSA

Usage diagram

Inheritance diagram

Extends

Name

Type

Description

cObject

(unknown – not in documented files)

Fields

Name

Type

Description

lsaAge

unsigned short

[sec] 16 bits

options

unsigned short

8 bits

lsaType

unsigned short

8 bits

linkStateID

Ipv4Address

32 bits

advertisingRouter

Ipv4Address

32 bits

lsaSequenceNumber

uint32_t

32 bits

lsaChecksum

uint16_t

16 bits

lsChecksumMode

ChecksumMode

lsaLength

uint16_t

Properties

Name

Value

Description

packetData

Source code

//Common LSA Header - this header is present in every LSA
//triplet {lsType, linkStateID, advertisingRouter} uniquely identify the LSA
class Ospfv3LsaHeader extends cObject
{
    @packetData;
    unsigned short lsaAge;          // [sec] 16 bits
    unsigned short options;         // 8 bits
    unsigned short lsaType;         // 8 bits
    Ipv4Address linkStateID;        // 32 bits
    Ipv4Address advertisingRouter;  // 32 bits
    uint32_t lsaSequenceNumber;     // 32 bits
    uint16_t lsaChecksum;     // 16 bits
    ChecksumMode lsChecksumMode = CHECKSUM_MODE_UNDEFINED;
    uint16_t lsaLength;
}

File: src/inet/routing/ospfv3/Ospfv3Packet.msg