Ospfv3DatabaseDescriptionPacket

Namespace: inet::ospfv3

class Ospfv3DatabaseDescriptionPacket

Database Description 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

type

reserved1

uint8_t

8 bits

options

Ospfv3Options

24 bits

interfaceMTU

uint16_t

16 bits

ddOptions

Ospfv3DdOptions

16 bits

sequenceNumber

uint32_t

32 bits

lsaHeaders

Ospfv3LsaHeader[]

Properties

Name

Value

Description

beforeChange

handleChange()

descriptor

readonly

existingClass

packetData

Source code

//
// Database Description Packet
//
class Ospfv3DatabaseDescriptionPacket extends Ospfv3Packet
{
    type = ospf::DATABASE_DESCRIPTION_PACKET;
    uint8_t reserved1 = 0;      //  8 bits
    Ospfv3Options options;      // 24 bits
    uint16_t interfaceMTU;      // 16 bits
    Ospfv3DdOptions ddOptions;  // 16 bits
    uint32_t sequenceNumber;    // 32 bits

    Ospfv3LsaHeader lsaHeaders[];
}

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