* tunneling and relaying of packets of any protocol.
*
*
- * Copyright (C) 2007-2008 Othmar Gsenger, Erwin Nindl,
+ * Copyright (C) 2007-2009 Othmar Gsenger, Erwin Nindl,
* Christian Pointner <satp@wirdorange.org>
*
* This file is part of Anytun.
*
* Anytun is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 3 as
- * published by the Free Software Foundation.
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * any later version.
*
* Anytun is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* along with anytun. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _ROUTING_TREE_NODE_H
-#define _ROUTING_TREE_NODE_H
-
+#ifndef ANYTUN_routingTreeNode_h_INCLUDED
+#define ANYTUN_routingTreeNode_h_INCLUDED
#include "threadUtils.hpp"
#include "datatypes.h"
class RoutingTreeNode
{
public:
- RoutingTreeNode();
- ~RoutingTreeNode();
- void print(int) const;
+ RoutingTreeNode();
+ ~RoutingTreeNode();
+ void print(int) const;
private:
-// Mutex mutex_;
- u_int16_t mux_;
- bool valid_;
- boost::array<RoutingTreeNode *,256> nodes_;
+ // Mutex mutex_;
+ uint16_t mux_;
+ bool valid_;
+ boost::array<RoutingTreeNode*,256> nodes_;
friend class RoutingTree;
};