Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal Makefile.am packet-ospf.c packet-rip.c packe

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, 27 Dec 2000 06:48:26 -0600 (CST)
guy         2000/12/27 06:48:26 CST

  Modified files:
    .                    Makefile.am packet-ospf.c packet-rip.c 
                         packet-rtsp.c 
  Removed files:
    .                    packet-ospf.h packet-rip.h 
  Log:
  Tvbuffify the RIP and OSPF dissectors.
  
  Change them to use facilities in Ethereal that were probably not present
  when they were originally written, e.g. routines to fetch 24-bit
  integers and to dump a bunch of raw bytes in hex.
  
  Redo them to extract data from the packet as they dissect it, rather
  than extracting an entire data structure at once; that way, it may be
  able to dissect a structure not all of which is in the packet.
  
  Dissect a bit more of the type-of-service metrics etc. in OSPF packets.
  
  Make "tvb_length_remaining()" return a "gint", not a "guint"; it returns
  -1 if the offset is past the end of the tvbuff.
  
  Add a "tvb_reported_length_remaining()" routine, similar to
  "tvb_length_remaining()".  Use it instead of just subtracting an offset
  from "tvb_reported_length()".
  
  Revision  Changes    Path
  1.263     +1 -3      ethereal/Makefile.am
  1.31      +742 -645  ethereal/packet-ospf.c
  1.20      +101 -96   ethereal/packet-rip.c
  1.30      +2 -2      ethereal/packet-rtsp.c