#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 65 of file dsragent.cc. |
|
||||||||||||
|
Definition at line 280 of file dsragent.cc. References Entry::last_rt_req, Entry::rt_reqs_outstanding, rt_rq_max_period, rt_rq_period, and Time. Referenced by DSRAgent::getRouteForPacket().
00283 {
00284 Time next = ((Time) (0x1 << (e->rt_reqs_outstanding * 2))) * rt_rq_period;
00285
00286 if (next > rt_rq_max_period)
00287 next = rt_rq_max_period;
00288
00289 if (next + e->last_rt_req > time)
00290 return false;
00291
00292 // don't let rt_reqs_outstanding overflow next on the LogicalShiftsLeft's
00293 if (e->rt_reqs_outstanding < 15)
00294 e->rt_reqs_outstanding++;
00295
00296 e->last_rt_req = time;
00297
00298 return true;
00299 }
|
|
||||||||||||||||
|
Definition at line 2107 of file dsragent.cc. References GratReplyHoldDown::p. Referenced by DSRAgent::sendRouteShortening().
|
|
||||||||||||
|
Definition at line 2748 of file dsragent.cc. References agent.
|
|
||||||||||||
|
Definition at line 2755 of file dsragent.cc. References agent.
|
|
|
Definition at line 100 of file dsragent.cc. Referenced by DSRAgent::acceptRouteReply(), and DSRAgent::getRouteForPacket(). |
|
|
|
|
|
Definition at line 91 of file dsragent.cc. Referenced by DSRAgent::handleFlowForwarding(), and DSRAgent::sendOutPacketWithRoute(). |
|
|
Definition at line 81 of file dsragent.cc. Referenced by DSRAgent::getRouteForPacket(). |
|
|
Definition at line 71 of file dsragent.cc. Referenced by DSRAgent::undeliverablePkt(). |
|
|
Definition at line 76 of file dsragent.cc. Referenced by DSRAgent::getRouteForPacket(), and DSRAgent::undeliverablePkt(). |
|
|
Definition at line 1908 of file dsragent.cc. Referenced by DSRAgent::tap(). |
|
|
Definition at line 1909 of file dsragent.cc. Referenced by DSRAgent::tap(). |
|
|
Definition at line 89 of file dsragent.cc. Referenced by DSRAgent::handleFlowForwarding(), and DSRAgent::sendOutPacketWithRoute(). |
|
|
Definition at line 149 of file dsragent.cc. Referenced by DSRAgent::command(), and DSRAgent::undeliverablePkt(). |
|
|
Definition at line 86 of file dsragent.cc. Referenced by DSRAgent::sendOutPacketWithRoute(). |
|
|
Definition at line 87 of file dsragent.cc. Referenced by DSRAgent::sendOutPacketWithRoute(). |
|
|
Definition at line 88 of file dsragent.cc. Referenced by DSRAgent::sendOutPacketWithRoute(). |
|
|
Definition at line 127 of file dsragent.cc. Referenced by DSRAgent::command(), and DSRAgent::sendOutRtReq(). |
|
|
Definition at line 138 of file dsragent.cc. Referenced by DSRAgent::command(), and DSRAgent::handleRouteRequest(). |
|
|
Definition at line 125 of file dsragent.cc. Referenced by DSRAgent::handlePacketReceipt(). |
|
|
Definition at line 154 of file dsragent.cc. Referenced by DSRAgent::undeliverablePkt(). |
|
|
Definition at line 141 of file dsragent.cc. Referenced by DSRAgent::command(), and DSRAgent::getRouteForPacket(). |
|
|
Definition at line 133 of file dsragent.cc. Referenced by DSRAgent::command(), and DSRAgent::undeliverablePkt(). |
|
|
Definition at line 131 of file dsragent.cc. Referenced by DSRAgent::command(), and DSRAgent::sendRouteShortening(). |
|
|
Definition at line 121 of file dsragent.cc. Referenced by DSRAgent::command(), and DSRAgent::recv(). |
|
|
Definition at line 123 of file dsragent.cc. Referenced by DSRAgent::command(), DSRAgent::handleForwarding(), and DSRAgent::tap(). |
|
|
Definition at line 136 of file dsragent.cc. Referenced by DSRAgent::command(), and DSRAgent::tap(). |
|
|
Definition at line 111 of file dsragent.cc. Referenced by DSRAgent::sendRouteShortening(). |
|
|
Definition at line 114 of file dsragent.cc. Referenced by DSRAgent::sendOutRtReq(). |
|
|
Definition at line 90 of file dsragent.cc. Referenced by DSRAgent::sendOutPacketWithRoute(). |
|
|
Definition at line 102 of file dsragent.cc. Referenced by BackOffTest(). |
|
|
Definition at line 101 of file dsragent.cc. Referenced by BackOffTest(), RequestTable::getEntry(), and RequestTable::insert(). |
|
|
|
|
Definition at line 96 of file dsragent.cc. Referenced by DSRAgent::undeliverablePkt(). |
1.3.3