Re: [Wireshark-dev] Program test

2009-06-05 Thread POINTEAU Remy
Thanks you two, For the moment, i run the application on an other platform and it's work. Rémy -Message d'origine- De : wireshark-dev-boun...@wireshark.org [mailto:wireshark-dev-boun...@wireshark.org]de la part de Martin Visser Envoyé : vendredi 5 juin 2009 05:33 À : Developer support

Re: [Wireshark-dev] [Wireshark-users] bit operations are missing from lua bindings?

2009-06-05 Thread Stig Bjørlykke
On Fri, Jun 5, 2009 at 2:00 AM, Sam Roberts vieuxt...@gmail.com wrote: If  TvbRange_methods supported a :bitrange(pos, len) method, that would mask and shift out a bitrange, and return it as a number, that would be great. Sure, have a look at the attached patch. Please test and give feedback

Re: [Wireshark-dev] [Wireshark-users] bit operations are missingfrom lua bindings?

2009-06-05 Thread Anders Broman
Hi, Couldn't: tvb_get_bits8() tvb_get_bits16() tvb_get_bits32() tvb_get_bits64() Be used instead? There is also proto_tree_add_bits_item() and proto_tree_add_bits_ret_val() Regards Anders -Original Message- From: wireshark-dev-boun...@wireshark.org

Re: [Wireshark-dev] [Wireshark-users] bit operations are missingfrom lua bindings?

2009-06-05 Thread Stig Bjørlykke
On Fri, Jun 5, 2009 at 1:23 PM, Anders Broman anders.bro...@ericsson.com wrote: Couldn't: tvb_get_bits8(), tvb_get_bits16(), tvb_get_bits32(), tvb_get_bits64() Be used instead? Good idea, then we can use any TvbRange to fetch a bitfield from. New patch attached. -- Stig Bjørlykke

Re: [Wireshark-dev] [Wireshark-users] bit operations are missing from lua bindings?

2009-06-05 Thread Sam Roberts
2009/6/4 Stig Bjørlykke s...@bjorlykke.org: On Thu, Jun 4, 2009 at 6:58 PM, Sam Roberts vieuxt...@gmail.com wrote: At least, I can't find any lua bindings for accessing bit fields, am I missing them? Wireshark has no bitwise operators implemented for Lua bindings yet, so this is a correct

Re: [Wireshark-dev] [Wireshark-users] bit operations are missingfrom lua bindings?

2009-06-05 Thread Sam Roberts
2009/6/5 Stig Bjørlykke s...@bjorlykke.org: On Fri, Jun 5, 2009 at 1:23 PM, Anders Broman anders.bro...@ericsson.com wrote: Couldn't: tvb_get_bits8(), tvb_get_bits16(), tvb_get_bits32(), tvb_get_bits64() Be used instead? Good idea, then we can use any TvbRange to fetch a bitfield from.

Re: [Wireshark-dev] [Wireshark-users] bit operations are missingfrom lua bindings?

2009-06-05 Thread Sam Roberts
On Fri, Jun 5, 2009 at 11:14 AM, Sam Roberts vieuxt...@gmail.com wrote: 2009/6/5 Stig Bjørlykke s...@bjorlykke.org: On Fri, Jun 5, 2009 at 1:23 PM, Anders Broman anders.bro...@ericsson.com wrote: Couldn't: tvb_get_bits8(), tvb_get_bits16(), tvb_get_bits32(), tvb_get_bits64() Be used

[Wireshark-dev] patch for wslua to support getting ranges from ranges

2009-06-05 Thread Sam Roberts
Useful when you want to pull a buffer range out, and then parse that range. For example, packets like: uint16 count uint8 flag uint32 payload -- ... flag and payload is repeated count times It's nice to be able to pull each substructure out as a Tvbr, then pass it to a function that will parse

Re: [Wireshark-dev] On Copy as Filter

2009-06-05 Thread didier
Hi, Le dimanche 31 mai 2009 à 11:56 +0200, Sake Blok a écrit : Hi Jaap ( list), As the father of the copy as filter functionality, I would vote for it to be present all the time in the packet details pane (where I use it most). Keeping track of all possible filters for the packet list pane

Re: [Wireshark-dev] On Copy as Filter

2009-06-05 Thread Sake Blok
On Fri, Jun 05, 2009 at 11:55:02PM +0200, didier wrote: Le dimanche 31 mai 2009 à 11:56 +0200, Sake Blok a écrit : Hi Jaap ( list), As the father of the copy as filter functionality, I would vote for it to be present all the time in the packet details pane (where I use it most).

Re: [Wireshark-dev] On Copy as Filter

2009-06-05 Thread didier
Le samedi 06 juin 2009 à 00:26 +0200, Sake Blok a écrit : On Fri, Jun 05, 2009 at 11:55:02PM +0200, didier wrote: Le dimanche 31 mai 2009 à 11:56 +0200, Sake Blok a écrit : Hi Jaap ( list), As the father of the copy as filter functionality, I would vote for it to be present

Re: [Wireshark-dev] On Copy as Filter

2009-06-05 Thread Guy Harris
On Jun 5, 2009, at 4:29 PM, didier wrote: Le samedi 06 juin 2009 à 00:26 +0200, Sake Blok a écrit : On Fri, Jun 05, 2009 at 11:55:02PM +0200, didier wrote: Le dimanche 31 mai 2009 à 11:56 +0200, Sake Blok a écrit : Hi Jaap ( list), As the father of the copy as filter functionality, I would

Re: [Wireshark-dev] On Copy as Filter

2009-06-05 Thread Jaap Keuter
On 6 jun 2009, at 01:29, didier dgauthe...@magic.fr wrote: Le samedi 06 juin 2009 à 00:26 +0200, Sake Blok a écrit : On Fri, Jun 05, 2009 at 11:55:02PM +0200, didier wrote: Le dimanche 31 mai 2009 à 11:56 +0200, Sake Blok a écrit : Hi Jaap ( list), As the father of the copy as filter