[ns] Neighbor table - count of number of entries

2013-06-26 Thread Vimala Jose

Hi everyone,
  As a part of my project, I have made two more entries named Flag 1 and
Flag 2 in the existing neighbor table in aodv. Whenever a node X receive a
request from node Y, Flag 1 corresponding to  will get set as 1. I want
to calculate the total number of entries in the neighbor table
corresponding to node Y, and the number of 0's set fo the flag of Y out of
the total number of entries. How can I access/ do this from the existing
neighbor table?  Anyone who knows about this please help me. It was really
urgent for my project.
Thanks in advance

Regards,
  Sony


[ns] help-neighbor table

2013-06-06 Thread Vimala Jose

Hi everyone,
  I am trying to implement detection of RREQ packet dropper. For that, I
need to store all the neighbors of each node in the network. I have found
that we got a neighbor table already in AODV. I am able to print it. But
what I want is, to store that table along with a new field in it called
FLAG . Whenever a node 'A' receives a route request or RREP from a node
'B', B must update in its neighbor table , the flag corresponding to 'A' as
1. For this, how can I retrieve from the existing neighbor table and how
can I add a new field to that neighbor table. If anyone knows about this,
please help me. It was really urgent for my project.


Regards,
  Sony


[ns] Help-Neighbor table

2013-06-06 Thread Vimala Jose

Hi,

I am trying to implement detection of RREQ packet dropper. For that, I need
to store all the neighbors of each node in the network.  I have found that
we got a neighbor table already in AODV. I am able to print it. But what I
want is, to store that table along with a new field in it called FLAG .
Whenever a node 'A' receives a route request or RREP from a node 'B', B
must update in its neighbor table , the flag corresponding to 'A' as 1.
For this, how can I invoke the existing neighbor table  at recvRequest()
function in AODV and how can I add a new field to that neighbor table. If
you have any suggestion about this, please help me. It was really urgent
for my project.


Regards,
  Sony


[ns] Fwd: help

2013-05-30 Thread Vimala Jose

Hi all,
I had posted one query in ns2 mailing list last day. But it was not
published in the list. I don't know why. I am posting it again here.
I am doing my final year M.Tech in CSE. As a part of my project, I have to
maintain the list of all neighbors for all nodes in the network. I tried by
printing the node in the recvHello() of AODV protocol. But it just prints
the current node and its neighbor id. What exactly I want is each node
should maintain all its neighbors list with it and I have to get it
printed.  I am attaching the code portion where I have made change.Could
you please check if it is possible to declare a two dimensional array as I
have given here? I have tried my level best. Can someone help me out with
this? It was really urgent for my project.

 Thanks in advance


[ns] how to make a node start overhearing others after writing code for promiscous mode in AODV

2012-12-01 Thread Vimala Jose

I'm new to NS2 and I have to implement selfish node detection scheme
using acknowledgements in AODV protocol. For this purpose I have
changed aodv.cc and written the code for promiscous mode as per i have
viewed in mailing list. But I don't know how to make use of that mode.
I'm attaching my aodv.cc file along with this n which I have made some
changes.  Can anyone help me regarding how can a node start to listen
for other nodes. Thanking you in advance.


[ns] Finding ack's in AODV

2012-11-30 Thread Vimala Jose

I am implementing Detecting misbehaving nodes in MANET using NS2 in AODV
protocol. How can we know whether the destination node is sending
acknowledgement or not? I coudn't find any functions regarding that in
aodv.cc.