[ns] source address

2011-10-13 Thread ziralda
please i want to access to the source address of a packet in AODV protocol, i find the source address in IP header and RREQ message, what's the difference between: ih-saddr() and rq-rq_src and which one i must use thanks so much for your help -- View this message in context:

Re: [ns] source address

2011-10-13 Thread ziralda
a help please ziralda wrote: please i want to access to the source address of a packet in AODV protocol, i find the source address in IP header and RREQ message, what's the difference between: ih-saddr() and rq-rq_src and which one i must use thanks so much for your help -- View

[ns] save a copy of AODV

2011-10-13 Thread ziralda
hello i want to do a modification in source code of AODV protocol, but i want also to save a copy of this protocol before making any modification, in the case of mishandling, i can get it do i copy the file of source code in the same place of AODV protocol, and rename it, and do the necessary

[ns] save a copy of AODV

2011-10-13 Thread ziralda
hello i want to do a modification in source code of AODV protocol, but i want also to save a copy of this protocol before making any modification, in the case of mishandling, i can get it do i copy the file of source code in the same place of AODV protocol, and rename it, and do the necessary

[ns] add a neighbor AODV

2011-10-13 Thread ziralda
please what's the difference between: addNeighbor in Node class (file node.cc), and void nb_insert (nsaddr_t id) in AODV protocol thanks so much -- View this message in context: http://old.nabble.com/add-a-neighbor-AODV-tp32645375p32645375.html Sent from the ns-users mailing list archive at

Re: [ns] Error in installing ns-allinone-2.34

2011-10-13 Thread ziralda
wich type of error Ishan Nigam wrote: The entire installation seems to work fine. The terminal displays that the software was installed successfully and provides notices to set environment variables for LD_LIBRARY_PATH and TCL_LIBRARY. I added these to the .bashrc file. However, on

[ns] add a reputation value to a neighbor node

2011-10-13 Thread ziralda
hello i want to add to each neighbor of a node a reputation value, please how can i implement this thanks in advance -- View this message in context: http://old.nabble.com/add-a-reputation-value-to-a-neighbor-node-tp32648860p32648860.html Sent from the ns-users mailing list archive at

[ns] IP header

2011-10-21 Thread ziralda
hello all AB---C---D source destination in AODV protocol, A wants to send a RREQ to D, Because D is not in the communication range of A, so he chooses B as forwarding node. B chooses C and so on.

[ns] set of neighbor

2011-11-02 Thread ziralda
please i want to know the role of nbhead in AODV protocol, and if i can use it to get the set of neighbors of each node, else please how can i get the set of neighbors of each node I really need it thank you so much for your help -- View this message in context:

Re: [ns] AODV protocol

2011-11-04 Thread ziralda
a help please ziralda wrote: please in AODV protocol, the function nb_lookup(nsaddr_t) is used to lookup neighbor but by address, it check in the list of neighbor and return true if the node id is a neighbor and false else, also nb_insert() to insert a new neighbor in the list

[ns] error in my script tcl

2011-11-11 Thread ziralda
please i need your help when i excute my script i have this error :Scheduler: Event UID not valid! and i can't find the error i use the same exmple of Marc Greis's Tutorial http://www.isi.edu/nsnam/ns/tutorial/nsscript5.html , i have changed nothing, please i want to know where is the problem,

[ns] add a new time in NS2

2011-11-15 Thread ziralda
hello please i nead your help how and where can i define a new time in NS2, i mean a variable in wich i put a time, and when the time finishes, i do what in the loop like this: while (time!=0){ } // i will insert this code in aodv.cc many thanks for your help thanks for your precious

[ns] time in NS2

2011-11-15 Thread ziralda
hello all help me please about this problem I have declared in aodv.h a variable response_time like this: #define response_time 10; but how can i specify to the simulator that it means 10 secondes and not 10 ms thank you in advance -- View this message in context:

[ns] two routing protocol in the same script

2011-11-24 Thread ziralda
hello please i need your help i copied the folder of AODV protocol an rename it in ns-2.34 to implement the blackhole attack, i want to use the same packet of AODV protocol, i changed all necessary classes, structurs and variables, also i have changed the following files : ns-lib.tcl,

