Represents a link in the TED and in LinkStateMsg packets.
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Name | Type | Description |
---|---|---|
advrouter | IPAddress |
routerId of originator of this link state entry |
linkid | IPAddress |
identifies link within advrouter; set to peer's address |
local | IPAddress |
address of local interface of this link |
remote | IPAddress |
address of "gateway" to peer |
metric | double |
link metric |
MaxBandwidth | double |
maximum bandwidth (bps) |
UnResvBandwidth | double[8] |
unreserved bandwidths --FIXME indexed by what? |
timestamp | simtime_t |
time of originating this entry |
sourceId | unsigned int |
FIXME looks like this is the same as advrouter -- really needed? |
messageId | unsigned int |
id assigned to originating LinkStateMsg (FIXME or?) |
state | bool |
false = down, true = up |
// // Represents a link in the TED and in LinkStateMsg packets. // struct TELinkStateInfo { IPAddress advrouter; // routerId of originator of this link state entry IPAddress linkid; // identifies link within advrouter; set to peer's address IPAddress local; // address of local interface of this link IPAddress remote; // address of "gateway" to peer double metric; // link metric double MaxBandwidth; // maximum bandwidth (bps) double UnResvBandwidth[8]; // unreserved bandwidths --FIXME indexed by what? simtime_t timestamp; // time of originating this entry unsigned int sourceId; // FIXME looks like this is the same as advrouter -- really needed? unsigned int messageId; // id assigned to originating LinkStateMsg (FIXME or?) bool state; // false = down, true = up }