DSR routing implementation of Routing ConceptDSR routing implementation of Routing Concept ...
More...
#include <dymo_routing.h>
Inherits wiselib::RoutingBase< OsModel_P, Radio_P >.
List of all members.
Classes |
struct | retry_info |
struct | rreq_info |
Public Types |
enum | { MAX_PATH_LENGTH = RoutingTableValue::MAX_PATH_LENGTH
} |
enum | SpecialNodeIds { BROADCAST_ADDRESS = Radio_P::BROADCAST_ADDRESS,
NULL_NODE_ID = Radio_P::NULL_NODE_ID
} |
| Given fix size of the map of pending messages. More...
|
enum | Restrictions { MAX_MESSAGE_LENGTH = Radio_P::MAX_MESSAGE_LENGTH - RouteDiscoveryMessage::PAYLOAD_POS
} |
typedef OsModel_P | OsModel |
typedef Radio_P | Radio |
typedef Debug_P | Debug |
typedef OsModel_P::Timer | Timer |
typedef RoutingTable_P | RoutingTable |
typedef RoutingTable::iterator | RoutingTableIterator |
typedef RoutingTable::mapped_type | RoutingTableValue |
typedef RoutingTable::value_type | RoutingTableEntry |
typedef RoutingTableValue::Path | Path |
typedef DYMORouting< OsModel,
RoutingTable, Radio, Debug > | self_type |
typedef Radio::node_id_t | node_id_t |
typedef Radio::size_t | size_t |
typedef Radio::block_data_t | block_data_t |
typedef Timer::millis_t | millis_t |
typedef
DYMORouteDiscoveryMessage
< OsModel, Radio, Path > | RouteDiscoveryMessage |
typedef
wiselib::MapStaticVector
< OsModel, uint8_t,
RouteDiscoveryMessage, 10 > | pending_msgs_t |
enum | ReturnValues |
typedef delegate3< void,
node_id_t, size_t,
block_data_t * > | radio_delegate_t |
typedef vector_static< OsModel,
radio_delegate_t,
MAX_RECEIVERS > | CallbackVector |
typedef CallbackVector::iterator | CallbackVectorIterator |
Public Member Functions |
void | proc_rreq (node_id_t from, RouteDiscoveryMessage &message) |
void | proc_rrep (node_id_t from, RouteDiscoveryMessage &message) |
void | proc_err (node_id_t from, RouteDiscoveryMessage &message) |
void | proc_data (node_id_t from, RouteDiscoveryMessage &message) |
bool | route_exists (node_id_t destination) |
void | check_pending_messages (uint16_t destination) |
void | table_cleanup () |
void | init_path_disc () |
void | resend_rreq (uint16_t dest) |
void | pend_dest_cleanup () |
void | neighbors_cleanup () |
void | init (Radio &radio, Timer &timer, Debug &debug) |
void | destruct () |
int | reg_recv_callback (T *obj_pnt) |
int | unreg_recv_callback (int idx) |
void | notify_receivers (node_id_t from, size_t len, block_data_t *data) |
|
| DYMORouting () |
| ~DYMORouting () |
|
void | enable_radio (void) |
void | disable_radio (void) |
|
void | timer_elapsed (void *userdata) |
|
void | send (node_id_t receiver, size_t len, block_data_t *data) |
void | receive (node_id_t from, size_t len, block_data_t *data) |
Radio::node_id_t | id () |
Detailed Description
template<typename OsModel_P, typename RoutingTable_P, typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
class wiselib::DYMORouting< OsModel_P, RoutingTable_P, Radio_P, Debug_P >
DSR routing implementation of Routing Concept
DSR routing implementation of Routing Concept ...
Member Typedef Documentation
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
Member Enumeration Documentation
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
- Enumerator:
MAX_MESSAGE_LENGTH |
Maximal number of bytes in payload.
|
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
Given fix size of the map of pending messages.
- Enumerator:
BROADCAST_ADDRESS |
All nodes in communication range.
|
NULL_NODE_ID |
Unknown/No node id.
|
Constructor & Destructor Documentation
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P , typename Debug_P >
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P , typename Debug_P >
Member Function Documentation
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P , typename Debug_P >
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
void wiselib::DYMORouting< OsModel_P, RoutingTable_P, Radio_P, Debug_P >::destruct |
( |
void |
| ) |
[inline] |
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P , typename Debug_P >
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P , typename Debug_P >
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P , typename Debug_P >
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P , typename Debug_P >
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P , typename Debug_P >
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P , typename Debug_P >
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P , typename Debug_P >
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P , typename Debug_P >
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P , typename Debug_P >
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P , typename Debug_P >
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P , typename Debug_P >
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P , typename Debug_P >
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P , typename Debug_P >
template<typename OsModel_P , typename RoutingTable_P , typename Radio_P , typename Debug_P >
void wiselib::DYMORouting< OsModel_P, RoutingTable_P, Radio_P, Debug_P >::timer_elapsed |
( |
void * |
userdata | ) |
|
The documentation for this class was generated from the following file: