Wireshark-dev: Re: [Wireshark-dev] Communication between Dissectors

From: "Martin Peylo" <martinmeis@xxxxxxxxxxxxxx>
Date: Tue, 29 Apr 2008 13:46:21 +0200
Hi Barry,

can

/* Get reported length of buffer */
extern guint tvb_reported_length(tvbuff_t*);

from tvbuff.h give you the information you need?

HTH,
Martin



On 4/28/08, Barry Constantine <Barry.Constantine@xxxxxxxx> wrote:
>
>
>
>
> Hello All,
>
>
>
> I am not a developer per se, but wrote simple dissector following the
> excellent how to guide by Ken Thompson.
>
>
>
> My protocol does not have a length field and rides on top of IP.  It is a
> simplistic throughput protocol for test measurement purposes and we
> calculate payload length based off of the IP layer Length field.
>
>
>
> Can you point me to any resources how to interact with other dissectors?  In
> other words, my dissector needs to retrieve fields from the IP dissector.
> Since I do not have a software background, I am looking for simple examples.
>
>
>
> Thanks,
>
> Barry
>
>
> _______________________________________________
>  Wireshark-dev mailing list
>  Wireshark-dev@xxxxxxxxxxxxx
> http://www.wireshark.org/mailman/listinfo/wireshark-dev
>
>