Date: Mon, 8 Jul 2002 18:48:30 -0400 (EDT) From: Angelos Stavrou <angelos@ee.columbia.edu> Subject: Re: tcptrace-bugs Tcptrace and NS2 scripts (fwd) Message-ID: <Pine.LNX.4.44.0207081841400.4102-202000@pareto.comet.columbia.edu>
Hello,
I am sending the patch for tcptrace to make it work with NS2 trace outputs
for Single and Full tcp. I also send two scenario files for NS2 that will
generate trace output that in combination with splitter script can be user
with tcptrace to produce statistics and/or tcpdump output that can be used
on other programs to analyse the behavior of the trace.
Although there are a lot of configurations in NS2 I think the patch will
work assuming that the person who sets the flags in NS2 sets the same
flags in tcptrace (e.g. to use or not the tcp/ip headers).
In NS2 this is done by the "Agent/TCP set useHeaders_ true" command and in
tcptrace I introduced a new extended option that is called ns_hdrs (by
default ON). Of course with --nons_hdrs it can be disabled for those that
have NS2 traces without the headers.
I will gladly explain any part of the C code or the NS2 traces that I
am sending. The changes are done mainly in the ns.c module as you can see
from the patch.
regards,
Angelos Stavrou
PhD Student,
Comet Laboratory, EE Department,
Columbia University,
http://www.comet.columbia.edu/~angelos
This archive was generated by hypermail 2b30 : 07/09/02 EDT