Re: [Wireshark-dev] Makefile for wireshark dissector

2011-07-13 Thread Ankith Agarwal
compilation. Regards Ankith On Wed, Jul 13, 2011, sagar sg sagu...@gmail.com said: I dont hvae .la file, when actually it gets generated.? and how? On Mon, Jul 11, 2011 at 4:16 PM, Ankith Agarwal anki...@cdac.in wrote: On Mon, Jul 11, 2011, sagar sg sagu...@gmail.com said: Hi, I have

Re: [Wireshark-dev] display of TLVs in MIH protocol dissector

2011-07-12 Thread Ankith Agarwal
problem, which it solves by re-using the ett value. Thanks, jaap On Mon, 11 Jul 2011 14:22:51 +0530 (IST), Ankith Agarwal wrote: Hi I am writing a plugin for dissection of MIH protocol. https://bugs.wireshark.org/bugzilla/attachment.cgi?id=6547 This protocol contains all the information

[Wireshark-dev] display of TLVs in MIH protocol dissector

2011-07-11 Thread Ankith Agarwal
Hi I am writing a plugin for dissection of MIH protocol. https://bugs.wireshark.org/bugzilla/attachment.cgi?id=6547 This protocol contains all the information in form of TLVs(type length value), also this protocol does not specify the maximum number of TLVs inside a packet. I am confused in the

Re: [Wireshark-dev] Makefile for wireshark dissector

2011-07-11 Thread Ankith Agarwal
On Mon, Jul 11, 2011, sagar sg sagu...@gmail.com said: Hi, I have written a dissector plug in in windows and it works fine, now i want to compile it in linux to get the .so file, please help me how do i write a make file for the wireshark dissector. i got one example file but there i

Re: [Wireshark-dev] Makefile for wireshark dissector

2011-07-11 Thread Ankith Agarwal
Hi I don't have much experience with this... On Mon, Jul 11, 2011, sagar sg sagu...@gmail.com said: Hi Ankit, Thank you very much Ankit, I 'm trying to follow the 1st method. the question i have is the code i have written is in C++, i guess the wireshark is compiled with CC

Re: [Wireshark-dev] dissecting bits versus bytes

2011-05-09 Thread Ankith Agarwal
Hi I found these routines in the wireshark.README file: guint8 tvb_get_bits8(tvbuff_t *tvb, gint bit_offset, gint no_of_bits); guint16 tvb_get_bits16(tvbuff_t *tvb, gint bit_offset, gint no_of_bits,gboolean little_endian); guint32 tvb_get_bits32(tvbuff_t *tvb, gint bit_offset, gint

Re: [Wireshark-dev] dissecting bits versus bytes

2011-05-08 Thread Ankith Agarwal
Hi You can directly take the mask and convert them into hex. Example: If you want to extract bits 5-8 then the mask is 0xf0(), for bit 4 the value is 0x08(1000), for bit 32 the value is 0x06(0110), for the last bit the value is 0x01(0001). By this way there is no need of

[Wireshark-dev] MIH protocol dissector

2011-05-05 Thread Ankith Agarwal
Hi I have written a dissector for MIH protocol as specified by IEEE 802.21 standard, and have submitted it as a patch in bugzilla.. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5881 But I have some problem, what is the transport protocol and the port number to be used to decode the

[Wireshark-dev] MIH protocol dissector

2011-04-29 Thread Ankith Agarwal
Hi I have written a dissector for IEEE 802.21 MIH(Media Independent Handover) protocol. Can this be put in the epan dissectors list in wireshark, or as a plugin? (I have tested this code for the coding style and the working of the dissection also is tested.) Regards Ankith -- This message