Wireshark mailing list archives

Dissect using val_to_str from external file


From: Jo <wireshark () rueschel de>
Date: Mon, 9 Nov 2015 16:49:31 +0100

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.

Bye,
Jo
___________________________________________________________________________
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: