Ospfv2SummaryLsa¶
Namespace: inet::ospfv2
class Ospfv2SummaryLsa
Represents an OSPF Summary LSA
Usage diagram¶
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
class |
common ancestor type for all LSAs |
Fields¶
Name |
Type |
Description |
|---|---|---|
header |
||
networkMask |
header.lsType = SUMMARYLSA_NETWORKS_TYPE; |
|
routeCost |
unsigned long |
|
tosData |
1 element required, count of tosData not stored, calculate it from length of LSA |
Properties¶
Name |
Value |
Description |
|---|---|---|
packetData |
Source code¶
//
// Represents an OSPF Summary LSA
//
class Ospfv2SummaryLsa extends Ospfv2Lsa
{
// header.lsType = SUMMARYLSA_NETWORKS_TYPE;
Ipv4Address networkMask;
unsigned long routeCost = 1;
Ospfv2TosData tosData[]; // 1 element required, count of tosData not stored, calculate it from length of LSA
}