Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal/wiretap wtap.h netxray.c file.c netmon.c

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Tue, 14 Dec 1999 19:34:23 -0600 (CST)
guy         1999/12/14 19:34:21 CST

  Modified files:
    wiretap              wtap.h netxray.c file.c netmon.c 
  Log:
  One field in the NetXRay header appears to be the number of frames in
  the capture; set it to that when writing the capture.
  
  Support Token Ring and FDDI captures (as per the network type in the
  file header appearing to be either the NDIS network type, or the NDIS
  network type minus 1 - I forget whether Ethernet has an NDIS type of 0
  or 1).
  
  Don't write the file header twice, keeping a static copy of it around,
  as Wiretap code isn't supposed to keep any static data around; instead,
  write it only when we're done writing out all the records (as we do on
  Network Monitor captures).
  
  Compute the time stamps when writing the file.
  
  Give Windows Sniffer 1.1-format a short name, so "editcap" doesn't dump
  core or print "(null)" in its usage message.
  
  WTAP_ENCAP_NULL isn't supported by NetMon; don't write it.
  
  Revision  Changes    Path
  1.61      +3 -3      ethereal/wiretap/wtap.h
  1.20      +75 -86    ethereal/wiretap/netxray.c
  1.43      +2 -2      ethereal/wiretap/file.c
  1.22      +2 -2      ethereal/wiretap/netmon.c