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] tvb_new* functions

From: "Abhik Sarkar" <sarkar.abhik@xxxxxxxxx>
Date: Fri, 28 Dec 2007 15:41:00 +0400
Thanks Richard... I was merely trying out all the API functions to
achieve the end result. Anyway, I will try out various ways possible
until I have it working and then post a patch for review.

Thanks!
Abhik.

On Dec 27, 2007 6:26 PM, Richard van der Hoff <richardv@xxxxxxxxxxxxx> wrote:
> Abhik Sarkar wrote:
> > Hello Everyone,
> >
> > Is there some clear documentation on when tvb_new_* functions may or
> > may not be called. I keep getting per-packet data corrupt, and I
> > suspect that I am using tvb_new_composite or tvb_subset at an
> > incorrect place.
>
> tvb_new_subset can be called whenever you like; tvb_new_composite() has
> never been made to work; however. If you need its functionality, I
> suggest you start by uncommenting the unit tests in epan/tvbtest.c and
> making them pass...
>
> Cheers
>
> Richard
> _______________________________________________
> Wireshark-dev mailing list
> Wireshark-dev@xxxxxxxxxxxxx
> http://www.wireshark.org/mailman/listinfo/wireshark-dev
>