Ethereal-dev: Re: [Ethereal-dev] Patch adding ARP packet count to the capture window

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Mon, 14 Oct 2002 10:37:24 -0700
On Mon, Oct 14, 2002 at 09:31:37AM +0200, Ulf Lamping wrote:
> Please find attached a patch, which will add the count of ARP packets,
> to the statistics done while capture is in progress.

Checked in.

> I have added this only for ethertype packets (I don't know much about
> ATM, IPV6, ...),

ATMARP just shows up as SNAP-encapsulated LLC traffic, so it uses an
ethertype.

IPv6 *is* an Ethertype (and I don't think ARP is used to get MAC
addresses for local IPv6 IP addresses).

> so the increasing of the counter could be useful for
> other kinds of packets also. 

The ARP disector registers only as an Ethernet type, so there aren't any
other types of packets to worry about.