Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-ldp.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: Sat, 27 Apr 2002 19:18:51 -0500 (CDT)
guy         2002/04/27 19:18:51 CDT

  Modified files:
    .                    packet-ldp.c 
  Log:
  Make the LDP dissectors new-style dissectors, so they can reject packets
  if the version number isn't 1; the LDP port number appears to be
  popular for ONC RPC protocols, and this lets them be dissected as such,
  at least if they don't begin with a 2-byte big-endian 1.
  
  Do a standard TCP loop, which:
  
  	handles LDP headers split across TCP segments;
  
  	gives each LDP PDU in a TCP stream a tvbuff of its own, so we
  	don't run past the end of the PDU;
  
  	gives each LDP PDU its own tree.
  
  Revision  Changes    Path
  1.37      +193 -93   ethereal/packet-ldp.c