Wireshark-dev: Re: [Wireshark-dev] Communication between Dissectors
From: "Barry Constantine" <[email protected]>
Date: Wed, 30 Apr 2008 04:10:42 -0700
Hello Martin,

This looks like it will work and will give this a try.

Thanks in advance,
Barry

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Martin Peylo
Sent: Tuesday, April 29, 2008 7:46 AM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Communication between Dissectors

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 <[email protected]> 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
>  [email protected]
> http://www.wireshark.org/mailman/listinfo/wireshark-dev
>
>
_______________________________________________
Wireshark-dev mailing list
[email protected]
http://www.wireshark.org/mailman/listinfo/wireshark-dev