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] Branching in subtree for different packet dissection.

From: Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx>
Date: Mon, 10 May 2010 01:47:10 -0600
On Sun, May 09, 2010 at 08:04:24PM -0700, Craig Bumpstead wrote:

> What I need to do now is branch in the dissect of the sub-tree when 
> the 6th byte in the data is a certain value. Is there an array that 
> holds that information that i can search???

The data is contained in the tvbuff, which you can grab a value from 
using xxx = tvb_get_guint8(tvb, offset);


-- 
Steve