Ospfv3LinkStateUpdatePacket¶
Namespace: inet::ospfv3
class Ospfv3LinkStateUpdatePacket
Link State Update packet
Usage diagram¶
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
class |
Common OSPFv3 packet header - this header is present in every OSPFv3 packet |
Fields¶
Name |
Type |
Description |
|---|---|---|
id |
int |
|
mutable |
bool |
|
complete |
bool |
|
correct |
bool |
|
properlyRepresented |
bool |
|
chunkLength |
||
rawBin |
string[] |
|
rawHex |
string[] |
|
regionTags |
||
chunkLength |
||
version |
short |
1 byte |
type |
1 byte |
|
packetLengthField |
int |
2 bytes |
routerID |
4 bytes |
|
areaID |
4 bytes |
|
checksum |
uint16_t |
2 bytes |
checksumMode |
||
chunkLength |
||
version |
||
instanceID |
int8_t |
|
reserved |
uint8_t |
|
lsaCount |
uint32_t |
specifies the number of LSAs sent in a single packet |
RouterLSAs |
||
NetworkLSAs |
||
InterAreaPrefixLSAs |
||
LinkLSAs |
||
IntraAreaPrefixLSAs |
Ospfv3Lsa *LSAs[] @owned @allowReplace; TODO - see Ospfv2LinkStateUpdatePacket |
Properties¶
Name |
Value |
Description |
|---|---|---|
beforeChange |
handleChange() |
|
descriptor |
readonly |
|
existingClass |
||
packetData |
Source code¶
//Link State Update packet
class Ospfv3LinkStateUpdatePacket extends Ospfv3Packet
{
uint32_t lsaCount; //specifies the number of LSAs sent in a single packet
Ospfv3RouterLsa RouterLSAs[];
Ospfv3NetworkLsa NetworkLSAs[];
Ospfv3InterAreaPrefixLsa InterAreaPrefixLSAs[];
Ospfv3LinkLsa LinkLSAs[];
Ospfv3IntraAreaPrefixLsa IntraAreaPrefixLSAs[];
// Ospfv3Lsa *LSAs[] @owned @allowReplace;
//TODO - see Ospfv2LinkStateUpdatePacket
}