Re: [Wireshark-dev] Custom function undefined error

2012-02-26 Thread vijay
yeah, it works. thanks a lot On Mon, Feb 27, 2012 at 12:44 AM, Guy Harris wrote: > > On Feb 26, 2012, at 10:34 PM, vijay wrote: > > > Im writing a in wiretap/pacapng.c file which should be accessible from > dumpcap.c. I have defined it in the pcapng.h header file and > > also included the header

Re: [Wireshark-dev] Custom function undefined error

2012-02-26 Thread Guy Harris
On Feb 26, 2012, at 10:34 PM, vijay wrote: > Im writing a in wiretap/pacapng.c file which should be accessible from > dumpcap.c. I have defined it in the pcapng.h header file and > also included the header #include "wiretap/pcapng.h" inside dumpcap.c. But > still build fails in dumpcap.c with

[Wireshark-dev] Custom function undefined error

2012-02-26 Thread vijay
Hi, Im writing a in wiretap/pacapng.c file which should be accessible from dumpcap.c. I have defined it in the pcapng.h header file and also included the header #include "wiretap/pcapng.h" inside dumpcap.c. But still build fails in dumpcap.c with error that the function is undefined. Is there any

Re: [Wireshark-dev] basic questions about writing dissectors

2012-02-26 Thread Martin Kaiser
Hi Joerg, thanks for your quick reply. Thus wrote Joerg Mayer (jma...@loplof.de): > Take a look at packet-extreme.c and search for hf_edp_checksum_good > (similar code can be found in other dissectors). The core point is > setting the item to PROTO_ITEM_SET_GENERATED. Does this do what you > wan

Re: [Wireshark-dev] basic questions about writing dissectors

2012-02-26 Thread Joerg Mayer
Hello Martin, On Sun, Feb 26, 2012 at 03:20:13PM +0100, Martin Kaiser wrote: > Is it possible to add an element in the packet tree that has an hf entry > and can be filtered but does not have a corresponding tvb? I'm looking > at getting info from a circuit and add this to the tree as a filterable

[Wireshark-dev] basic questions about writing dissectors

2012-02-26 Thread Martin Kaiser
Dear all, I'm playing with some enhancements to my dissectors, some basic questions came up: Is it possible to add an element in the packet tree that has an hf entry and can be filtered but does not have a corresponding tvb? I'm looking at getting info from a circuit and add this to the tree as a