Ospfv2HelloPacket

Namespace inet::ospfv2

Ospfv2HelloPacket

class

Represents an OSPF Hello packet

Extends

Name Type Description
Ospfv2Packet (unknown -- not in documented files)

Fields

Name Type Description
type
networkMask Ipv4Address
helloInterval short
options Ospfv2Options
routerPriority char
routerDeadInterval long
designatedRouter Ipv4Address
backupDesignatedRouter Ipv4Address
neighbor Ipv4Address[]

Packet operations (observed)

actionmodule
insertAtBackOspfv2
peekAtFrontOspfv2

Source code

//
// Represents an OSPF Hello packet
//
class Ospfv2HelloPacket extends Ospfv2Packet
{
    type = HELLO_PACKET;
    Ipv4Address networkMask;

    short helloInterval = 5;

    Ospfv2Options options;

    char routerPriority = 0;
    long routerDeadInterval = 0;

    Ipv4Address designatedRouter;
    Ipv4Address backupDesignatedRouter;
    Ipv4Address neighbor[];
}

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