INET Framework for OMNeT++/OMNEST
RoutingTable6.cc File Reference
#include <algorithm>
#include "opp_utils.h"
#include "RoutingTable6.h"
#include "IPv6InterfaceData.h"
#include "InterfaceTableAccess.h"

Functions

 Define_Module (RoutingTable6)
std::ostream & operator<< (std::ostream &os, const IPv6Route &e)
std::ostream & operator<< (std::ostream &os, const RoutingTable6::DestCacheEntry &e)

Function Documentation

Define_Module ( RoutingTable6  )
std::ostream& operator<< ( std::ostream &  os,
const IPv6Route e 
)
{
    os << e.info();
    return os;
};
std::ostream& operator<< ( std::ostream &  os,
const RoutingTable6::DestCacheEntry e 
)
{
    os << "if=" << e.interfaceId << " " << e.nextHopAddr;  //FIXME try printing interface name
    return os;
};