Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/wiretap netxray.c

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, 28 Mar 2003 15:59:13 -0600 (CST)
guy         2003/03/28 15:59:13 CST

  Modified files:
    wiretap              netxray.c 
  Log:
  Ian Schorr discovered that, for gigabit pod captures, if hdr.timeunit is
  2 the time stamps are in units of 1/31250000 seconds rather than
  nanoseconds - and, by generating Windows Sniffer captures with various
  hdr.timeunit values, that for all the non-zero values he tested, the
  time stamps for non-gigabit pod captures are in units of 1/1193000
  second.
  
  Instead of having a TpS array, just test for the exception value (0 for
  non-gigabit pod captures, 2 for gigabit pod captures).
  
  Revision  Changes    Path
  1.80      +31 -23    ethereal/wiretap/netxray.c