File name format change and Removed warning messages (Except warning from boost for Logging)
Change-Id: If3a3a5411d377d925527fc3e8809c228a9a81e26
diff --git a/src/route/nexthop.hpp b/src/route/nexthop.hpp
new file mode 100644
index 0000000..7153e0f
--- /dev/null
+++ b/src/route/nexthop.hpp
@@ -0,0 +1,57 @@
+#ifndef NLSR_NEXTHOP_HPP
+#define NLSR_NEXTHOP_HPP
+
+#include <iostream>
+
+namespace nlsr {
+class NextHop
+{
+public:
+ NextHop()
+ : m_connectingFace(0)
+ , m_routeCost(0)
+ {
+ }
+
+ NextHop(int cf, double rc)
+ {
+ m_connectingFace = cf;
+ m_routeCost = rc;
+ }
+
+ int
+ getConnectingFace() const
+ {
+ return m_connectingFace;
+ }
+
+ void
+ setConnectingFace(int cf)
+ {
+ m_connectingFace = cf;
+ }
+
+ double
+ getRouteCost() const
+ {
+ return m_routeCost;
+ }
+
+ void
+ setRouteCost(double rc)
+ {
+ m_routeCost = rc;
+ }
+
+private:
+ int m_connectingFace;
+ double m_routeCost;
+};
+
+
+std::ostream&
+operator<<(std::ostream& os, NextHop& nh);
+
+}//namespace nlsr
+
+#endif //NLSR_NEXTHOP_HPP