Ospfv3LinkStateUpdatePacket

Namespace: inet::ospfv3

class Ospfv3LinkStateUpdatePacket

Link State Update packet

Usage diagram

Inheritance diagram

Extends

Name

Type

Description

Ospfv3Packet

class

Common OSPFv3 packet header - this header is present in every OSPFv3 packet

Fields

Name

Type

Description

id

int

mutable

bool

complete

bool

correct

bool

properlyRepresented

bool

chunkLength

b

rawBin

string[]

rawHex

string[]

regionTags

SharingRegionTagSet::TagBaseRegionTag[]

chunkLength

version

short

1 byte

type

OspfPacketType

1 byte

packetLengthField

int

2 bytes

routerID

Ipv4Address

4 bytes

areaID

Ipv4Address

4 bytes

checksum

uint16_t

2 bytes

checksumMode

ChecksumMode

chunkLength

version

instanceID

int8_t

reserved

uint8_t

lsaCount

uint32_t

specifies the number of LSAs sent in a single packet

RouterLSAs

Ospfv3RouterLsa[]

NetworkLSAs

Ospfv3NetworkLsa[]

InterAreaPrefixLSAs

Ospfv3InterAreaPrefixLsa[]

LinkLSAs

Ospfv3LinkLsa[]

IntraAreaPrefixLSAs

Ospfv3IntraAreaPrefixLsa[]

Ospfv3Lsa *LSAs[] @owned @allowReplace; TODO - see Ospfv2LinkStateUpdatePacket

Properties

Name

Value

Description

beforeChange

handleChange()

descriptor

readonly

existingClass

packetData

Source code

//Link State Update packet
class Ospfv3LinkStateUpdatePacket extends Ospfv3Packet
{
    uint32_t lsaCount;  //specifies the number of LSAs sent in a single packet

    Ospfv3RouterLsa RouterLSAs[];
    Ospfv3NetworkLsa NetworkLSAs[];
    Ospfv3InterAreaPrefixLsa InterAreaPrefixLSAs[];
    Ospfv3LinkLsa LinkLSAs[];
    Ospfv3IntraAreaPrefixLsa IntraAreaPrefixLSAs[];
    // Ospfv3Lsa *LSAs[] @owned @allowReplace;
    //TODO - see Ospfv2LinkStateUpdatePacket
}

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