#include <McTree.h>
Public Member Functions | |
| bool | activateBestRoute (route_request *rreq_logging) |
| bool | activateRoute (std::string *hostname_source, uint32_t *id, unsigned char *mac_adr) |
| bool | addDownlinkAsConnector (mac *m) |
| bool | addDownlinkAsMember (mac *m) |
| bool | addWaitingRequest (RouteRequest *req, unsigned char *source_mac) |
| bool | downlinkExsists (unsigned char *m) |
| McTree () | |
| McTree (const McTree &orig) | |
| bool | operator= (const McTree *other) |
| void | printTree () |
| bool | processFrame (unsigned char *src) |
| bool | propagateFrame (unsigned char *sender_mac) |
| bool | removeMacIfExsists (unsigned char *m) |
| void | resetTmpFields () |
| bool | routeIsNew (routing_entry *r) |
| void | safeOutgoingRequest (RouteRequest *req) |
| virtual | ~McTree () |
Public Attributes | |
| bool | activated |
| bool | connected |
| std::list< mac * > | downlinks_l_ |
| std::string | group_name_ |
| bool | member |
| RouteRequest * | outgoing_request_ |
| bool | root |
| routing_entry * | route_uplink_ |
| std::list< routing_entry * > | routing_entries_downlinks_l_ |
| std::list< routing_entry * > | routing_entries_l_ |
| unsigned long | time_stamp_ |
| std::list< RouteRequest * > | waiting_requests_l_ |
| McTree::McTree | ( | ) |
Definition at line 20 of file McTree.cpp.
| McTree::McTree | ( | const McTree & | orig | ) |
Definition at line 27 of file McTree.cpp.
| McTree::~McTree | ( | ) | [virtual] |
Definition at line 31 of file McTree.cpp.
| bool McTree::activateBestRoute | ( | route_request * | rreq_logging | ) |
Definition at line 116 of file McTree.cpp.
| bool McTree::activateRoute | ( | std::string * | hostname_source, |
| uint32_t * | id, | ||
| unsigned char * | mac_adr | ||
| ) |
Definition at line 216 of file McTree.cpp.
| bool McTree::addDownlinkAsConnector | ( | mac * | m | ) |
Definition at line 257 of file McTree.cpp.
| bool McTree::addDownlinkAsMember | ( | mac * | m | ) |
Definition at line 271 of file McTree.cpp.
| bool McTree::addWaitingRequest | ( | RouteRequest * | req, |
| unsigned char * | source_mac | ||
| ) |
Definition at line 46 of file McTree.cpp.
| bool McTree::downlinkExsists | ( | unsigned char * | m | ) |
Definition at line 321 of file McTree.cpp.
| bool McTree::operator= | ( | const McTree * | other | ) |
Definition at line 316 of file McTree.cpp.
| void McTree::printTree | ( | ) |
Definition at line 174 of file McTree.cpp.
| bool McTree::processFrame | ( | unsigned char * | src | ) |
Definition at line 167 of file McTree.cpp.
| bool McTree::propagateFrame | ( | unsigned char * | sender_mac | ) |
Definition at line 80 of file McTree.cpp.
| bool McTree::removeMacIfExsists | ( | unsigned char * | m | ) |
Definition at line 337 of file McTree.cpp.
| void McTree::resetTmpFields | ( | ) |
Definition at line 151 of file McTree.cpp.
| bool McTree::routeIsNew | ( | routing_entry * | r | ) |
Definition at line 243 of file McTree.cpp.
| void McTree::safeOutgoingRequest | ( | RouteRequest * | req | ) |
Definition at line 36 of file McTree.cpp.
| bool McTree::activated |
| bool McTree::connected |
| std::list<mac*> McTree::downlinks_l_ |
| std::string McTree::group_name_ |
| bool McTree::member |
| bool McTree::root |
| std::list<routing_entry*> McTree::routing_entries_downlinks_l_ |
| std::list<routing_entry*> McTree::routing_entries_l_ |
| unsigned long McTree::time_stamp_ |
| std::list<RouteRequest*> McTree::waiting_requests_l_ |