Subject: Re: How to extract bandwidth usage from tcpdump capture file?
To: None <netbsd-help@NetBSD.org>
From: None <khym@azeotrope.org>
List: netbsd-help
Date: 04/05/2007 23:29:57
On Thu, Apr 05, 2007 at 07:08:29PM -0600, Herb Peyerl wrote:
> That'd be one way.... But a .cap file is a relatively trivial file  
> format.  There's a pcap_file_header and a pcap_pkthdr in front of  
> each packet in the file.  Find the first pcap_pkt hdr, record the  
> timestamp and len (see /usr/include/pcap.h) and you have the  
> equivalent of your tcptrace output.  Pump it into gnuplot and you're  
> done...

So nobody's already done the work for me, huh? :) OK, it sounds like
I'll have to roll my own then.