[Wireshark-dev] Importing initializers in plugins on Win32

2007-02-28 Thread Jaap Keuter
Hi list, I've been trying to import some of the true_false strings provided by libwireshark.dll into a plugin, but can't get the compiler to grock it. Here's the relevant code snippet from my source file. #include epan/packet.h #include epan/xdlc.h static hf_register_info hf[] = {

[Wireshark-dev] wireshark build works on XP but not win2k3

2007-02-28 Thread Paul Panzl
I followed the instructions at http://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html (very nice job by the way) an built a custom build of wireshark for a colleague to add additional wccp related disector information. Everything works great for windows XP users. However on win2k3

Re: [Wireshark-dev] wireshark build works on XP but not win2k3

2007-02-28 Thread Ulf Lamping
I followed the instructions at http://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html (very nice job by the way) thanks! Everything works great for windows XP users. However on win2k3 systems when trying to execute the wireshark program We get the following error message

Re: [Wireshark-dev] Importing initializers in plugins on Win32

2007-02-28 Thread Ulf Lamping
-Ursprüngliche Nachricht- Von: Developer support list for Wireshark wireshark-dev@wireshark.org Gesendet: 28.02.07 16:34:26 An: Wireshark Developer mailinglist wireshark-dev@wireshark.org Betreff: [Wireshark-dev] Importing initializers in plugins on Win32 Hi list, I've been

Re: [Wireshark-dev] wireshark build works on XP but not win2k3

2007-02-28 Thread Graham Bloice
Ulf Lamping wrote: I followed the instructions at http://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html (very nice job by the way) thanks! Everything works great for windows XP users. However on win2k3 systems when trying to execute the wireshark program We get the

Re: [Wireshark-dev] Importing initializers in plugins on Win32

2007-02-28 Thread Guy Harris
Ulf Lamping wrote: AFAIK, this is caused as the compiler cannot know the size of this. So you *can* use this value inside the plugin (e.g. using val_to_str), but you cannot use it to *initialize* the hf_register_info. It shouldn't need to know the size, as you're just taking the address of

Re: [Wireshark-dev] [Wireshark-commits] rev 20947: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-sctp.c

2007-02-28 Thread Michael Tuexen
On Feb 28, 2007, at 2:09 PM, [EMAIL PROTECTED] wrote: http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=revrevision=20947 User: lego Date: 2007/02/28 02:09 PM Log: SCTP TSN analysis part 1. Up and running. As it is analysis will stop at TSN rollover (0x-0x). Is it

Re: [Wireshark-dev] [Wireshark-commits] rev 20947: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-sctp.c

2007-02-28 Thread Luis Ontanon
On 2/28/07, Michael Tuexen [EMAIL PROTECTED] wrote: On Feb 28, 2007, at 2:09 PM, [EMAIL PROTECTED] wrote: http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=revrevision=20947 User: lego Date: 2007/02/28 02:09 PM Log: SCTP TSN analysis part 1. Up and running. As it is

[Wireshark-dev] dissector/decoder and value strings

2007-02-28 Thread Bill Fassler
I was just modifying a dissector plugin that I wrote a few months back and am having some problems where I least expected them. Since this is similar to what I already have working I am perplexed. Here is a value string that is not printing out in the dissection. Can anyone see a reason? 1)

Re: [Wireshark-dev] dissector/decoder and value strings

2007-02-28 Thread Guy Harris
Bill Fassler wrote: I was just modifying a dissector plugin that I wrote a few months back and am having some problems where I least expected them. Since this is similar to what I already have working I am perplexed. Here is a value string that is not printing out in the dissection. What

Re: [Wireshark-dev] Dissector Question - arrays of data in packets - how to display

2007-02-28 Thread Guy Harris
Guy Harris wrote: Unfortunately, that doesn't handle the Generator 1/Generator 2/... issue. It might be useful to add new APIs that take an array index as an argument, and that add the array index value after the field name in the display representation of the item. (I think we may

[Wireshark-dev] decoding thru a VPN tunnel

2007-02-28 Thread Bill Fassler
I started a thread on this a while back. I see now that with 0.99.5 I can now use decode as with more choices including IP. That puts me VERY close to being able to dissect our software going through the VPN tunnel (when it is not encrypted I.E. when I use a NULL encryption key). The only

[Wireshark-dev] [Patch] Add Copy as Filter menu item

2007-02-28 Thread Sake Blok
Hi, OK, third and final version. I did some extensive testing and now the patch does exacly what I wanted it to :) Sorry for the first two try's and the noise it created... This patch adds the menu-item Copy as Filter to the menu-bar, the context-menu of the packet-list-pane and the

Re: [Wireshark-dev] tshark statistics locales pitfall

2007-02-28 Thread Stephen Fisher
On Sun, Feb 25, 2007 at 02:52:36PM +0100, Jochen Miroll wrote: I would like to bring a problem to attention which I encountered using the statistics feature of tshark (-z io,stat option). Thanks for bringing this to our attention. Would you mind opening a bug report at

Re: [Wireshark-dev] reassembly.c: fragment_set_partial_reassembly() for fragment_add_seq

2007-02-28 Thread Stephen Fisher
On Thu, Feb 22, 2007 at 01:39:42PM +, Richard van der Hoff wrote: Anders Broman wrote: Committed revision 20888. Without the makefile changes to build the test program as I can't test it on Windows. Thanks Anders. Is there anyone who can test this, please? I've attached the missing