Ospfv3HelloPacket

Namespace: inet::ospfv3

class Ospfv3HelloPacket

OSPFv3 hello 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

interfaceID

uint32_t

32 bits

routerPriority

char

8 bits

options

Ospfv3Options

24 bits

helloInterval

uint16_t

[sec] 16 bits

deadInterval

uint16_t

[sec] 16 bits //TODO rename to routerDeadInterval

designatedRouterID

Ipv4Address

32 bits

backupDesignatedRouterID

Ipv4Address

32 bits

neighborID

Ipv4Address[]

N*32 bits

Properties

Name

Value

Description

beforeChange

handleChange()

descriptor

readonly

existingClass

packetData

Source code

//
//  OSPFv3 hello packet
//
class Ospfv3HelloPacket extends Ospfv3Packet
{
    type = ospf::HELLO_PACKET;
    uint32_t interfaceID;                   // 32 bits
    char routerPriority;                    //  8 bits
    Ospfv3Options options;                  // 24 bits
    uint16_t helloInterval;                 // [sec] 16 bits
    uint16_t deadInterval;                  // [sec] 16 bits //TODO rename to routerDeadInterval
    Ipv4Address designatedRouterID;         // 32 bits
    Ipv4Address backupDesignatedRouterID;   // 32 bits
    Ipv4Address neighborID[];               // N*32 bits
}

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