Subject: Re: Packet size
To: None <netbsd-help@netbsd.org>
From: Bruce Anderson <brucea@spacestar.net>
List: netbsd-help
Date: 04/08/1999 00:47:00
On Wed, Apr 7, 1999 7:12 PM, James Webster <mailto:James3838@tsi-net.com>
wrote:
>Maybe I should have been more specific.  I want to know the average tcp
>packet header overhead.  I believe what you have below is a packet with
>data.  The data makes the packet variable size.  I want to know the fixed
(if
>it is fixed) overhead in each packet in bytes.
>
>I'm trying to use tcpdump to get an idea of internal traffic patterns on
my
>lan.  Most packets don't have data, but should all be in a format that
would
>give them an average size.  TCP packets with "P"ush flags have data that I
>can tell it's size by the window.
>

IP    (header) total length, min 20 bytes, max 24 bytes.
UDP( header) total length  8 bytes.
PDU (commonly call the TCP header)  min 20 bytes, max 24 bytes.

BA-