Ospfv3LsaPrefix0

Namespace inet::ospfv3

Ospfv3LsaPrefix0

struct

Address Prefix options

Fields

Name Type Description
reserved1 bool
reserved2 bool
reserved3 bool
dnBit bool
pBit bool
xBit bool
laBit bool
nuBit bool
prefixLen uint8_t
reserved uint16_t
addressPrefix L3Address

Address Prefix is an encoding of the prefix itself as an even multiple of 32-bit words, padding with zero bits as necessary. This encoding consumes ((PrefixLength + 31) / 32) 32-bit words.

Source code

//Address Prefix options
struct Ospfv3LsaPrefix0
{
    @packetData;
    bool reserved1 = 0;
    bool reserved2 = 0;
    bool reserved3 = 0;
    bool dnBit;
    bool pBit;
    bool xBit;
    bool laBit;
    bool nuBit;
    uint8_t prefixLen;
    uint16_t reserved = 0;
    L3Address addressPrefix;    // Address Prefix is an encoding of the prefix itself as an even multiple of 32-bit words,
                                // padding with zero bits as necessary.  This encoding consumes ((PrefixLength + 31) / 32) 32-bit words.
}

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