[ns] two routing protocol in the same script

2011-11-24 Thread ziralda
hello please i need your help i copied the folder of AODV protocol an rename it in ns-2.34 to implement the blackhole attack, i want to use the same packet of AODV protocol, i changed all necessary classes, structurs and variables, also i have changed the following files : ns-lib.tcl,

[ns] two routing protocol in the same script

2011-11-24 Thread ziralda
hello please i need your help i copied the folder of AODV protocol an rename it in ns-2.34 to implement the blackhole attack, i want to use the same packet of AODV protocol, i changed all necessary classes, structurs and variables, also i have changed the following files : ns-lib.tcl,

[ns] two routing protocol in the same script

2011-11-24 Thread ziralda
hello please i need your help i copied the folder of AODV protocol an rename it in ns-2.34 to implement the blackhole attack, i want to use the same packet of AODV protocol, i changed all necessary classes, structurs and variables, also i have changed the following files : ns-lib.tcl,

[ns] two routing protocol in the same script

2011-11-24 Thread ziralda
hello please i need your help i copied the folder of AODV protocol an rename it in ns-2.34 to implement the blackhole attack, i want to use the same packet of AODV protocol, i changed all necessary classes, structurs and variables, also i have changed the following files : ns-lib.tcl,

[ns] two routing protocol in the same script

2011-11-24 Thread ziralda
hello please i need your help i copied the folder of AODV protocol an rename it in ns-2.34 to implement the blackhole attack, i want to use the same packet of AODV protocol, i changed all necessary classes, structurs and variables, also i have changed the following files : ns-lib.tcl,

Re: [ns] Erro in ns on inroduction o new protocol

2011-11-26 Thread ziralda
hello please if u have resolved the problem, tell me how u have done thanks in advance research simulate wrote: I am trying to run blackhole attack ( from dokurer.net) steps taken by me: 1. Installed ns2.29 on red hat linux 2. copied blackholeaodv in ns2.29 directory 3. changed

[ns] new field

2012-01-18 Thread ziralda
hello please, i have added a new field in RREP packet (AODV), and it can get two values 0 and 1, please i want to initialize it to 0, where can i do this many thanks in advance -- View this message in context: http://old.nabble.com/new-field-tp33161102p33161102.html Sent from the ns-users

[ns] the address of sending RREP

2012-01-19 Thread ziralda
hello ns-users Please when a node X send a RREP to node Y, in the recvReply function, how can i recuperate the address of the node sending RREP please answer me i really need it Many thanks in advance -- View this message in context:

[ns] problem with NS during execution

2012-01-23 Thread ziralda
hello all i have a really problem with my NS it doesn't take into account any change, even after execute make clean and make but when i execute the third instruction sudo make clean, it take change into account i use NS with ecplise in linux, at first i have any problem, but now without ( sudo

[ns] vector in NS

2012-01-25 Thread ziralda
hello all please i want to know why when i use vector in NS, i get error in god.h and god.cc what i must do to resolve the issue, please it's urgent -- View this message in context: http://old.nabble.com/vector-in-NS-tp33204186p33204186.html Sent from the ns-users mailing list archive at

Re: [ns] vector in NS

2012-01-26 Thread ziralda
a help please ziralda wrote: hello all please i want to know why when i use vector in NS, i get error in god.h and god.cc what i must do to resolve the issue, please it's urgent -- View this message in context: http://old.nabble.com/vector-in-NS-tp33204186p33207259.html Sent from

[ns] address in AODV

2012-02-01 Thread ziralda
hello in AODV, rt_resolve is called when a source node want to send a data to a destination node, or an intermediaire node receive a data packet and forward it to the next hop please how can i know if the node who calls rt_resolve is the source node or intermediaire node, and how can i get the

[ns] gnuplot

2012-02-08 Thread ziralda
hello all please it's the first one i use gnuplot to plot a graph of packet delivery ratio, i have used this script awk, i have executed awk -f file.awk file.trfile.txt, but when i open it, i find nothing please could u guide me, thanks in advance BEGIN { sends=0; recvs=0; } { # CALCULATE