Ethereal-dev: RE: [Ethereal-dev] Re: Multipel protocols in one TCP frame

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

From: "Anders Broman (AL/EAB)" <anders.broman@xxxxxxxxxxxx>
Date: Thu, 20 Jan 2005 11:07:33 +0100
Hi,
As far as I know the intention is to "fence off" the previously built column and stop it from beeing manipulated by
subsequent dissectors, noting is prepended or appended you could view it as the subsequent dissector is
handled an empty column.
This means that you'd probably want to add a space to the text added before setting the fence.
Example from -h225.c
	if (contains_faststart == TRUE )
	{
		if (check_col(pinfo->cinfo, COL_INFO))
		{
			col_append_str(pinfo->cinfo, COL_INFO, "OpenLogicalChannel " );
		}
	}

	col_set_fence(pinfo->cinfo,COL_INFO);

Best regards
Anders

-----Original Message-----
From: ethereal-dev-bounces@xxxxxxxxxxxx
[mailto:ethereal-dev-bounces@xxxxxxxxxxxx]
Sent: den 20 januari 2005 02:28
To: Ethereal development
Subject: Re: [Ethereal-dev] Re: Multipel protocols in one TCP frame


Michael Tuexen wrote:

> Dear all,
>
> when you call col_set_fence the text in that column will not be
> overwritten when you call col_set_str and so on.
>
> I hope that helps.
>
We're coming closer :-)

What will happen then?

If the text won't be overwriten with col_set_srt (and alike) will the 
new column text be prepended or appended to the old? Is there a 
delimiting character and if there is, which one?

Regards, ULFL

_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev