Ospfv2DatabaseDescriptionPacket

Namespace: inet::ospfv2

class Ospfv2DatabaseDescriptionPacket

Represents an OSPF Database Description packet

Usage diagram

Inheritance diagram

Extends

Name

Type

Description

Ospfv2Packet

class

Represents an OSPF packet header

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

authenticationType

short

2 bytes

authentication

char[8]

8 bytes

interfaceMTU

unsigned short

options

Ospfv2Options

ddOptions

Ospfv2DdOptions

ddSequenceNumber

unsigned long

lsaHeaders

Ospfv2LsaHeader[]

TODO

Properties

Name

Value

Description

beforeChange

handleChange()

descriptor

readonly

existingClass

packetData

Source code

//
// Represents an OSPF Database Description packet
//
class Ospfv2DatabaseDescriptionPacket extends Ospfv2Packet
{
    unsigned short interfaceMTU;
    Ospfv2Options options;
    Ospfv2DdOptions ddOptions;
    unsigned long ddSequenceNumber;
    Ospfv2LsaHeader lsaHeaders[];     //TODO
}

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