Ospfv3LsaPrefixMetric¶
Namespace: inet::ospfv3
struct Ospfv3LsaPrefixMetric
used for Intra-Area-Prefix LSA
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 |
|
metric |
uint16_t |
for Intra-Area-Prefix LSA |
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¶
//used for Intra-Area-Prefix LSA
struct Ospfv3LsaPrefixMetric
{
@packetData;
bool reserved1 = 0;
bool reserved2 = 0;
bool reserved3 = 0;
bool dnBit=0;
bool pBit=0;
bool xBit=0;
bool laBit=0;
bool nuBit=0;
uint8_t prefixLen;
uint16_t metric; //for Intra-Area-Prefix LSA
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.
}