Ethereal-dev: Re: [Ethereal-dev] SPOOLSS dissector

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

From: Tim Potter <tpot@xxxxxxxxx>
Date: Fri, 4 Jan 2002 08:18:42 +1100
On Thu, Jan 03, 2002 at 12:41:11PM -0800, Guy Harris wrote:

> > 	- pass some information from Todd's DCERPC dissector down to
> > 	  the subdissectors in the pinfo->private field.  We need to
> > 	  know at least the call id from the DCERPC header as well as
> > 	  the SMB fid in order to make a unique hash key
> 
> It looks as if there's request/response matching being done by the
> SPOOLSS dissector.  Is that matching DCERPC-layer requests and
> responses? If so, perhaps we need a way for the DCERPC dissector to
> allow subdissectors to attach their own private data to entries in *its*
> hash table, and get that information when processing a response, rather
> than having the subdissectors duplicate its matching.

That's an excellent idea.  I can't think how to implement it though.
Callbacks?  Passing more data through the pinfo->private pointer?


Tim.