Ethereal-dev: Re: [Ethereal-dev] Help needed for GUI concept

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

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Mon, 8 Jan 2001 20:17:37 -0800
On Mon, Jan 08, 2001 at 07:01:17PM +0100, Michael.Tuexen@xxxxxxxxxxxxx wrote:
> OK, let us think about the last solution. When starting
> dissecting the SCTP packet I create a sctp_tvb. Now
> after some processing, I have a parameter_tvb,
> a subset of sctp_tvb, when I detect that it contains
> a M3UA packet. Then I have to set the length of
> the SCTP tree accoring this distinction. So can I
> calculate the offset of parameter_tvb inside sctp_tvb?

If the SCTP dissector creates "parameter_tvb" from "sctp_tvb", it had to
have known the offset when it did so, so there's nothing to calculate.