Packet OSPFHelloPacket

File: src/networklayer/ospfv2/OSPFPacket.msg

Represents an OSPF Hello packet

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.

Extends:

OSPFPacket (packet)

Represents an OSPF packet header

Fields:

Name Type Description
designatedRouter IPAddress
areaID IPAddress
backupDesignatedRouter IPAddress
neighbor IPAddress[]
checksum short
type char
authenticationType short
routerPriority char
version char
routerID IPAddress
routerDeadInterval long
networkMask IPAddress
authentication char[8]
helloInterval short
packetLength short
options OSPFOptions

Source code:

//
// Represents an OSPF Hello packet
//
packet OSPFHelloPacket extends OSPFPacket
{
    IPAddress networkMask;

    short helloInterval = 5;

    OSPFOptions options;

    char routerPriority = 0;
    long routerDeadInterval = 0;

    IPAddress designatedRouter;
    IPAddress backupDesignatedRouter;
    IPAddress neighbor[];
}