Ospfv2DatabaseDescriptionPacket¶
Namespace: inet::ospfv2
class Ospfv2DatabaseDescriptionPacket
Represents an OSPF Database Description packet
Usage diagram¶
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
class |
Represents an OSPF packet header |
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 |
||
authenticationType |
short |
2 bytes |
authentication |
char[8] |
8 bytes |
interfaceMTU |
unsigned short |
|
options |
||
ddOptions |
||
ddSequenceNumber |
unsigned long |
|
lsaHeaders |
TODO |
Properties¶
Name |
Value |
Description |
|---|---|---|
beforeChange |
handleChange() |
|
descriptor |
readonly |
|
existingClass |
||
packetData |
Source code¶
//
// Represents an OSPF Database Description packet
//
class Ospfv2DatabaseDescriptionPacket extends Ospfv2Packet
{
unsigned short interfaceMTU;
Ospfv2Options options;
Ospfv2DdOptions ddOptions;
unsigned long ddSequenceNumber;
Ospfv2LsaHeader lsaHeaders[]; //TODO
}