Wireshark mailing list archives
Re: Adding dynamic fields to tree from dissector
From: "marko () kevac org" <marko () kevac org>
Date: Sun, 3 Jul 2016 00:18:42 +0300
On Tue, Jun 21, 2016 at 1:27 PM, marko () kevac org <marko () kevac org> wrote:
I can indeed figure out all possible fields and their types because I have a protocol in some binary format selected by wireshark user through settings.
I have tried to implement this and found out that all dissectors register their fields in a first routine that is called by wireshark: proto_register_*. But I can get info about protocol fields and types only after user chooses file with protocol description via dissector setting. It means that I can get that info only in proto_reg_handoff_*. Is there a way to register fields in a proto_reg_handoff_*, not in a proto_register_*? ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Re: Adding dynamic fields to tree from dissector marko () kevac org (Jul 02)
- Re: Adding dynamic fields to tree from dissector Michael Mann (Jul 02)
- Re: Adding dynamic fields to tree from dissector Jeff Morriss (Jul 03)
- Re: Adding dynamic fields to tree from dissector Michael Mann (Jul 02)