Date: Mon, 8 Jul 2002 18:48:30 -0400 (EDT) From: Angelos Stavrou <email@example.com> Subject: Re: tcptrace-bugs Tcptrace and NS2 scripts (fwd) Message-ID: <Pine.LNX.firstname.lastname@example.org>
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.
Comet Laboratory, EE Department,
This archive was generated by hypermail 2b30 : 07/09/02 EDT