Re: [Wireshark-dev] Iteration in dissectors?

2012-01-22 Thread Chris Maynard
Tyson Key writes: OK, what about this: for (rwe_pos = 0; rwe_pos < tvb_get_guint8(tvb, 12); rwe_pos++) { proto_tree_add_item(felica_tree, hf_felica_block_nbr, tvb, 14 + 2*rwe_pos, 1, ENC_BIG_ENDIAN); } ... or if you want the 0x80 bytes highlighted, try this: for (rwe_pos =

Re: [Wireshark-dev] Iteration in dissectors?

2012-01-22 Thread Tyson Key
Thanks Chris, If I remember correctly, apart from an annoying, misleading "malformed packet" error, I eventually managed to dump all of the block IDs (1-4) using either : /* Start counting from 13 */ for (rwe_pos = 13; rwe_pos < tvb_get_guint8(tvb, 13); rwe_pos+=2) { p

[Wireshark-dev] Enable/disable Heuristic dissectors from enabled protocols dialogue Was:.Re: [Wireshark-commits] rev 40601: /trunk/epan/ /trunk/epan/: packet.c packet.h

2012-01-22 Thread Anders Broman
Anders Broman skrev 2012-01-20 10:37: -Original Message- From: wireshark-dev-boun...@wireshark.org [mailto:wireshark-dev-boun...@wireshark.org] On Behalf Of Guy Harris Sent: den 20 januari 2012 05:53 To: wireshark-dev@wireshark.org Subject: Re: [Wireshark-dev] [Wireshark-commits] rev 4

Re: [Wireshark-dev] Iteration in dissectors?

2012-01-22 Thread Chris Maynard
Tyson Key writes: > My (partially working) iteration code looks like: > >/* Start counting from 13 */ >for (rwe_pos = 13; rwe_pos < tvb_get_guint8(tvb, 13); rwe_pos++) { > proto_tree_add_item(felica_tree, hf_felica_block_nbr, tvb, > rwe_pos + 1, 1, ENC_BIG_EN

[Wireshark-dev] Iteration in dissectors?

2012-01-22 Thread Tyson Key
Hi, I'm currently working on a dissector for Sony's FeliCa application layer protocol; and things seem to be progressing nicely. However, I'm facing some issues surrounding iterating through list data structures in a non-standard manner. The data structure in question is a list of memory block ID

Re: [Wireshark-dev] Building plugins for both win32 & win64

2012-01-22 Thread Teto
ok, that worked for me (installing source twice). This is not a demanding solution yet having a single folder would be more efficient. Thx On Thu, Jan 19, 2012 at 6:46 PM, wrote: > > > Yea, I've had to do a "distclean" when switching between the two "platforms" > since they share common folders

Re: [Wireshark-dev] Conference room before FOSDEM

2012-01-22 Thread Sébastien Tandel
Hi all, I'm really sad I won't be able to participate with you of this meetup. BUT since Belgium is THE best place on earth to drink some beers, what I can do, is to share with you THE best place to drink them : http://www.deliriumcafe.be/ There are more than 2000 beers there. Don't miss that

Re: [Wireshark-dev] Conference room before FOSDEM

2012-01-22 Thread Sake Blok
On 21 jan 2012, at 11:53, Martin Kaiser wrote: > Hi Gerald, > > Thus wrote Gerald Combs (ger...@wireshark.org): > >> Can any developer who is attending FOSDEM *and* would like to meet at >> the hotel on Friday the 3rd send me an email? I'm working on booking a >> conference room for the day and