|
INET Framework for OMNeT++/OMNEST
|
#include <omnetpp.h>#include <algorithm>#include "TED.h"#include "IPControlInfo.h"#include "IPv4InterfaceData.h"#include "NotifierConsts.h"#include "RoutingTableAccess.h"#include "InterfaceTableAccess.h"#include "NotificationBoard.h"Defines | |
| #define | LS_INFINITY 1e16 |
Functions | |
| Define_Module (TED) | |
| std::ostream & | operator<< (std::ostream &os, const TELinkStateInfo &info) |
| #define LS_INFINITY 1e16 |
Referenced by TED::assignIndex(), and TED::calculateShortestPath().
| Define_Module | ( | TED | ) |
| std::ostream& operator<< | ( | std::ostream & | os, |
| const TELinkStateInfo & | info | ||
| ) |
{
os << "advrouter:" << info.advrouter;
os << " linkid:" << info.linkid;
os << " local:" << info.local;
os << " remote:" << info.remote;
os << " state:" << info.state;
os << " metric:" << info.metric;
os << " maxBW:" << info.MaxBandwidth;
os << " unResvBW[7]:" << info.UnResvBandwidth[7]; // FIXME comment: what is 7 ?
os << " unResvBW[4]:" << info.UnResvBandwidth[4]; // FIXME comment: what is 4 ?
return os;
}