Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-eth.c packet-eth.h packet-ethertype.c

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: Thu, 21 Aug 2003 16:05:30 -0500 (CDT)
guy         2003/08/21 16:05:30 CDT

  Modified files:
    .                    packet-eth.c packet-eth.h 
                         packet-ethertype.c packet-ieee8023.c 
  Log:
  Sometimes Ethernet captures include an FCS at the end of the packet.
  
  An Ethernet trailer is only needed to pad the packet to 60 bytes of
  Ethernet header plus payload; if the packet has what appears to be a
  trailer, and it's 4 or more bytes (i.e., long enough to include an FCS),
  and the Ethernet frame was claimed to have 64 or more bytes (i.e., it
  has at least an FCS worth of data more than the minimum 60 bytes),
  assume that the last 4 bytes of the frame were an FCS.
  
  Revision  Changes    Path
  1.80      +36 -1     ethereal/packet-eth.c
  1.11      +4 -1      ethereal/packet-eth.h
  1.37      +24 -19    ethereal/packet-ethertype.c
  1.5       +9 -26     ethereal/packet-ieee8023.c