Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal exceptions.h packet-atm.c packet-eth.c

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

From: "Gilbert Ramirez Jr." <gram@xxxxxxxxxxxx>
Date: Mon, 15 May 2000 23:44:24 -0500 (CDT)
gram        2000/05/15 23:44:22 CDT

  Modified files:
    .                    exceptions.h packet-atm.c packet-eth.c 
                         packet-fddi.c packet-isl.c packet-llc.c 
                         packet-tr.c packet-vlan.c packet.c 
                         tvbuff.c tvbuff.h 
  Log:
  Have tvbuff's keep track of cap_len and pkt_len ('length' and 'reported_length'
  in tvbuff terminology). This is implemented for TVBUFF_REAL and TVBUFF_SUBSET
  so far; support for TVBUFF_COMPOSITE is coming soon.
  
  Throw either ReportedBoundsError or BoundsError.
  A ReportedBoundsError is reported as "Malformed Frame" since the protocol
  stated that a certain number of bytes should be available but they weren't.
  A BoundsError is reported as a "Short Frame" since the snaplen was too short.
  
  Register proto_short (BoundsError) and proto_malformed (ReportedBounds)
  so searches can be made on "short" and "malformed".
  
  Revision  Changes    Path
  1.2       +12 -3     ethereal/exceptions.h
  1.17      +3 -3      ethereal/packet-atm.c
  1.37      +5 -5      ethereal/packet-eth.c
  1.33      +2 -2      ethereal/packet-fddi.c
  1.10      +2 -2      ethereal/packet-isl.c
  1.60      +3 -3      ethereal/packet-llc.c
  1.41      +3 -3      ethereal/packet-tr.c
  1.13      +2 -2      ethereal/packet-vlan.c
  1.83      +12 -3     ethereal/packet.c
  1.3       +58 -25    ethereal/tvbuff.c
  1.3       +5 -5      ethereal/tvbuff.h