Ospfv2Link¶
Namespace: inet::ospfv2
class Ospfv2Link
Router LSA Link section (RFC 1583 Section A.4.2.)
Usage diagram¶
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
cObject |
(unknown – not in documented files) |
Fields¶
Name |
Type |
Description |
|---|---|---|
linkID |
||
linkData |
unsigned long |
|
type |
||
numberOfTOS |
unsigned char |
|
linkCost |
unsigned long |
TOS 0 metric |
tosData |
Properties¶
Name |
Value |
Description |
|---|---|---|
packetData |
Source code¶
// Router LSA Link section (RFC 1583 Section A.4.2.)
class Ospfv2Link extends cObject
{
@packetData;
Ipv4Address linkID;
unsigned long linkData = 0;
LinkType type = POINTTOPOINT_LINK;
unsigned char numberOfTOS = 0;
unsigned long linkCost = 1; // TOS 0 metric
Ospfv2TosData tosData[];
}