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

Re: [Q] About Trace file..




You might want to have a look at:

http://www.research.att.com/~breslau/vint/trace.html

It has a link to the C 10-liner John posits.

Lee

To: "Lee Jiwoong" <[email protected]>
Cc: [email protected]
Subject: Re: [Q] About Trace file..
Date: Thu, 23 Sep 1999 18:50:55 -0700
From: John Heidemann <[email protected]>

On Mon, 20 Sep 1999 04:46:57 +0900, "Lee Jiwoong" wrote: 
>Dear Seniors in NS.
>
>I THANK ALL OF YOU who answers my previous questions, HOW KIND!  :^)
>
>In ~ns/tcl/ex, there is an example trace file. According to the manual of NS,
>
>"A trace file consists of any number of fixed length records. Each record 
consists of 2 32 bit fields. The first indicates the interval until the next 
packet is generated in microseconds. The second indicates the length of the 
next packet in bytes."
>
>I wonder if there is a "converter" which converts the binary tracefile into 
ascii file and the vice versa.
>Since I've Starwars tracefile which is encoded in another method, and I want 
to apply it to NS.
>
>Thanks in Advance with my all heart.

Not currently, but that should be a perl 1-liner, or a C 10-liner.

   -John Heidemann