Functions

RoutingTable6.cc File Reference

#include <algorithm>
#include "opp_utils.h"
#include "RoutingTable6.h"
#include "IPv6InterfaceData.h"
#include "InterfaceTableAccess.h"

Go to the source code of this file.

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 
)

Definition at line 61 of file RoutingTable6.cc.

{
    os << e.info();
    return os;
};

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

Definition at line 67 of file RoutingTable6.cc.

{
    os << "if=" << e.interfaceId << " " << e.nextHopAddr;  //FIXME try printing interface name
    return os;
};