Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal capture.c capture.h tethereal.c

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

From: Laurent Deniel <deniel@xxxxxxxxxxxxxxxxx>
Date: Thu, 15 May 2003 08:33:54 -0500 (CDT)
deniel      2003/05/15 08:33:54 CDT

  Modified files:
    .                    capture.c capture.h tethereal.c 
  Log:
  Implement a ring buffer switch duration:
  
  when the new "Rotate capture file every n second(s)" checkbox or the
  -b <# of file>[:<duration>] argument are used, [t]ethereal will skip to the
  next ring buffer file if the specified duration has elapsed (even if the
  specified capture size is not reached). This is useful when you want to have
  separate capture files per hour or day for instance.
  
  I let the autostop filesize parameter mandatory (i.e. the "rotate capture
  file after n kilobytes") but this could be no longer strictly necessary when
  that new feature is used ...
  
  Another point: it might be interesting to really truncate the file at the
  switch and not the closure ... According to user comments and my own real
  case tests, I might plan to enhance this point and others (still ring buffer
  related) in the future.
  
  Revision  Changes    Path
  1.207     +21 -1     ethereal/capture.c
  1.35      +3 -1      ethereal/capture.h
  1.184     +79 -5     ethereal/tethereal.c