Re: [Wireshark-dev] On Copy as Filter

2009-06-05 Thread Jaap Keuter
On 6 jun 2009, at 01:29, 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" fu

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"

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

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

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

[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 i

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 wrote: > 2009/6/5 Stig Bjørlykke : >> On Fri, Jun 5, 2009 at 1:23 PM, Anders Broman >> wrote: >>> Couldn't: tvb_get_bits8(), tvb_get_bits16(), tvb_get_bits32(), >>> tvb_get_bits64() >>> Be used instead? Add this for up to 64 bit support, for completi

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

2009-06-05 Thread Sam Roberts
2009/6/5 Stig Bjørlykke : > On Fri, Jun 5, 2009 at 1:23 PM, Anders Broman > 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. I was surprise

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

2009-06-05 Thread Sam Roberts
2009/6/4 Stig Bjørlykke : > On Thu, Jun 4, 2009 at 6:58 PM, Sam Roberts 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 observation. > > I don't think i

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 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 wslua-bitfield-v2.patch Descri

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 [mailto:wireshark-dev-boun...@wir

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 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 :) -- Stig Bjø

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 l