Subject: Re: How to retrieve count of actual bytes placed on the wire?
To: Jeff Rizzo <>
From: Manuel Bouyer <>
List: tech-net
Date: 01/04/2002 22:28:51
On Thu, Jan 03, 2002 at 12:01:00PM -0800, Jeff Rizzo wrote:
> Is there a way to get a count of the total number of bytes placed
> on the wire under netbsd? 

Maybe with tcpdump ?

> The information provided by 'netstat -bi' 
> seems to be IP-level only, without any of the ethernet framing bytes,
> at least for outgoing frames.  I'm playing with a traffic generator
> from Ixia, and want as many sanity checks on the data I'm gathering as
> possible...
> Is there an easy way to get this information?

netstat doesn't include the ethernet framing bytes because this info isn't
always available to the driver (think about hardware vlan support for example).

Manuel Bouyer <>