Re: [Wireshark-dev] Decompress Data

2011-10-10 Thread Marcel Haas
On Fri, 7 Oct 2011 09:34:53 -0600, Stephen Fisher wrote: On Fri, Oct 07, 2011 at 11:31:24AM +0200, Marcel Haas wrote: I have some packets witch are compress witz zlib. I want to uncompress them. Take a look at the tvb_uncompress() or tvb_child_uncompress() functions in epan/tvbuff.c. An

Re: [Wireshark-dev] Decompress Data

2011-10-10 Thread Marcel Haas
On Fri, 7 Oct 2011 09:34:53 -0600, Stephen Fisher wrote: On Fri, Oct 07, 2011 at 11:31:24AM +0200, Marcel Haas wrote: I have some packets witch are compress witz zlib. I want to uncompress them. Take a look at the tvb_uncompress() or tvb_child_uncompress() functions in epan/tvbuff.c. An

Re: [Wireshark-dev] Decompress Data

2011-10-07 Thread Stephen Fisher
On Fri, Oct 07, 2011 at 11:31:24AM +0200, Marcel Haas wrote: > I have some packets witch are compress witz zlib. > I want to uncompress them. Take a look at the tvb_uncompress() or tvb_child_uncompress() functions in epan/tvbuff.c. An example of tvb_child_uncompress() is in the HTTP dissecto

Re: [Wireshark-dev] Decompress Data

2011-10-07 Thread Marcel Haas
On Fri, 7 Oct 2011 13:21:15 +0200, fa...@freesurf.fr wrote: I have a example from my plugin if it may help: unsigned char Ip_Buffer[2000]; /* Get the buffer bytes to decompress */ tvb_memcpy(tvb, Ip_Buffer, (*bitoffset)/8,lgpdubit/8); /* * Decompress it

Re: [Wireshark-dev] Decompress Data

2011-10-07 Thread fab12
I have a example from my plugin if it may help: unsigned char Ip_Buffer[2000]; /* Get the buffer bytes to decompress */ tvb_memcpy(tvb, Ip_Buffer, (*bitoffset)/8,lgpdubit/8); /* * Decompress it: * Decompressed buffer is output in Op_Buffer,

Re: [Wireshark-dev] Decompress Data

2011-10-07 Thread Marcel Haas
On Fri, 7 Oct 2011 13:51:13 +0400, Max Dmitrichenko wrote: 2011/10/7 Marcel Haas : And i have the next problem. Damn wireshark kick my ass :) I have some packets witch are compress witz zlib. I want to uncompress them. I read the dev-guid about transformed data but i dont have a clue. I were t

Re: [Wireshark-dev] Decompress Data

2011-10-07 Thread Max Dmitrichenko
2011/10/7 Marcel Haas : > And i have the next problem. Damn wireshark kick my ass :) > > I have some packets witch are compress witz zlib. > I want to uncompress them. > I read the dev-guid about transformed data but i dont have a clue. > I were testing some stuff but with no good result. > Can som

[Wireshark-dev] Decompress Data

2011-10-07 Thread Marcel Haas
And i have the next problem. Damn wireshark kick my ass :) I have some packets witch are compress witz zlib. I want to uncompress them. I read the dev-guid about transformed data but i dont have a clue. I were testing some stuff but with no good result. Can someone help me with that ? thx and re