ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

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

From: "??????????" <237825552@xxxxxx>
Date: Mon, 24 Feb 2014 09:12:09 +0800
thanks.you mean that the display operation is done in the dissector,right?when i debug the wireshark source,i check the function callstack and i can not find the display function,but i want to change the display infomation,what should i do?and what infomation will be display in the packet view,is that column_info?


------------------ ???????? ------------------
??????: "Guy Harris";<guy@xxxxxxxxxxxx>;
????????: 2014??2??24??(??????) ????3:41
??????: "Developer support list for Wireshark"<wireshark-dev@xxxxxxxxxxxxx>;
????: Re: [Wireshark-dev] how to display a packet in the packet_view?


On Feb 23, 2014, at 7:44 AM, ?????????? <237825552@xxxxxx> wrote:

> after get and dissect a packet,how to display this packet in the packet_view?by call which  function in which file?

You don't.  If Wireshark needs to display a packet in the packet view, it'll call the top-level frame dissector, and that will call the next dissector, and so on, including your dissector.  It will then display the results.  You don't need to do anything to cause it to be displayed (and can't do anything to prevent it from being displayed).

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe