blob: c3af73ba7973402401eff0d5856cda5d48b202b9 [file] [log] [blame]
#ifndef NLSR_FE_HPP
#define NLSR_FE_HPP
#include<list>
#include <iostream>
#include "nlsr_nexthop.hpp"
#include "nlsr_nhl.hpp"
using namespace std;
class FibEntry
{
public:
FibEntry()
: name()
{
}
FibEntry(string n)
{
name=n;
}
string getName()
{
return name;
}
Nhl& getNhl()
{
return nhl;
}
bool isEqualNextHops(Nhl &nhlOther);
private:
string name;
Nhl nhl;
};
ostream& operator<<(ostream& os, FibEntry& fe);
#endif