Ospfv3Options

Namespace inet::ospfv3

Ospfv3Options

struct

options for OSPFv3 packets - present in Hello, DD and certain LSAs

Fields

Name Type Description
reserved uint16_t

reserved 16 bit

reservedOne bool

reserved for compatibility with ospfv2

reservedTwo bool

reserved for compatibility with ospfv2

dcBit bool

demand circuits

rBit bool

router bit indicating the router originating the message is active

nBit bool

the router is attached to NSSA

xBit bool

used for MOSPF but is deprecated now and the bit should always be zero

eBit bool

AS-extarnal flooding option

v6Bit bool

0=router should be excluded from IPv6 routing calculations

Source code

//options for OSPFv3 packets - present in Hello, DD and certain LSAs
struct Ospfv3Options
{
    @packetData;
    uint16_t reserved;  //reserved 16 bit
    bool reservedOne;   //reserved for compatibility with ospfv2
    bool reservedTwo;   //reserved for compatibility with ospfv2
    bool dcBit;         //demand circuits
    bool rBit;          //router bit indicating the router originating the message is active
    bool nBit;          //the router is attached to NSSA
    bool xBit = 0;      //used for MOSPF but is deprecated now and the bit should always be zero
    bool eBit;          //AS-extarnal flooding option
    bool v6Bit;         //0=router should be excluded from IPv6 routing calculations
}

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