Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal pcap-util.c pcap-util.h Makefile.am Makefile

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 9 Nov 2001 01:44:49 -0600 (CST)
guy         2001/11/09 01:44:49 CST

  Modified files:
    .                    Makefile.am Makefile.nmake capture.c 
                         tethereal.c util.c util.h 
  Added files:
    .                    pcap-util.c pcap-util.h 
  Log:
  Wrap calls to "pcap_datalink()" in a routine that attempts to compensate
  for AIX 5.x's non-standard libpcap, where "pcap_datalink()" doesn't
  return DLT_ values, it returns RFC 1573 ifType values.
  
  Put that wrapper, and the routine to get the interface list, in a
  separate file, for packet-capture utility routines, so not everybody who
  includes "util.h" needs to include <pcap.h>.
  
  Fix up the Wiretap hack for dealing with said incompatibility to use the
  correct ifType value for Token Ring.
  
  Revision  Changes    Path
  1.378     +3 -1      ethereal/Makefile.am
  1.139     +2 -1      ethereal/Makefile.nmake
  1.157     +7 -2      ethereal/capture.c
  1.97      +6 -2      ethereal/tethereal.c
  1.54      +2 -302    ethereal/util.c
  1.25      +1 -13     ethereal/util.h