summaryrefslogtreecommitdiff
path: root/src/routingTable.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/routingTable.h')
-rw-r--r--src/routingTable.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/routingTable.h b/src/routingTable.h
index 8fb1f64..48e7617 100644
--- a/src/routingTable.h
+++ b/src/routingTable.h
@@ -42,7 +42,7 @@
#include "networkPrefix.h"
#include "routingTreeNode.h"
#include "boost/array.hpp"
-typedef std::map<NetworkPrefix,u_int16_t> RoutingMap;
+typedef std::map<NetworkPrefix,uint16_t> RoutingMap;
class RoutingTable
{
@@ -50,15 +50,15 @@ public:
static RoutingTable& instance();
RoutingTable();
~RoutingTable();
- void addRoute(const NetworkPrefix& ,u_int16_t);
+ void addRoute(const NetworkPrefix& ,uint16_t);
void updateRouteTreeUnlocked(const NetworkPrefix& pref);
void delRoute(const NetworkPrefix&);
- u_int16_t getRoute(const NetworkAddress&);
+ uint16_t getRoute(const NetworkAddress&);
bool empty(network_address_type_t type);
void clear(network_address_type_t type);
Mutex& getMutex();
- u_int16_t* getOrNewRoutingTEUnlocked(const NetworkPrefix& addr);
- u_int16_t getCountUnlocked(network_address_type_t type);
+ uint16_t* getOrNewRoutingTEUnlocked(const NetworkPrefix& addr);
+ uint16_t getCountUnlocked(network_address_type_t type);
RoutingMap::iterator getBeginUnlocked(network_address_type_t type);
RoutingMap::iterator getEndUnlocked(network_address_type_t type);