Ospfv2SummaryLsa

Namespace: inet::ospfv2

class Ospfv2SummaryLsa

Represents an OSPF Summary LSA

Usage diagram

Inheritance diagram

Extends

Name

Type

Description

Ospfv2Lsa

class

common ancestor type for all LSAs

Fields

Name

Type

Description

header

Ospfv2LsaHeader

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

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
}

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