Ospfv3LsaPrefix0¶
Namespace: inet::ospfv3
struct Ospfv3LsaPrefix0
Address Prefix options
Usage diagram¶
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 |
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. |
Properties¶
Name |
Value |
Description |
|---|---|---|
packetData |
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.
}