Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/wiretap 5views.c erf.c etherpeek.c file_acce

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxx>
Date: Wed, 1 Oct 2003 02:11:49 -0500 (CDT)
guy         2003/10/01 02:11:49 CDT

  Modified files:
    wiretap              5views.c erf.c etherpeek.c file_access.c 
                         iptrace.c lanalyzer.c libpcap.c netmon.c 
                         nettl.c netxray.c ngsniffer.c radcom.c 
                         snoop.c toshiba.c visual.c wtap-int.h 
                         wtap.h 
  Log:
  Have a pseudo-header for Ethernet packets, giving the size of the FCS -
  0 means "there is no FCS in the packet data", 4 means "there is an FCS
  in the packet data", -1 means "I don't know whether there's an FCS in
  the packet data, guess based on the packet size".
  
  Assume that Ethernet encapsulated inside other protocols has no FCS, by
  having the "eth" dissector assume that (and not check for an Ethernet
  pseudo-header).
  
  Have "ethertype()" take an argument giving the FCS size; pass 0 when
  appropriate.
  
  Fix up Wiretap routines to set the pseudo-header.  This means we no
  longer use the "generic" seek-and-read routine, so get rid of it.
  
  Revision  Changes    Path
  1.3       +17 -2     ethereal/wiretap/5views.c
  1.4       +11 -7     ethereal/wiretap/erf.c
  1.24      +98 -7     ethereal/wiretap/etherpeek.c
  1.3       +1 -20     ethereal/wiretap/file_access.c
  1.48      +63 -54    ethereal/wiretap/iptrace.c
  1.40      +42 -2     ethereal/wiretap/lanalyzer.c
  1.98      +23 -3     ethereal/wiretap/libpcap.c
  1.65      +23 -3     ethereal/wiretap/netmon.c
  1.33      +5 -1      ethereal/wiretap/nettl.c
  1.84      +137 -29   ethereal/wiretap/netxray.c
  1.111     +27 -7     ethereal/wiretap/ngsniffer.c
  1.42      +11 -1     ethereal/wiretap/radcom.c
  1.63      +33 -3     ethereal/wiretap/snoop.c
  1.27      +3 -1      ethereal/wiretap/toshiba.c
  1.13      +25 -27    ethereal/wiretap/visual.c
  1.40      +2 -2      ethereal/wiretap/wtap-int.h
  1.141     +7 -3      ethereal/wiretap/wtap.h