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

2008-10-17 Thread Stephen Fisher
On Fri, Oct 17, 2008 at 10:59:12AM +0200, didier wrote: > 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). I have a feeling that composite tvbs just don't work. I tried making one onc

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

2008-10-17 Thread didier
Le vendredi 17 octobre 2008 à 12:37 +0530, [EMAIL PROTECTED] 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_com

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

2008-10-17 Thread atdev.queries
eveloper support list for Wireshark Subject: Re: [Wireshark-dev] How to append two tvb buffers? Hi, Have a look at the tvb_composite_xxx() functions for that. Thanx, Jaap [EMAIL PROTECTED] wrote: > Hi All, > > > > I am developing a new plugin in which it contains the tvb

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

2008-10-16 Thread Jaap Keuter
Hi, Have a look at the tvb_composite_xxx() functions for that. Thanx, Jaap [EMAIL PROTECTED] wrote: > Hi All, > > > > I am developing a new plugin in which it contains the tvb buffer in the > following format xx yy xx zz xx qw …. > > But I need not consider xx values and would like to have

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

2008-10-16 Thread atdev.queries
Hi All, I am developing a new plugin in which it contains the tvb buffer in the following format xx yy xx zz xx qw But I need not consider xx values and would like to have yy zz as one item in other buffer. For that I am thinking of taking yy in one subset and zz in another subset us