[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nam: a bug report, and a question



>> A bug report, and then a question:
>>
>> (a) To nam-trace a lan: In tcl/lan/ns-lan,
>> drpT_ attach-nam $namtrfd
>> should be replaced by
>> drpT_ namattach $namtrfd
>>
>> This bug persists from the previous release.

>Thanks. It's fixed and a patch is available from the ns problems page.

Have you guys tried to run tcl/ex/mac-test.tcl?
Yes. If you fix that, it can generate the nam trace file. But if you run
nam on that file, it'll show a blank window.

The following is the content of that nam trace file I got.

V -t * -v 1.0b6 -a 0
A -t * -n 1 -p 0 -o 255 -c 15 -a 1
A -t * -h 1 -m 127 -s 8
n -t * -a 0 -s 0 -S UP -v circle -c black
n -t * -a 1 -s 1 -S UP -v circle -c black
n -t * -a 2 -s 2 -S UP -v circle -c black
n -t * -a 3 -s 3 -S UP -v circle -c black
+ -t 0.001 -s 0 -d 1 -p tcp -e 1000 -c 0 -i 0 -a 0 -x {0.0 1.0 0 -------
(null)}
+ -t 0.002 -s 0 -d 2 -p tcp -e 1000 -c 0 -i 1 -a 0 -x {0.1 2.0 0 -------
(null)}
+ -t 0.003 -s 0 -d 3 -p tcp -e 1000 -c 0 -i 2 -a 0 -x {0.2 3.0 0 -------
(null)}
+ -t 0.006148 -s 1 -d 0 -p ack -e 40 -c 0 -i 3 -a 0 -x {1.0 0.0 0
------- (null)}
..........

It seems that it doesn't provide the link information.

Any idea ?

Thank you very much,

Chalermek Intanagonwiwat