[ns] Fwd: Problem recompiling NS-2

2009-08-12 Thread Larissa Lucena
-- Forwarded message -- From: Larissa Lucena larissaluc...@gmail.com Date: Wed, Aug 12, 2009 at 09:55 Subject: Problem recompiling NS-2 To: ns-users@isi.edu Hello, everyone! Iḿ having a problem when I try to recompile the NS-2 code after a little change in aodv code (I just

[ns] tcp trace in a code without tcp agent

2010-01-19 Thread Larissa Lucena
Hi, there! Someone knows why tcp is being traced when a run a code without a single TCP Agent? In trace file, lines like this D 121.001388189 _2_ RTR TTL 0 tcp 0 [0 0 0 0] --- [2:0 -1:0 0 0] [0 0] 0 0 appears, but in my tcl code, you can see it below, there are no TCP agents. Thanks in

[ns] Fwd: How the aodv code sends up?

2010-01-19 Thread Larissa Lucena
-- Forwarded message -- From: Larissa Lucena larissaluc...@gmail.com Date: Tue, Jan 19, 2010 at 11:54 Subject: How the aodv code sends up? To: ns-users ns-users@isi.edu Hi there! I need to know how (or where) the aodv code sends up the package to the transport layer. Anyone

Re: [ns] How the aodv code sends up?

2010-01-19 Thread Larissa Lucena
I tried to use dmux_-recv(p,0), but didn't work, my udp agent don't receive any packet. Larissa On Tue, Jan 19, 2010 at 16:49, Larissa Lucena larissaluc...@gmail.comwrote: -- Forwarded message -- From: Larissa Lucena larissaluc...@gmail.com Date: Tue, Jan 19, 2010 at 11:54

Re: [ns] How the aodv code sends up?

2010-01-19 Thread Larissa Lucena
Verifying the debug now, I realize that when I use dmux_-recv(p,0) the node receives the packet with hdr_cmn-ptype() == PT_AODV, then the aodv processes the packet again and not the agent from upper layer... Larissa On Tue, Jan 19, 2010 at 16:51, Larissa Lucena larissaluc...@gmail.comwrote: I

Re: [ns] tcp trace in a code without tcp agent

2010-01-22 Thread Larissa Lucena
??. 2010/1/19 Larissa Lucena larissaluc...@gmail.com Hi, there! Someone knows why tcp is being traced when a run a code without a single TCP Agent? In trace file, lines like this D 121.001388189 _2_ RTR TTL 0 tcp 0 [0 0 0 0] --- [2:0 -1:0 0 0] [0 0] 0 0 appears, but in my tcl code, you can

Re: [ns] Modificating Mac802_11::recv

2010-03-03 Thread Larissa Lucena
On Wed, Mar 3, 2010 at 18:11, Larissa Lucena larissaluc...@gmail.comwrote: Hi, there! I would like to know how to modificate Mac802_11::recv to send up my application protocol packets. Has anyone an example? Thanks in advance. Larissa -- O maior prazer do inteligente é bancar o

Re: [ns] Modificating Mac802_11::recv

2010-03-04 Thread Larissa Lucena
on their characteristics. You just have to change the conditions needed to send your packet up (like thé packet type in the common header). Enjoy. Lionel Bertaux. Le 3 mars 2010 à 22:15, Larissa Lucena larissaluc...@gmail.com a écrit : On Wed, Mar 3, 2010 at 18:11, Larissa Lucena larissaluc

Re: [ns] Modificating Mac802_11::recv

2010-03-04 Thread Larissa Lucena
What I do? Test the kind of packet, and if it might be sent up, call the recv of the mac superclass? I'm seeming kind desperate, no? But I think I really am! LOL Larissa On Thu, Mar 4, 2010 at 09:24, Larissa Lucena larissaluc...@gmail.comwrote: Thanks, Lionel! I'll try It now! But (still

Re: [ns] Modificating Mac802_11::recv

2010-03-04 Thread Larissa Lucena
{ collision(p); } } } On Thu, Mar 4, 2010 at 09:49, Larissa Lucena larissaluc...@gmail.comwrote: What I do? Test the kind of packet, and if it might be sent up, call the recv of the mac superclass? I'm seeming kind desperate, no? But I think I really am! LOL Larissa

