[ns] how can i print the policer table in FTP sources?

2006-03-31 Thread karthik karthik
dear all, I am doing the project in Network simulator.In that I am doing in differentiated services.I wrote the pogram in OTCL.But the problem is i cannot print the policer table Output in ftp sources where as i can print it in UDP sources.but my aim is to print in

Re: [ns] is address_ the routing address of a node?

2006-03-31 Thread Pedro Vale Estrela
This is definitely not a simple/good idea. Each node is represented by multiple addresses, see http://tagus.inesc-id.pt/~pestrela/ns2/ns2_haddr_tips.html, so you must make sure that everything is updated And most NS2 components probably were designed for constant addresses. I suggest you try

Re: [ns] Two questions - Node id and path optimality calculation

2006-03-31 Thread Pedro Vale Estrela
Its probably due to this code in common/packet.h packet.h- abort(); packet.h- } packet.h- init(p); // Initialize bits_[] packet.h: (HDR_CMN(p))-next_hop_ = -2; // -1 reserved forIP_BROADCAST packet.h: (HDR_CMN(p))-last_hop_ = -2; // -1 reserved

Re: [ns] Newbie questions on wpan demo

2006-03-31 Thread Bruce Who
Hi, Stan: I read the slides distributed with the wpan modules, but I can only find some descriptions for the commands and cannot find answers to my questions. I'll look for papers and may get the answer to the question no.2, but I don't think I can find any clues to the others. I read

[ns] Does ns2 support simultaneous processing ?

2006-03-31 Thread Saurabh Sinha
Hi I just wanted to know that whether ns2 supports threads or not? Like can more that 2 two stations transmit at the same time It will of gr8 help if some one can post a suggestion -- Saurabh Sinha Department of Computer Science, University of Delhi.

Re: [ns] Newbie questions on wpan demo

2006-03-31 Thread Ahmad Khayyat
2) assoPermit means whether the node should permit other nodes to associate with it so that it becomes their coordinator. Look at the 802.15.4-2003 standard for details. 5) This is not how LossModel is used. Consult ns-manual for the correct usage. It still applies for wpan. Bruce Who wrote:

[ns] Help on mysnoop.tcl

2006-03-31 Thread Tuhin Kanti Sharma
I need to analyse snoop on 802.11 mac. I hav tried many options but I guess the snoop implemented dsn't support 802.11. If there is a way to analyse snoop implemented on 802.11, please let me know. I'll b really obliged. Tuhin Kanti Sharma, India

Re: [ns] Trace file

2006-03-31 Thread Marco Fiore
Sara, the simplest way is probably to post-process your tracefile using awk or perl. Modifying the C++ code which generates the tracefile could be very time-consuming, as it is spread among all the implemented agents... Using awk or perl on the ns-2 tracefile you can print only some

Re: [ns] Help needed on RSVP !

2006-03-31 Thread Gilles Bertrand
Hi Deepti, you may find the following paper useful: /RSVP/ns: An Implementation of RSVP for the Network Simulator ns-2/ - Marc Greis - http://www.sti.uniurb.it/acquaviva/didattica/rsvpns.pdf The adaptations of this RSVP\ns to recent version of NS (=2.26) are provided on R. Prior's web page:

[ns] problem with set DISPLAY enviroment

2006-03-31 Thread Anhs Mai The
Thank you all, my problem, - When I execute the example file with: ./nam nam-example.tcl, the following message appeared: nam: no display nam and no $DISPLAY environment variable Solution, To set the DISPLAY enviroment - at shell by cygwin, type startx - export DISPLAY = :0.0 and it worked. Anh

Re: [ns] error reading file cbr-3-test

2006-03-31 Thread amrutha ravichandran
Hi, Hey i was also getting the same error.. U can try giving the entire path of the file or u can manually include the code in that file in your tcl code.. All the best, Bye.

Re: [ns] Does ns2 support simultaneous processing

2006-03-31 Thread amrutha ravichandran
Hi, I have actually tried to make one node transmit ftp traffic to different destination nodes at the same time.. something like the following set tcp1 [new Agent/TCP] set tcp2 [new Agent/TCP] set tcp3 [new Agent/TCP] #$tcp1 set class_ 2 set sink1 [new Agent/TCPSink] set sink2 [new

Re: [ns] [Ns-developers] Routing Protocol Implementation

2006-03-31 Thread Tom Henderson
Telis Papadopoulos wrote: Hi all, ...quoting from the ns_doc: class Agent/rtProto: this is the base class from which all routing protocol agents are derived... However, looking at the code of Distance Vector protocol, the respective agent is derived directly from the 'Agent' class...