Ethereal-dev: Re: [Ethereal-dev] netxray.c - patches

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: Tue, 30 Nov 2004 02:47:34 -0800
Bill Meier wrote:

1. The captures are Ethernet and not PPP (altho I'll have to determine exactly
how the captures were made).

I.e., the interpretation of the CAPTYPE_ values depend on the network type.

The current CAPTYPE_ values, except for CAPTYPE_NDIS and CAPTYPE_GIGPOD, should probably be renamed CAPTYPE_WAN_xxx, to indicate that they only apply to WAN captures (network type 4). CAPTYPE_NDIS should probably be left as is; CAPTYPE_GIGPOD could be renamed CAPTYPE_ETH_GIGPOD, or left as if if the "GIG" implies gigabit Ethernet.

A new #define CAPTYPE_ETH_OTHERPOD, or something such as that, should be added, with a value of 3. The CAPTYPE_PPP values should be used for network type 1, and the CAPTYPE_ETH values should be used for network type 4.