blob: c3af73ba7973402401eff0d5856cda5d48b202b9 [file] [log] [blame]
akmhoque62a8e402014-02-08 12:00:27 -06001#ifndef NLSR_FE_HPP
2#define NLSR_FE_HPP
3
4#include<list>
5#include <iostream>
6
7#include "nlsr_nexthop.hpp"
8#include "nlsr_nhl.hpp"
9
10using namespace std;
11
12class FibEntry
13{
14public:
15 FibEntry()
16 : name()
17 {
18 }
19
20 FibEntry(string n)
21 {
22 name=n;
23 }
24
25 string getName()
26 {
27 return name;
28 }
29
30 Nhl& getNhl()
31 {
32 return nhl;
33 }
34
35 bool isEqualNextHops(Nhl &nhlOther);
36
37private:
38 string name;
39 Nhl nhl;
40};
41
42ostream& operator<<(ostream& os, FibEntry& fe);
43
44#endif