Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-vj.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: Wed, 22 May 2002 04:49:29 -0500 (CDT)
guy         2002/05/22 04:49:29 CDT

  Modified files:
    .                    packet-vj.c 
  Log:
  Maintain separate "discard compressed frames" state per connection.
  
  Put the array of connection states into the per-direction state
  structure; its size is fixed, as the connection number field size is 1
  byte.  Get rid of the "rslot_limit" member, as the number is fixed.
  
  Get rid of the per-state "next" pointer, as it's unused.
  
  Process uncompressed frames even if VJ decompression is turned off, and
  even if the "discard compressed frames" flag is set on the connection,
  as there's no decompression to do.
  
  If the full IP and TCP header isn't available in an uncompressed frame,
  discard subsequent compressed frames.
  
  Only use the "discard compressed frames" flag on the first pass through
  the capture; on subsequent passes, the presence of an "uncompressed
  header" item attached to the frame indicates whether we could decompress
  it or not (the "discard compressed frames" flag would merely indicate
  the *last* state it had for that connection, which might not have been
  the state at the time we saw that frame).
  
  Revision  Changes    Path
  1.10      +198 -222  ethereal/packet-vj.c