Ospfv2RouterLsa
classRepresents an OSPF Router(1,2) LSA (RFC 1583 Section A.4.2.)
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 |
|---|---|---|
| reserved1 | unsigned short |
header.lsType = ROUTERLSA_TYPE; |
| V_VirtualLinkEndpoint | bool | |
| E_ASBoundaryRouter | bool | |
| B_AreaBorderRouter | bool | |
| reserved2 | unsigned short |
8 bit |
| numberOfLinks | unsigned short | |
| links | Ospfv2Link[] | |
| header | Ospfv2LsaHeader |
Source code
// // Represents an OSPF Router LSA (RFC 1583 Section A.4.2.) // class Ospfv2RouterLsa extends Ospfv2Lsa { // header.lsType = ROUTERLSA_TYPE; unsigned short reserved1 = 0; // 5 bit bool V_VirtualLinkEndpoint = false; bool E_ASBoundaryRouter = false; bool B_AreaBorderRouter = false; unsigned short reserved2 = 0; // 8 bit unsigned short numberOfLinks = 0; Ospfv2Link links[]; }File: src/inet/routing/ospfv2/Ospfv2Packet.msg