Ethereal-dev: Re: [Ethereal-dev] More and more need to access dissection routines from all ove

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

From: Richard Sharpe <rsharpe@xxxxxxxxxx>
Date: Wed, 2 Oct 2002 07:30:20 +0930 (CST)
On Tue, 1 Oct 2002, Michael Tuexen wrote:

> Richard,
> 
> regarding the COL_INFO stuff I would like to say that protocols
> running over SCTP have to deal with the fact that multiple
> upper layer protocol data can be part of one SCTP packet. Since the
> dissector and most of the upper layers are written by myself it
> was easy to only use append instead of set for the COL_INFO stuff.

:-)
 
> But it would be helpful is this could be handled 'automatically'.
> Maybe a protocol can set the COL_INFO stuff in a state: ONLY_APPEND
> where even set calls are modified to APPEND, or DONT_MODIFY where
> append and set calls are simply ignored.

That sounds interesting.

A case that I ran into was that I needed to call the KRB5 dissector from 
withing SPNEGO, but I did not want the KRB5 dissector upsetting the 
COL_INFO field so I added a flag.

However, perhaps what I really want is some fancy text in the COL_INFO 
field that is determined by the caller of the KRB5 dissector.

Regards
-----
Richard Sharpe, rsharpe@xxxxxxxxxx, rsharpe@xxxxxxxxx, 
sharpe@xxxxxxxxxxxx