Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/wiretap wtap.def

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 13:19:16 -0500 (CDT)
guy         2003/10/01 13:19:16 CDT

  Modified files:
    wiretap              wtap.def 
  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.6       +0 -1      ethereal/wiretap/wtap.def