#include <stdarg.h>
#include <float.h>
#include "dsdv.h"
#include "priqueue.h"
#include <random.h>
#include <cmu-trace.h>
#include <address.h>
#include <mobilenode.h>
Include dependency graph for dsdv.cc:

Go to the source code of this file.
Data Structures | |
| class | DSDVClass |
| class | DSDVTriggerHandler |
Defines | |
| #define | DSDV_ALMOST_NOW 0.1 |
| #define | DSDV_BROADCAST_JITTER 0.01 |
| #define | DSDV_MIN_TUP_PERIOD 1.0 |
| #define | DSDV_STARTUP_JITTER 2.0 |
| #define | IP_DEF_TTL 32 |
Functions | |
| static double | jitter (double max, int be_random_) |
| static void | mac_callback (Packet *p, void *arg) |
Variables | |
| DSDVClass | class_dsdv |
|
|
|
|
|
Definition at line 59 of file dsdv.cc. Referenced by DSDVTriggerHandler::handle(), DSDV_Agent::helper_callback(), and DSDV_Agent::sendOutBCastPkt(). |
|
|
Definition at line 60 of file dsdv.cc. Referenced by DSDVTriggerHandler::handle(). |
|
|
Definition at line 54 of file dsdv.cc. Referenced by DSDV_Agent::startUp(). |
|
|
|
|
||||||||||||
|
Definition at line 71 of file dsdv.cc. References Random::uniform(). Referenced by DSDVTriggerHandler::handle(), DSDV_Agent::helper_callback(), MacSimple::send(), DSDV_Agent::sendOutBCastPkt(), and DSDV_Agent::startUp(). 00072 { 00073 return (be_random_ ? Random::uniform(max) : 0); 00074 }
Here is the call graph for this function: ![]() |
|
||||||||||||
|
Definition at line 416 of file dsdv.cc. Referenced by DSDV_Agent::forwardPacket(). 00417 { 00418 ((DSDV_Agent *) arg)->lost_link (p); 00419 }
|
|
|
|
1.4.6