INET Framework for OMNeT++/OMNEST
|
#include <omnetpp.h>
#include <iostream>
#include <fstream>
#include <algorithm>
#include "ConstType.h"
#include "LDP.h"
#include "LIBTable.h"
#include "InterfaceTableAccess.h"
#include "IPv4InterfaceData.h"
#include "RoutingTableAccess.h"
#include "LIBTableAccess.h"
#include "TEDAccess.h"
#include "NotifierConsts.h"
#include "UDPPacket.h"
#include "TCPSegment.h"
Functions | |
Define_Module (LDP) | |
std::ostream & | operator<< (std::ostream &os, const LDP::fec_bind_t &f) |
bool | fecPrefixCompare (const LDP::fec_t &a, const LDP::fec_t &b) |
std::ostream & | operator<< (std::ostream &os, const LDP::fec_t &f) |
std::ostream & | operator<< (std::ostream &os, const LDP::pending_req_t &r) |
std::ostream & | operator<< (std::ostream &os, const LDP::peer_info &p) |
bool | operator== (const FEC_TLV &a, const FEC_TLV &b) |
bool | operator!= (const FEC_TLV &a, const FEC_TLV &b) |
std::ostream & | operator<< (std::ostream &os, const FEC_TLV &a) |
Define_Module | ( | LDP | ) |
bool fecPrefixCompare | ( | const LDP::fec_t & | a, |
const LDP::fec_t & | b | ||
) |
Referenced by LDP::rebuildFecList().
bool operator!= | ( | const FEC_TLV & | a, |
const FEC_TLV & | b | ||
) |
{ return !operator==(a, b); }
std::ostream& operator<< | ( | std::ostream & | os, |
const LDP::fec_t & | f | ||
) |
std::ostream& operator<< | ( | std::ostream & | os, |
const LDP::peer_info & | p | ||
) |
{ os << "peerIP=" << p.peerIP << " interface=" << p.linkInterface << " activeRole=" << (p.activeRole ? "true" : "false") << " socket=" << (p.socket ? TCPSocket::stateName(p.socket->getState()) : "NULL"); return os; }
std::ostream& operator<< | ( | std::ostream & | os, |
const LDP::pending_req_t & | r | ||
) |
std::ostream& operator<< | ( | std::ostream & | os, |
const LDP::fec_bind_t & | f | ||
) |
std::ostream& operator<< | ( | std::ostream & | os, |
const FEC_TLV & | a | ||
) |
{ os << "addr=" << a.addr << " length=" << a.length; return os; }
bool operator== | ( | const FEC_TLV & | a, |
const FEC_TLV & | b | ||
) |
Referenced by operator!=(), IPv6Address::operator!=(), and OSPF::LinkStateUpdateHandler::ProcessPacket().
{
return a.length == b.length && a.addr == b.addr;
}