Wireshark-dev: Re: [Wireshark-dev] Recursive dissection

From: "Luis EG Ontanon" <luis@xxxxxxxxxxx>
Date: Thu, 19 Jun 2008 17:24:28 +0200
with tvb_new_subset() you create a sub-tvb with the range you are
interested in, then you can recur onto your function passing it that
sub-tvb.

On Wed, Jun 18, 2008 at 9:16 PM, Matt Poduska
<mpoduska.intermec@xxxxxxxxx> wrote:
> Hello,
>
> In order to accept into the Wireshark codebase, it was suggested that I
> recode a dissector plugin I created and submitted a few months ago. I'm
> curious if there are any suggestions on the best way to use tvb_* functions
> for dissecting a recursively-defined protocol.
>
> LLRP (the protocol I'm trying to dissect) defines it's messages as a
> collection of "parameters" and "fields", where parameters can contain other
> parameters and fields. My current implementation includes buffer "wrapper"
> functions to deal with maintaining the current location within the tvb as
> the message (parameters and fields) are parsed. Is there "native" tvb_*
> functions that do this type of thing already?
>
> Thanks, Matt Poduska
>
> https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1957
>
> _______________________________________________
> Wireshark-dev mailing list
> Wireshark-dev@xxxxxxxxxxxxx
> https://wireshark.org/mailman/listinfo/wireshark-dev
>
>



-- 
This information is top security. When you have read it, destroy yourself.
-- Marshall McLuhan