[ns] "Check_pktCTRL: Invalid MAC Control subtype".

2006-03-03 Thread Subashini S
Hi, I have written a routing algorithm (modification of AODV). when i run the program, i get the error as "Check_pktCTRL: Invalid MAC Control subtype". Where could be the possible location of the error?. I checked the packet formats of send routines, they are fine. I actually included the H

[ns] Table to keep minimum number of hops - fixed or variable?

2006-03-03 Thread Sasan Sahraei
Hi, According to the NS-2 manual: "Currently, God object stores the total number of mobilenodes and a table of shortest number of hops required to reach from one node to another." My question is, Is this subject to time? or the minimum number of hops is fixed within the table? To my opinion, it

Re: [ns] number of hops ???????

2006-03-03 Thread Sasan
1. new-trace should be called prior to trace-all in the script (Is this ns-2.29?) 2. -Pf is logged only when you use CBR 3. you can also use create-god instance and call its methods to retrieve the number of hops - BUT the number that this instance is returning, is the number that is calculated by

[ns] number of hops ???????

2006-03-03 Thread hamdi benmessaoud
hi ALL , I want to calculate the number of hops in my network I get 3 replies from ns-users so I tried these 3 possibilities : 1)is to use $ns_ new-trace and after I use the parmaeter Pf whitch calculate the number of hops but when i add in my script $ns_ new-trace I get a lot of error

[ns] delete $self

2006-03-03 Thread Adrian Sai-wah Tam
In those objects like Agent/TCP, we can implement the "done" function so that it is called whenever it is stopped. However, if I call "delete $self" in the done function, it shows some error message such as "pure virtual method called" or "Wrong number of wnd_init_option_ 1065646817". So, if I wa

[ns] Simulating grids with NS-2

2006-03-03 Thread tchepnda
Dear all, I'm currently leadind a project on wireless grids and i'm wondering if there is somewhere in the community, an ns-2 extension for grids applications. I would greatly appreciate your view about the availability of that feature with ns-2 or any other packet level simulation tool. Thanks.

[ns] need urgent help: how to add reputation to a neighbor (fwd)

2006-03-03 Thread Jiangyi Hu
Hi, I am new to NS and have no experience with tcl. I am trying to make some changes. It works as follows: 1. For each node, there is a reputation table which associate a reputation value for each of its neighbors. I can add a variable "int reputation" to the structure "neighbor_list_node" in

Re: [ns] RED parameters

2006-03-03 Thread Soo-Hyun Choi
You can set 1/max_p using linterm_ variable in ns-default.tcl. And I think you should read http://www.icir.org/floyd/REDparameters.txt before you conduct an RED experiment. SH On 3/3/06, #LIM XIAOWEI# <[EMAIL PROTECTED]> wrote: > > > Hi Soo-Hyun! > > Thanks! > However in my ns-default.tcl, i do

Re: [ns] RED queue

2006-03-03 Thread Soo-Hyun Choi
Yes, there is a possibility that RED queue will drop a packet depending upon max_p, minth, and maxth. I would suggest you to read RED paper that Sally wrote. http://www.icir.org/floyd/papers/red/red.html SH On 3/3/06, #LIM XIAOWEI# <[EMAIL PROTECTED]> wrote: > > Hi! > > Without an error model,

[ns] R: propagation model

2006-03-03 Thread Marco Fiore
Comments are inline. Regards, Marco Fiore >Messaggio originale >Da: [EMAIL PROTECTED] >Data: 3-mar-2006 2.52 AM >A: >Ogg: [ns] propagation model > > >All, > >Is it possible to support multiple propagation model? as far as I know, no. > is this a good >design choice as if the d bec

[ns] ZIGBEE Routing

2006-03-03 Thread juan manuel gomez garcia
Hello, I need the ns2 code of zigbee rountig protocol for my final proyect. Somebody knows any web page?. _ Descarga gratis la Barra de Herramientas de MSN http://www.msn.es/usuario/busqueda/barra?XAPID=2031&DI=1055&SU=http%3A//www

[ns] How to set the parameter on ONS-ns

2006-03-03 Thread Ekularn Dhavarudha
Dear all, I am using OBS Simulator on ns-allinone-2.28 and I don't know how to configure the parameter Classifier/BaseClassifier nfdl, Classifier/BaseClassifier maxfdls, and Classifier/BaseClassifier option. What are different between the nfdl and maxfdls, and what are the relat

Re: [ns] who to built tcl for adijkstra alg.

2006-03-03 Thread alaeddine abdallah
Hello mohd, first of all, your question is not clear, what do you mean by "built adijkstra tcl"? If I understand, you want to write the Dijkstra algorithm in a tcl program! see Link State routing protocol (rtProtoLS), and exactly the procedure Compute-routes, this method is the routing algorith

[ns] who to write new tcl code

2006-03-03 Thread mohd hammad
dear ns users I have my code in c++ and need to implemeted it in NS2 but i know i must write tcl script who can i do it as quickly i dont know very well tcl pls best regards __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protecti

[ns] RED queue

2006-03-03 Thread #LIM XIAOWEI#
Hi! Without an error model, would there still be dropping of packets my RED parameters are set as minth threshold 5 max threshold 15 q_weight 0.002 maxp 0.1 markp 0.5 Thanks! zoe

[ns] How to calculate the distance at run time in C++ code.

2006-03-03 Thread jeevesh sharma
HI friends, Can any one tell me how to use the functions defined in the God.h which is located in the mobile directory. I want to use void IsNeighbor(int i, int j); function in my code. I can modify this function to calculate the distance between the two node. O

Re: [ns] reading trace files

2006-03-03 Thread Emanuele Vecchio
On Thu, 2 Mar 2006 21:13:51 -0800, Nauman Afzal wrote > I just sucessfully ran wireless.tcl file but am finding it > difficult to read trace files. I mean when I open wireleee.tr the > info is kind of cryptic. What do these different fields denote? Any > ideas how to read it? Thanks in adva