Ospfv2Packet

Namespace inet::ospfv2

Ospfv2Packet

class

Represents an OSPF packet header

Extends

Name Type Description
ospf::OspfPacketBase (unknown -- not in documented files)

Fields

Name Type Description
chunkLength
version
authenticationType short

2 bytes

authentication char[8]

8 bytes

Packet operations (observed)

actionmodule
peekAtFrontOspfv2

Source code

//
// Represents an OSPF packet header
//
class Ospfv2Packet extends ospf::OspfPacketBase
{
    chunkLength = B(24);
    version = 2;

    short authenticationType = 0;   // 2 bytes
    char authentication[8];         // 8 bytes
}

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