Ethereal-dev: Re: [Ethereal-dev] user defined structure

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

From: Diwakar Shetty <diwakar@xxxxxxxxxxxxxx>
Date: Fri, 22 Jun 2001 09:56:38 +0600
Thanks for the reply

Guy Harris wrote:

> I need to add one field/structure to the frame_data structure

What is the field you want to add?

I need to maintain state information in every VJ compressed packet. hence the need to add data to "frame_data" structure.
 

> Has ethereal provided for some function/interface for this purpose?

However, Ethereal *does* have a way for a protocol to attach to a frame
an arbitrary blob of data - see "p_add_proto_data()" and
"p_get_proto_data()".

This serves the purpose. However, I hope that future releases of Ethereal wont remove this interface.