Re: [Wireshark-dev] query related to dissect_xxx function

2014-02-24 Thread Rahul Rohit
Hi, << This check was necessary in older versions of Wireshark, but not with recent versions. The only purpose it serves now is optimization, so you can safely remove it. >> I understand the point but just for the sake of curiosity I would like to know how the value of tree were to be decided

[Wireshark-dev] ?????? ?????? how to display a packet in the packet_view?

2014-02-24 Thread ??????????
thanks.i also wanna know where does the columns of the packet list get assigned?in which function?is it in the function dissect_data,cause the columns show the high level infomation of protocol? -- -- ??: "Guy Harris";; : 2014??2??24??(??)

Re: [Wireshark-dev] query related to dissect_xxx function

2014-02-24 Thread Guy Harris
On Feb 24, 2014, at 1:02 AM, Rahul Rohit wrote: > I understand the point but just for the sake of curiosity I would like to > know how the value of tree were to be decided i.e. when the value of tree > would be 0 and when will it contain some valid address ?? It will be NULL if the dissection

[Wireshark-dev] Regarding customizing tshark summary display

2014-02-24 Thread Venkatachalam S
Hi, I'm writing a custom dissector for my internal project. I'm having a frame in the following format. 32 byte data + eth_hdr + payload So, there is a 32 byte internal header attached to every packet. All the packets coming to my system, will be in the above format. My problem is, I want to c

Re: [Wireshark-dev] query related to dissect_xxx function

2014-02-24 Thread Evan Huus
On Mon, Feb 24, 2014 at 5:07 AM, Guy Harris wrote: > > On Feb 24, 2014, at 1:02 AM, Rahul Rohit wrote: > >> I understand the point but just for the sake of curiosity I would like to >> know how the value of tree were to be decided i.e. when the value of tree >> would be 0 and when will it conta

Re: [Wireshark-dev] displaying header field without filtering

2014-02-24 Thread John Dill
>Message: 1 >Date: Fri, 21 Feb 2014 11:42:33 -0800 >From: Guy Harris >To: Developer support list for Wireshark >Subject: Re: [Wireshark-dev] displaying header field without filtering >Message-ID: >Content-Type: text/plain; charset=iso-8859-1 > > >On Feb 21, 2014, at 8:15 AM, "John Dill" wrote:

Re: [Wireshark-dev] ?????? ?????? how to display a packet in the packet_view?

2014-02-24 Thread Guy Harris
On Feb 24, 2014, at 1:56 AM, "??" <237825...@qq.com> wrote: > thanks.i also wanna know where does the columns of the packet list get > assigned?in which function? It depends on the column. For the Protocol and Info columns, dissectors call routines such as col_clear(), col_add_str(),

Re: [Wireshark-dev] displaying header field without filtering

2014-02-24 Thread Jeff Morriss
On 02/21/14 14:42, Guy Harris wrote: On Feb 21, 2014, at 8:15 AM, "John Dill" wrote: From the topic discussion, I got the impression that not putting hf_register_info entries for Spare or Reserved fields was considered bad practice. Some might consider it bad practice; I don't. I'm one w

Re: [Wireshark-dev] Insufficient Data for Heuristic

2014-02-24 Thread Jeff Morriss
On 02/22/14 19:13, Evan Huus wrote: This came up on a review [1] and I was wondering if there was already a consensus or if we could easily reach one. If a dissector checks the captured length and finds that it doesn't have enough data captured to run its heuristic (assuming there was enough on

Re: [Wireshark-dev] Heuristic check of T.125 dissector

2014-02-24 Thread Jeff Morriss
On 02/22/14 19:15, Thomas Wiens wrote: Hi, I've written a wireshark dissector for communication between industrial control systems, which come as payload of cotp packets. But the packets are displayed as T.125 protocol, until I disable this protocol in wireshark settings to get my own dissector

[Wireshark-dev] Backporting r54812

2014-02-24 Thread Gerald Combs
The last item in the old roadmap task list is backporting r54812/gdae8660 to master-1.10. However, it appears to depend on r50646/ga39e5b9 and r50647/g3e8b8f0. Should they be backported as well? ___ Sent via:Wireshark-dev m

Re: [Wireshark-dev] Backporting r54812

2014-02-24 Thread Evan Huus
r50646/ga39e5b9 should definitely be backported - that it isn't on the list was an oversight on my part. r50647/g3e8b8f0 is just a comment update - feel free to ignore or backport depending on which is easier. On Mon, Feb 24, 2014 at 6:30 PM, Gerald Combs wrote: > The last item in the old roadma