ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

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

From: "Barry Constantine" <Barry.Constantine@xxxxxxxx>
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: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] 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 <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
>
>
_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
http://www.wireshark.org/mailman/listinfo/wireshark-dev