Defines | Functions

TED.cc File Reference

#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"

Go to the source code of this file.

Defines

#define LS_INFINITY   1e16

Functions

 Define_Module (TED)
std::ostream & operator<< (std::ostream &os, const TELinkStateInfo &info)

Define Documentation

#define LS_INFINITY   1e16

Definition at line 26 of file TED.cc.


Function Documentation

Define_Module ( TED   ) 
std::ostream& operator<< ( std::ostream &  os,
const TELinkStateInfo &  info 
)

Definition at line 139 of file TED.cc.

{
    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;
}