Namespace inet::ospfv3
Ospfv3LsaPrefixMetric
structused for Intra-Area-Prefix LSA
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 | 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
//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. }File: src/inet/routing/ospfv3/Ospfv3Packet.msg