Namespace inet::ospfv2
Ospfv2RouterLsa
classRepresents an OSPF Router LSA (RFC 1583 Section A.4.2.)
Extends
Name | Type | Description |
---|---|---|
Ospfv2Lsa | (unknown -- not in documented files) |
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[] |
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