[Wireshark-dev] Compiling with ninja

2014-11-04 Thread Dario Lombardo
Hi list Some days ago I played a bit with ninja and I found useful info I'd like to share with you. Ninja is a compilation system similar to make. It's advantage is that it was built with parallelism in mind, to take advantage of multi-core CPUs. Wireshark uses cmake that has a generator for

[Wireshark-dev] Wireshark dissector development - Reassembly tcp frames

2014-11-04 Thread Guillaume Ribière
Just before starting, sorry for my english... i'm french. I'm developing (in C language) a wireshark dissector to dissect a specific protocol to the company (it's owner of it) where I work but I have a problems when messages are several TCP frames ... I can not reassemble the messages when a

[Wireshark-dev] On which platforms is there a need for Wireshark to have a Language preference?

2014-11-04 Thread Guy Harris
I.e., are there reasons, on any platforms, to set the Language preference to anything other than Auto-Detect? As far as I know, on all supported platforms (Windows, OS X, UN*Xes other than OS X) the Qt system locale gets the locale information from the appropriate place on the OS. Is there

Re: [Wireshark-dev] Compilation error in ws_mempbrk_sse42.c

2014-11-04 Thread Stephen Fisher
On Mon, Nov 03, 2014 at 04:14:15PM -0700, Stephen Fisher wrote: I haven't done Wireshark development in a while, so I'm not familiar with some of the new code, such as wsutil/ws_mempbrk_sse42.c. On FreeBSD 10.0-RELEASE on amd64 (with clang as the new default compiler), I'm getting this

Re: [Wireshark-dev] Compilation error in ws_mempbrk_sse42.c

2014-11-04 Thread Guy Harris
On Nov 4, 2014, at 12:05 PM, Stephen Fisher stephenfis...@centurylink.net wrote: On Mon, Nov 03, 2014 at 04:14:15PM -0700, Stephen Fisher wrote: I haven't done Wireshark development in a while, so I'm not familiar with some of the new code, such as wsutil/ws_mempbrk_sse42.c. On FreeBSD

[Wireshark-dev] Questions regarding ssl_parse_uat() in packet-ssl.c file

2014-11-04 Thread Sara fahman
I'm trying to learn how this function works and I have some questions (I placed them below its following definition). static void ssl_parse_uat(void) { wmem_stack_t *tmp_stack; guint i; ssl_set_debug(ssl_debug_file_name); if (ssl_key_hash) {

Re: [Wireshark-dev] Questions regarding ssl_parse_uat() in packet-ssl.c file

2014-11-04 Thread Evan Huus
On Tue, Nov 4, 2014 at 3:52 PM, Sara fahman fflloorr...@gmail.com wrote: I'm trying to learn how this function works and I have some questions (I placed them below its following definition). static void ssl_parse_uat(void) { wmem_stack_t *tmp_stack; guint i;

Re: [Wireshark-dev] Compilation error in ws_mempbrk_sse42.c

2014-11-04 Thread Stephen Fisher
On Tue, Nov 04, 2014 at 12:34:36PM -0800, Guy Harris wrote: You presumably meant gint8, that being what you used in the commit. Yes, thanks for the clarification. int8_t is a C99 datatype; older versions of various UN*Xes might not support it, and, even on those that do, you might have to

Re: [Wireshark-dev] Compilation error in ws_mempbrk_sse42.c

2014-11-04 Thread Guy Harris
On Nov 4, 2014, at 2:32 PM, Stephen Fisher stephenfis...@centurylink.net wrote: On Tue, Nov 04, 2014 at 12:34:36PM -0800, Guy Harris wrote: int8_t is a C99 datatype; older versions of various UN*Xes might not support it, and, even on those that do, you might have to include stdint.h.