Wireshark-dev: Re: [Wireshark-dev] How to append two tvb buffers?

From: didier <dgautheron@xxxxxxxx>
Date: Fri, 17 Oct 2008 10:59:12 +0200
Le vendredi 17 octobre 2008 ᅵ 12:37 +0530, atdev.queries@xxxxxxxxx a
ï¿œcrit :
> Hi Jaap,
>  
> Thanks for your advice. 
> I have tried doing the following and got an error while running wireshark.
> 
>  tvb1 = tvb_new_subset(tvb, offset, 1, 1);
>         tvb2 = tvb_new_subset(tvb, offset, 1, 1);
> tvb_composite_append(tvb1 , tvb2);
Look at epan/dissectors/packet-rtmpt.c, it's the only dissector using
tvb_composite(). I don't know if it's working though (cf. comment in
packet-http.c).

Didier