[ns] in dsr.code how to find the neighbor.........

2006-05-06 Thread samanasrikanth samana
I need to find who is the neighbor node which forward a packet p. more specifically i need to find this information in the function recv(Packet *packet,Handler *handler) of dsragent.cc in dsr protocol.. If anyone know how to find please help i need this information

[ns] i m hitting segmenatation fault ...when i using getloc() funtion........

2006-05-03 Thread samanasrikanth samana
hi ns users. i m working on new routing protocol and i need to get the location of other node...when i condition is satisfied. so i could do tht using .the folllowing code. . ... Node* thisNode =

[ns] help needed in the implementation of power aware routing protocol......

2006-04-28 Thread samanasrikanth samana
Hi all I am working on a power aware routing protocol. The present energy model in the NS2 is not power-awareDo anyone know how to implement the energy model which is power aware.? Any help is appreciated, Srikanth

Re: [ns] How to measure energy consumption of wireless nodes

2006-03-28 Thread samanasrikanth samana
hi heo I m assuming that you might have simulated few tcl scripts. So in wireless tcl srcipts .. you will find node-config option so in that enable the option -movementTrace ON So when u run the script. It will generate some entries after every 10 sec, about all the nodes