[ns] problem in trace file

2011-03-31 Thread Subha Uthayaraj

Hi all,

I got in trace file like:

s 9.85625 _20_ AGT  --- 31099 cbr 210 [0 0 0 0] --- [20:1 25:0 32 0]
[1295] 0 0
r 9.85625 _20_ RTR  --- 31099 cbr 210 [0 0 0 0] --- [20:1 25:0 32 0]
[1295] 0 0

It is showing 4th column as router(RTR) packet but corresponding 7th column
as cbr packet.

is it right?

what may be the problem?

anyone know that?


-- 
Regards,
Subha


[ns] Problem with trace file! writting of trace file lines will be stopped in specific point!

2006-10-29 Thread amir zare

Hi All,

I have problem with what is written in trace file while simulation is
running. I have changed mac802_11.cc code in recv() method. in this method
made the packet loss by setting the header packet error flag. while
simulation was running, in specific place in trace file was stoped. the
simulation didn't stop but whenever I open it ( while the simulation was
running) , I saw that it was stoped on the same place without any advance in
writting any more in trace file!! I copy end of trace file as follows:


s 1367.609409107 _8_ RTR --- 55104 message 548 [0 0 0 0] --- [8:255
-1:255 32 0]

s 1367.621683432 _14_ RTR --- 55105 message 608 [0 0 0 0] --- [14:255
-1:255 32 0]

s 1367.696732589 _15_ RTR --- 55106 message 548 [0 0 0 0] --- [15:255
-1:255 32 0]

s 1367.710329725 _9_ RTR --- 55107 message 524 [0 0 0 0] --- [9:255
-1:255 32 0]

s 1367.714817072 _41_ RTR --- 55108 message 416 [0 0 0 0] --- [41:255
-1:255 32 0]

s 1367.720855549 _42_ RTR --- 55109 message 572 [0 0 0 0] --- [42:255
-1:255 32 0]

s 1367.751186360 _10_ RTR --- 55110 message 560 [0 0 0 0] --- [10:255
-1:255 32 0]

s 1367.765621923 _45_ RTR --- 55111 message 536 [0 0 0 0] --- [45:255
-1:255 32 0]

s 1367.773280693 _44_ RTR --- 55112 message 488 [0 0 0 0] --- [44:255
-1:255 32 0]

s 1367.794426339 _40_ RTR --- 55113 message 596 [0 0 0 0] --- [40:255
-1:255 32 0]

s 1367.796053816 _24_ AGT --- 55114 cbr 512 [0 0 0 0] --- [24:1 26

this simulation time for this simulation was: 2000s . you see that it stoped
in 1367s like this!!

any one has any idea about this why happend?!

I would appreciate any help

thanks a lot

Amir