hello mechanism isn't active by default. because of the following
sentences in aodv.cc file.
#ifndef AODV_LINK_LAYER_DETECTION
htimer.handle((Event*) 0);
ntimer.handle((Event*) 0);
#endif
Guzin ULUTAS (CEng)
>>
>
> Hi,
> Sombody can tell me if hello messages mechanism is active in
No, line is already included in your script, no need to do anything else.
>
> Hi
> Is it necessary to create an AODV agent and attach it to every node if the
> following line is already included in the script?
> set val(rp)AODV;# routing protocol
>
Hi Robin
Aodv writes trace file via following function that is located in the
cmu-trace.cc file.
void CMUTrace::format_aodv(Packet *p, int offset)
have a good day
Guzin Ulutas (CEng)
>
> Hi altogether,
>
> i have a "minor" problem which evolves to a bigger problem for me.
> I need to write a l
you can learn it from the trace file after completion of your
simulation. you can search the field whose value is RTR and node ID is
what you want with some shell programming experiment.
>
>
> Hi all,
>I my project i want to trace/count the no of pkts etc. I am working
> with wireless ad
you can change AODV packet header (RREQUEST,RREPLY,RERROR) with yours. Or
you can add some extra fields in this packet headers. All the headers
using by the AODV are defined in the aodv_packet.h file. For example in
the following code, "temp" field is added by me.
Guzin ULUTAS (CEng)
struct hdr_
it indicates agent level. For example the trace file that is the output of
a wireless scenario using AODV routing protocol. The agent level
represents the layer that implements AODV routing protocol.
>
>
> Hello all...
>
> Just I woulk like to ask what does the AGT in the output trace file
> indic
Hi Choong,
You did what I am thinking. But I don't understand why the results are
the same with your former experiments. I think about this topic, and I
can find anything else, I inform you.
What do you mean with "round" ? you can explain more clear, maybe I
can help.
Best Rega
Hi Choong, handle function for sending hello messages in aodv.cc define
a variable "interval". "Interval" variable determine the duration
between the hello messages. And is calculated as follows:
double interval = MinHelloInterval + ((MaxHelloInterval -
MinHelloInterval) * Random::uniform()
Hi Gabriel,
I send you some explanations about "local repair" from rfc 3561.
localrepairtimer function that is called from rt_ll_failed function is
for local repair as explained below.
/*_*/
6.12. Local Repair
When a link break in an active route o
Hi,
Function call chain for the localrepairtimer function is as follows:
rt_resolve --> aodv_rt_failed_callback --> rt_ll_failed -->
local_rt_repair --> and so localrepairtimer
the head of the chain is rt_resolve. In this function,
ch->xmit_failure_ = aodv_rt_failed_callback;
Hi,
Answer 1:
The delay function between broadcast packet is coded in a couple of
places as follows
// put the periodic update sending callback back onto the
// the scheduler queue for next time
s.schedule (helper_, periodic_callback_,
perup_ * (0.75 +
Hi,
You can access this function (recv as you say) via command function.
Command function in your c++ code serves as an interface between tcl
code and c++ code. All you need is adding some peace of code that
controls wihch arguments passed by the tcl interpreter. Like that:
int MyAgent::
Hi Jeevesh,
Do you try changing this value from tcl script? if you try, timing for
the message packets are changing?
Hi, the command function of classes is used if you want to use member
functions of your C++ class from your tcl code. For example your
member function name is deneme and your class name is DenemeAgent, you
can call this function from your tcl code via command function.
"deneme" function hasn't
Hi,
ns uses two programming languages. One for high level programming
(otcl), another for low level programming (c++). Code that implements
a routing protocol, an application protcol, a queue algorithm etc. is
written in C++ because of such things require a system programming
language whic
Hi Asma,
You must write your own command function in your c++ code.For
Example, your class name is MyAgent and then it must contain a member
function called by "command" . Via this function, you can call
functions that are defined in your class (MyAgent). This function
provides you contr
Hi Jeevesh,
Actually DSDV doesn't have the all the neighbours's routing table with
it, at the time of calculation of shortest path. it has got only
necessary information gathered by the neighbor nodes during triggered
and periodic update.
It gets the routing update packet from its neighb
Hi Jeevesh,
DSDV stores the Routing table for each node that is modified by the
information received by the node's neighbor nodes. "rtable.h" file
contains "class RoutingTable" and rtable.cc stores each entry, contains
information about the current node's neighbors, into rtable_ent *rtab
18 matches
Mail list logo