Re: [ns] Modificating Mac802_11::recv

2010-03-04 Thread Larissa Lucena
! Larissa On Thu, Mar 4, 2010 at 11:04, Larissa Lucena larissaluc...@gmail.comwrote: Or should I call the Mac::sendUp(Packet* p)? And where I should call it? - before if(tx_active_ hdr-error() == 0) ? - before if(rx_state_ == MAC_IDLE)? - or at the end of the method? The method

[ns] How to change the position of a mobile node?

2010-03-12 Thread Larissa Lucena
Hi, there! I have to change the position of a mobile node, and used the set_destination method, but I doesn't seem to work. Anyone has any clue? Thanks! Larissa -- O maior prazer do inteligente é bancar o idiota diante de um idiota que banca o inteligente.

Re: [ns] How to change the position of a mobile node?

2010-03-12 Thread Larissa Lucena
I've forgotten to say that this change is in my c++ code, not in TCL. Thanks! Larissa On Fri, Mar 12, 2010 at 11:03, Larissa Lucena larissaluc...@gmail.comwrote: Hi, there! I have to change the position of a mobile node, and used the set_destination method, but I doesn't seem to work

Re: [ns] How to change the position of a mobile node?

2010-03-12 Thread Larissa Lucena
Guys, it worked! The error was mine at other point of the code! Sorry! Larissa On Fri, Mar 12, 2010 at 11:07, Larissa Lucena larissaluc...@gmail.comwrote: I've forgotten to say that this change is in my c++ code, not in TCL. Thanks! Larissa On Fri, Mar 12, 2010 at 11:03, Larissa

Re: [ns] How to change the position of a mobile node?

2010-03-12 Thread Larissa Lucena
Ok, disturbing you again. Now I want to know when the move a mobile node made is done, when it just reached the destination. Any idea? Thanks again! Larissa On Fri, Mar 12, 2010 at 12:14, Larissa Lucena larissaluc...@gmail.comwrote: Guys, it worked! The error was mine at other point

[ns] Exactly moment of reaching destination

2010-03-15 Thread Larissa Lucena
Hi, Guys! I'd like to know the exactly moment that a mobile node reaches its destination position. I've read and read so many time the method MobileNode::set_destination (below) and I really don't figured it out. I need this to send a packet exactly in that moment. Could anyone help me? Thanks

[ns] Fwd: How can I through out the node status in trace file?

2010-05-25 Thread Larissa Lucena
: Larissa Lucena larissaluc...@gmail.com Date: Tue, 25 May 2010 08:37:43 -0300 Message-ID: aanlktin9w3tes3w0pd52rncpp_vsd1dyk6jioakx2...@mail.gmail.com Subject: How can I through out the node status in trace file? To: ns-users ns-users@isi.edu Content-Type: multipart/alternative; boundary

[ns] N -t time -n 2 -e node energy Trace file line

2010-05-27 Thread Larissa Lucena
Hi there! My trace files is becoming huge, disturbing my simulations, because even a single trace file is bigger than my linux partition free space. The most lines are like this: N -t 1.000535 -n 2 -e 99.91 just a status of the node. I don't need these lines, but I can't find the line in

Re: [ns] N -t time -n 2 -e node energy Trace file line

2010-05-27 Thread Larissa Lucena
size is now round 75MB! So much better! Larissa On Thu, May 27, 2010 at 11:40, Larissa Lucena larissaluc...@gmail.comwrote: Hi there! My trace files is becoming huge, disturbing my simulations, because even a single trace file is bigger than my linux partition free space. The most lines

Re: [ns] Which energy metric unit is used in EnergyModel

2010-07-10 Thread Larissa Lucena
Is it in joules??? On Sat, Jul 10, 2010 at 12:53, Larissa Lucena larissaluc...@gmail.comwrote: Hello, guys! I want to know which energy metric unit is used in EnergyModel. For example, when we write in our .tcl code $ns_ node-config -adhocRouting $val(rp) \ -llType $val(ll