[ns] to trace rto value

2013-01-29 Thread abinaya rajendhiran

hi does any one know how to trace rto value using tcl in ns2???

-- 
Reagards.,
R.Abinaya,B.Tech,(M.E)


[ns] when does A flag set

2013-01-29 Thread abinaya rajendhiran

hi all,
does A flag in trace file denote the packet is retransmitted???

-- 
Reagards.,
R.Abinaya,B.Tech,(M.E)


[ns] nse scheduler issue

2013-01-29 Thread Bipul Kumar

Hellow folks

I am getting this error when i am trying to run nse

root@bipul-Linux:/home/bipul/Desktop# nse script.tcl
warning: no class variable Scheduler/RealTime::adjust_new_width_interval_

see tcl-object.tcl in tclcl for info about this warning.

warning: no class variable Scheduler/RealTime::min_bin_width_

TapAgent(_o40): linked sock 7 as READABLE
TCPTapAgent(_o43): sent packet (sz: 40)
TCPTapAgent(_o43): sent packet (sz: 40)
TCPTapAgent(_o43): sent packet (sz: 40)

please help me i will be very thankful to you.


Re: [ns] to trace rto value

2013-01-29 Thread Fazlullah Khan

Hey Abiyana!
From tcl you can use this command to get some particular vlaues in the
trace file for example I want to get only cbr values, so the command is
set tracefd [open | greo \  cbr \  out.tr w]
this will record all the cbr values, so use it for what ever values you
need.

On Wed, Jan 30, 2013 at 10:00 AM, ns-users-requ...@isi.edu wrote:

 Send Ns-users mailing list submissions to
 ns-users@isi.edu

 To subscribe or unsubscribe via the World Wide Web, visit
 http://mailman.isi.edu/mailman/listinfo/ns-users
 or, via email, send a message with subject or body 'help' to
 ns-users-requ...@isi.edu

 You can reach the person managing the list at
 ns-users-ow...@isi.edu

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of Ns-users digest...


 Today's Topics:

1. Re: Ns-users Digest, Vol 109, Issue 25 (An Feng)
2. Regarding the Number of Attempts (Sai Bhyravajosyula)
3. to trace rto value (abinaya rajendhiran)
4. when does A flag set (abinaya rajendhiran)
5. nse scheduler issue (Bipul Kumar)


 --

 Message: 1
 Date: Tue, 29 Jan 2013 02:08:37 -0500 (EST)
 From: An Feng anderson.an.f...@aol.com
 Subject: Re: [ns] Ns-users Digest, Vol 109, Issue 25
 To: ns-users@isi.edu
 Message-ID: 8cfcc06978e42d3-277c-3c...@webmail-d184.sysops.aol.com
 Content-Type: text/plain; charset=us-ascii

 Hi ALL,

 can some one help me to figure out how to do the wireless protocol auto
 switching in the NS simulation process. And how to effectively change the
 protocol parameters in the NS installation directory
 ~/nsnam/dskim/rts-cts/tinyos/tinyviz/org/c++/mingw...





 An Feng
 anderson.an.f...@aol.com





 -Original Message-
 From: ns-users-request ns-users-requ...@isi.edu
 To: ns-users ns-users@ISI.EDU
 Sent: Tue, Jan 29, 2013 9:01 am
 Subject: Ns-users Digest, Vol 109, Issue 25


 Send Ns-users mailing list submissions to
 ns-users@isi.edu

 To subscribe or unsubscribe via the World Wide Web, visit
 http://mailman.isi.edu/mailman/listinfo/ns-users
 or, via email, send a message with subject or body 'help' to
 ns-users-requ...@isi.edu

 You can reach the person managing the list at
 ns-users-ow...@isi.edu

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of Ns-users digest...


 Today's Topics:

1. Re: trace file modification (Fazlullah Khan)
2. Transmission range of a wireless node? (nguyen hieu)
3. code for TrustAODV (akki trivedi)
4. TIREM available ? (Siyui AliOh)
5. detection of retransmitted packets (abinaya rajendhiran)
6. GTS in 802.15.4 (Fazlullah Khan)
7. Bind a float (Rafael P B Mota)


 --

 Message: 1
 Date: Mon, 28 Jan 2013 10:28:32 +0900
 From: Fazlullah Khan fazlullah@gmail.com
 Subject: Re: [ns] trace file modification
 To: ns-users@isi.edu
 Message-ID:
 
 camjcqcdax6aqqv0zfgt7f7xvdsujfhxgb9a0x01z0kq6pgr...@mail.gmail.com
 Content-Type: text/plain; charset=ISO-8859-1

 In ns-2-xx/trace.cum-trace.cc,.h needs to be modify, and if you are using
 some routing protocol, may be that too.

 On Mon, Jan 28, 2013 at 10:00 AM, ns-users-requ...@isi.edu wrote:

  Send Ns-users mailing list submissions to
  ns-users@isi.edu
 
  To subscribe or unsubscribe via the World Wide Web, visit
  http://mailman.isi.edu/mailman/listinfo/ns-users
  or, via email, send a message with subject or body 'help' to
  ns-users-requ...@isi.edu
 
  You can reach the person managing the list at
  ns-users-ow...@isi.edu
 
  When replying, please edit your Subject line so it is more specific
  than Re: Contents of Ns-users digest...
 
 
  Today's Topics:
 
 1. Re: Calculate Signal strength in ns2 (shiny john)
 2.  TrustAODV in MANET (Nikunj Shah)
 3. trace file modification (bhupendra rajput)
 
 
  --
 
  Message: 1
  Date: Sat, 26 Jan 2013 20:42:27 -0800 (PST)
  From: shiny john shiny@gmail.com
  Subject: Re: [ns] Calculate Signal strength in ns2
  To: ns-users@isi.edu
  Message-ID: 34950173.p...@talk.nabble.com
  Content-Type: text/plain; charset=us-ascii
 
 
  set opt(prop) propagation/FreeSpace
 
  Leyond wrote:
  
   Hello,all
 I want to calculate the signal strength received from some APS.
 But
   up to now, I just have written some codes like below to implement this
   function[of course, i am not sure it is correct or not]:-((
  
   proc record {} {
 global filepr pt l lambda gt gr pi node
  set ns [Simulator instance]
  set time 0.1;# record 0.5 second
  set m_x [$node(1) set X_]
  set m_y [$node(1) set Y_]
  set n_x [$node(0) set X_]
  set n_y [$node(0) set Y_]
  set d [expr (sqrt(pow(($m_x - $n_x),2)+ pow(($m_y-$n_y),2)))]
  set m [expr 

[ns] rto value in tcp.cc

2013-01-29 Thread abinaya rajendhiran

hi all!! does anyone know in which variable rto value is maintained in
tcp.cc file???
-- 
Reagards.,
R.Abinaya,B.Tech,(M.E)



[ns] awk script to read flags

2013-01-29 Thread abinaya rajendhiran

hi all,how to write an awk script to read flag bit set (i.e,C,N,A) in
trace file of NS2???
-- 
Reagards.,
R.Abinaya,B.Tech,(M.E)



[ns] how to access the variables in .cc files?

2013-01-29 Thread shiny

hi all,
how to include variables from one .cc file to other?

-- 
With Regards,
John Shiny.J


[ns] Regarding Routing

2013-01-29 Thread gopi

Dear ns users,
        
            can anyone tell me, how to add static routing for wireless 
network...



Regards,
T.Gopi.