Ospfv3DatabaseDescriptionPacket¶
Namespace: inet::ospfv3
class Ospfv3DatabaseDescriptionPacket
Database Description 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 |
|
type |
||
reserved1 |
uint8_t |
8 bits |
options |
24 bits |
|
interfaceMTU |
uint16_t |
16 bits |
ddOptions |
16 bits |
|
sequenceNumber |
uint32_t |
32 bits |
lsaHeaders |
Properties¶
Name |
Value |
Description |
|---|---|---|
beforeChange |
handleChange() |
|
descriptor |
readonly |
|
existingClass |
||
packetData |
Source code¶
//
// Database Description Packet
//
class Ospfv3DatabaseDescriptionPacket extends Ospfv3Packet
{
type = ospf::DATABASE_DESCRIPTION_PACKET;
uint8_t reserved1 = 0; // 8 bits
Ospfv3Options options; // 24 bits
uint16_t interfaceMTU; // 16 bits
Ospfv3DdOptions ddOptions; // 16 bits
uint32_t sequenceNumber; // 32 bits
Ospfv3LsaHeader lsaHeaders[];
}