Ospfv2SummaryLsa

Ospfv2SummaryLsa

class

C++ definition

Represents an OSPF Summary LSA

Usage diagram

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Extends

Name Type Description
Ospfv2Lsa class

common ancestor type for all LSAs

Fields

Name Type Description
networkMask Ipv4Address

header.lsType = SUMMARYLSA_NETWORKS_TYPE;

routeCost unsigned long
tosData Ospfv2TosData[]

1 element required, count of tosData not stored, calculate it from length of LSA

header Ospfv2LsaHeader

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
}

File: src/inet/routing/ospfv2/Ospfv2Packet.msg