Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/epan column-utils.c packet_info.h

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: Mon, 14 Oct 2002 23:31:02 -0500 (CDT)
guy         2002/10/14 23:31:01 CDT

  Modified files:
    epan                 column-utils.c packet_info.h 
  Log:
  Add a new port type, PT_IPX, for IPX socket numbers; set "pinfo->ptype",
  "pinfo->srcport", and "pinfo->destport" appropriately in the IPX
  dissector.  Add support for PT_IPX port types in display columns.
  
  Have an "spx.socket" dissector table, similar to the "ipx.socket"
  dissector table, and have the SPX dissector use that, with the IPX
  socket numbers from "pinfo->srcport" and "pinfo->destport", so that
  dissectors for protocols that run atop SPX can register with particular
  socket numbers.  (Think of it as similar to what would have been the
  case had the IP header had 16-bit source and destination port numbers,
  and had TCP and UDP used those port numbers rather than having port
  numbers in their headers.)  Also, have the SPX dissector dissect
  subprotocols regardless of whether we're building a protocol tree or not.
  
  Use the dissector handle for the IPX message dissector for both IPX
  socket numbers; there's no need to create separate handles for both
  registrations.
  
  Have NDPS register as a subdissector of the SPX dissector, using
  "spx.socket", and get rid of the duplicate SPX dissection in the NDPS
  dissector.
  
  Make the NDPS dissector set the columns regardless of whether a protocol
  tree is being built, and clean up the dissector (fixing some bugs).
  
  Get rid of unneeded includes in "packet-ndps.c".
  
  Revision  Changes    Path
  1.19      +12 -1     ethereal/epan/column-utils.c
  1.20      +3 -2      ethereal/epan/packet_info.h