#include <assert.h>
#include <math.h>
#include <stdio.h>
#include <signal.h>
#include <float.h>
#include <object.h>
#include <agent.h>
#include <trace.h>
#include <packet.h>
#include <scheduler.h>
#include <random.h>
#include <mac.h>
#include <ll.h>
#include <cmu-trace.h>
#include "path.h"
#include "srpacket.h"
#include "routecache.h"
#include "requesttable.h"
#include "dsragent.h"
Include dependency graph for dsragent.cc:

Go to the source code of this file.
|
|
Definition at line 90 of file dsragent.cc. Referenced by DSRAgent::getRouteForPacket(). |
|
||||||||||||
|
Definition at line 306 of file dsragent.cc. References Entry::last_rt_req, Entry::rt_reqs_outstanding, rt_rq_max_period, and rt_rq_period. Referenced by DSRAgent::getRouteForPacket(). 00309 { 00310 Time next = ((Time) (0x1 << (e->rt_reqs_outstanding * 2))) * rt_rq_period; 00311 00312 if (next > rt_rq_max_period) 00313 next = rt_rq_max_period; 00314 00315 if (next + e->last_rt_req > time) 00316 return false; 00317 00318 // don't let rt_reqs_outstanding overflow next on the LogicalShiftsLeft's 00319 if (e->rt_reqs_outstanding < 15) 00320 e->rt_reqs_outstanding++; 00321 00322 e->last_rt_req = time; 00323 00324 return true; 00325 }
|
|
||||||||||||||||
|
Definition at line 2148 of file dsragent.cc. Referenced by DSRAgent::sendRouteShortening(). 02149 { 02150 int c; 02151 for (c = 0; c < sz; c++) 02152 if (query == hd[c].p) return &hd[c]; 02153 return NULL; 02154 }
|
|
||||||||||||
|
Definition at line 2789 of file dsragent.cc. References agent. 02790 { 02791 DSRAgent *agent = (DSRAgent *)data; // cast of trust 02792 agent->xmitFailed(pkt); 02793 }
|
|
||||||||||||
|
Definition at line 2796 of file dsragent.cc. References agent.
|
|
|
Definition at line 125 of file dsragent.cc. Referenced by DSRAgent::getRouteForPacket(). |
|
|
|
|
|
Definition at line 116 of file dsragent.cc. |
|
|
Definition at line 106 of file dsragent.cc. Referenced by DSRAgent::getRouteForPacket(). |
|
|
Definition at line 96 of file dsragent.cc. Referenced by DSRAgent::undeliverablePkt(). |
|
|
Definition at line 101 of file dsragent.cc. Referenced by DSRAgent::getRouteForPacket(). |
|
|
Definition at line 1949 of file dsragent.cc. |
|
|
Definition at line 1950 of file dsragent.cc. |
|
|
Definition at line 114 of file dsragent.cc. |
|
|
Definition at line 175 of file dsragent.cc. Referenced by DSRAgent::command(). |
|
|
Definition at line 111 of file dsragent.cc. |
|
|
Definition at line 112 of file dsragent.cc. |
|
|
Definition at line 113 of file dsragent.cc. |
|
|
Definition at line 153 of file dsragent.cc. Referenced by DSRAgent::command(), and DSRAgent::sendOutRtReq(). |
|
|
Definition at line 164 of file dsragent.cc. Referenced by DSRAgent::command(). |
|
|
Definition at line 151 of file dsragent.cc. |
|
|
Definition at line 180 of file dsragent.cc. |
|
|
Definition at line 167 of file dsragent.cc. Referenced by DSRAgent::command(), and DSRAgent::getRouteForPacket(). |
|
|
Definition at line 159 of file dsragent.cc. Referenced by DSRAgent::command(), and DSRAgent::undeliverablePkt(). |
|
|
Definition at line 157 of file dsragent.cc. Referenced by DSRAgent::command(), and DSRAgent::sendRouteShortening(). |
|
|
Definition at line 147 of file dsragent.cc. Referenced by DSRAgent::command(). |
|
|
Definition at line 149 of file dsragent.cc. Referenced by DSRAgent::command(). |
|
|
Definition at line 162 of file dsragent.cc. Referenced by DSRAgent::command(), and DSRAgent::tap(). |
|
|
Definition at line 137 of file dsragent.cc. Referenced by DSRAgent::sendRouteShortening(). |
|
|
Definition at line 140 of file dsragent.cc. Referenced by DSRAgent::sendOutRtReq(). |
|
|
Definition at line 115 of file dsragent.cc. |
|
|
Definition at line 127 of file dsragent.cc. Referenced by BackOffTest(), and DSRAgent::command(). |
|
|
Definition at line 126 of file dsragent.cc. Referenced by BackOffTest(), DSRAgent::command(), RequestTable::getEntry(), and RequestTable::insert(). |
|
|
Definition at line 128 of file dsragent.cc. Referenced by DSRAgent::command(), and DSRAgent::sendBufferCheck(). |
|
|
Definition at line 119 of file dsragent.cc. |
|
|
Definition at line 120 of file dsragent.cc. |
|
|
Definition at line 121 of file dsragent.cc. |
1.4.6