Re: [Wireshark-dev] Dissect using val_to_str from external file

2015-11-11 Thread Graham Bloice
On 11 November 2015 at 13:38, Jo wrote: > Hello, > > I did this now for the functions in my other question > (http://seclists.org/wireshark/2015/Nov/78) but I have no idea how to > get this working for val_to_str() in my plugin file. > > In my source file, i include and Visual Studio does > only

Re: [Wireshark-dev] Dissect using val_to_str from external file

2015-11-11 Thread Anders Broman
11 november 2015 14:39 To: Developer support list for Wireshark Subject: Re: [Wireshark-dev] Dissect using val_to_str from external file Hello, I did this now for the functions in my other question (http://seclists.org/wireshark/2015/Nov/78) but I have no idea how to get this working for

Re: [Wireshark-dev] Dissect using val_to_str from external file

2015-11-11 Thread Jo
Hello, I did this now for the functions in my other question (http://seclists.org/wireshark/2015/Nov/78) but I have no idea how to get this working for val_to_str() in my plugin file. In my source file, i include and Visual Studio does only complain at compile time about unresolved external symb

Re: [Wireshark-dev] Dissect using val_to_str from external file

2015-11-11 Thread Graham Bloice
On 11 November 2015 at 10:33, Jo wrote: > Hello Graham, > > Thank you. > > Is this set of exported symbols meant to be extended on user request? > Or what is the correct way to gain access to symbols that are not yet > marked for export? > > If you can manage with local changes, edit away. If yo

Re: [Wireshark-dev] Dissect using val_to_str from external file

2015-11-11 Thread Jo
Hello Graham, Thank you. Is this set of exported symbols meant to be extended on user request? Or what is the correct way to gain access to symbols that are not yet marked for export? Bye, jo 2015-11-11 11:25 GMT+01:00 Graham Bloice : > See ws_symbol_export.h for the details. __

Re: [Wireshark-dev] Dissect using val_to_str from external file

2015-11-11 Thread Graham Bloice
On 11 November 2015 at 10:11, Jo 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

Re: [Wireshark-dev] Dissect using val_to_str from external file

2015-11-11 Thread Alexis La Goutte
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 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 A

Re: [Wireshark-dev] Dissect using val_to_str from external file

2015-11-11 Thread Jo
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

Re: [Wireshark-dev] Dissect using val_to_str from external file

2015-11-09 Thread Bill Meier
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 , for example? I know how to do it via val_to_str() but I am failing on

[Wireshark-dev] Dissect using val_to_str from external file

2015-11-09 Thread Jo
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 , for example? I know how to do it via val_to_str() but I am failing on importing the existing definitions