[Wireshark-dev] FW: Developer

2011-10-24 Thread shreejith bl
Developer, I'm sorry for not keeping in touch as much as I could be. I want you to understand that this time wasn't squandered. You're going to thank me for letting you know about this when you finally check it out. You're far better with this type of stuff than I am so I know you're going to

[Wireshark-dev] updated developer guide to show proper use of ENC_BIG_ENDIAN

2011-10-24 Thread Ed Beroset
I've entered a bug and attached a patch to both fix a minor build issue (typo in makefile) and to update the Developer Guide to show the correct use of ENC_BIG_ENDIAN rather than FALSE in the final argument of proto_tree_add_item() calls. It might be worth reviewing further to see if some of tho

Re: [Wireshark-dev] Wireshark newbee

2011-10-24 Thread Stephen Fisher
On Mon, Oct 24, 2011 at 12:44:47PM -0500, vijay wrote: > I am looking for some information on how Wireshark uses libpcap to > capture the packets and dissects it i.e, the complete process from > packet capture from the network to displaying to the user. I searched > for such a resource for some

[Wireshark-dev] Wireshark newbee

2011-10-24 Thread vijay
Hi, I am looking for some information on how Wireshark uses libpcap to capture the packets and dissects it i.e, the complete process from packet capture from the network to displaying to the user. I searched for such a resource for some time now but couldnt find one. If some one knows of such a ma

Re: [Wireshark-dev] how to retrieve a guint32

2011-10-24 Thread Guy Harris
On Oct 24, 2011, at 8:49 AM, Teto wrote: > tvb_get_letoh24 / tvb_get_letohl look more straightforward but I don't > understand how they transform the number. > letoh stands for "local to host" ? "Little-endian to host", and the "l" stands for "long". The "'l' stands for 'long'" is a historical

Re: [Wireshark-dev] how to retrieve a guint32

2011-10-24 Thread Graham Bloice
On 24/10/2011 16:49, Teto wrote: > Hi, > I know it's a silly question but can't test it (refactoring of my > plugin). I want to retrieve a 32 bits number but if I use > tvb_get_bits32, I need to pass useless parameters (in my case) since I > want to retrieve all 32 bits. > guint32 tvb_get_bits32

[Wireshark-dev] how to retrieve a guint32

2011-10-24 Thread Teto
  Hi, I know it's a silly question but can't test it (refactoring of my plugin). I want to retrieve a 32 bits number but if I use tvb_get_bits32, I need to pass useless parameters (in my case) since I want to retrieve all 32 bits. guint32 tvb_get_bits32 ( tvbuff_t * tvb,