From: Jose Manuel Cano Garcia <cano@pc2072te.dte.uma.es> Subject: Re: tcptrace Feature Request Date: Tue, 10 Sep 2002 19:52:35 +0200 Message-Id: <200209101952.35833.cano@pc2072te.dte.uma.es>
Hi,
If you want to modify the tcptrace output, you only have to modify the
output.c code (there are two functions, one for the long format and other for
the short format).
I have change the code for the short format, so that the following information
is printed (one line per connection, spaces as field delimiters):
second, microsecond, address_a, port_a, address_b, port_b, total_packet ab,
reset_packets_ab, ack_packets_ab, data_packets_ab, retransmited_pk_ab,
bytes_ab, useful_bytes_ab, retransmited_bytes_ab, transmission_time_ab, ....
same for ba .... , ........, Finishing code
^
|
|
Inserts "rtt_ab, rtt_handshake_ab, rtt_ba, rtt_hand_shake_ba" if -r
option specified.
The IP addresses are printed in raw (hexadecimal) format. Although not used,
it is necesary to specify the "-n" option to prevent DNS resolving (sorry).
This format is quite useful to load the data in matlab or excel easily without
a "preprocessing" stage.
I Enclose the modified code with the e-mail, I hope it may be useful to you
Best Regards,
Jose Manuel Cano-Garcia
Electronic Technology Department http://www.dte.uma.es
University of Malaga http://www.uma.es
Spain
mailto: cano@dte.uma.es
----------------------------------------------------------------------------
To unsubscribe, send a message with body containing "unsubscribe tcptrace" to
majordomo@tcptrace.org.
This archive was generated by hypermail 2b30 : 09/11/02 EDT