Wireshark mailing list archives
Re: Dissect using val_to_str from external file
From: Alexis La Goutte <alexis.lagoutte () gmail com>
Date: Wed, 11 Nov 2015 11:21:04 +0100
Hi Jo, The better is push a patch on code review for add ipproto_val_ext on libwireshark.def Regards, On Wed, Nov 11, 2015 at 11:11 AM, Jo <wireshark () rueschel de> wrote:
Hello Bill, thank you for your quick answer. I am developing a plugin. Am I on my windows development machine limited to the Wireshark API exposed to plugins (aka libwireshark.def)? Can I somewhere request that ipproto_val_ext is exported for plugins? Bye, Jo 2015-11-09 17:59 GMT+01:00 Bill Meier <wmeier () newsguy com>:On 11/9/2015 10:49 AM, Jo wrote:Hello, In my protocol, one TLV is called "proto" and contains the IANA number of a well-known protocol. How can I display the value together with the string and using the available data from <epan/ipproto.h>, for example? I know how to do it via val_to_str() but I am failing on importing the existing definitions.See epan/dissectors/packet-rohc for 2 examples of how to access ipproto_val_ext from your dissector. ( from an hf[] array entry or using val_to_str_ext()).___________________________________________________________________________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 ___________________________________________________________________________ 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
___________________________________________________________________________ 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:
- Dissect using val_to_str from external file Jo (Nov 09)
- Re: Dissect using val_to_str from external file Bill Meier (Nov 09)
- Re: Dissect using val_to_str from external file Jo (Nov 11)
- Re: Dissect using val_to_str from external file Alexis La Goutte (Nov 11)
- Re: Dissect using val_to_str from external file Graham Bloice (Nov 11)
- Re: Dissect using val_to_str from external file Jo (Nov 11)
- Re: Dissect using val_to_str from external file Graham Bloice (Nov 11)
- Re: Dissect using val_to_str from external file Jo (Nov 11)
- Re: Dissect using val_to_str from external file Anders Broman (Nov 11)
- Re: Dissect using val_to_str from external file Graham Bloice (Nov 11)
- Re: Dissect using val_to_str from external file Jo (Nov 11)
- Re: Dissect using val_to_str from external file Bill Meier (Nov 09)