Wireshark mailing list archives

Re: Dissect using val_to_str from external file


From: Anders Broman <anders.broman () ericsson com>
Date: Wed, 11 Nov 2015 14:00:43 +0000

Hi,
If I remember correctly there is a problem to use data between .dlls on Windows. You can copy the value string to your 
plugin I suppose.
Regards
Anders

-----Original Message-----
From: wireshark-dev-bounces () wireshark org [mailto:wireshark-dev-bounces () wireshark org] On Behalf Of Jo
Sent: den 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 val_to_str() in my plugin 
file.

In my source file, i include <epan/ipproto.h> and Visual Studio does only complain at compile time about unresolved 
external symbols (LNK2001). Can someone please help me on how to access ipproto_val_ext from a plugin?

No plugin from the Wireshark sources seem to use external val_to_str() calls as of now.

Bye,
Jo

2015-11-11 12:20 GMT+01:00 Graham Bloice <graham.bloice () trihedral com>:


On 11 November 2015 at 10:33, Jo <wireshark () rueschel de> 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 you want to push those changes back to Wireshark so you don't have 
to apply your local change every time you update your sources then 
submit a change (https://wiki.wireshark.org/Development/SubmittingPatches).

--
Graham Bloice

___________________________________________________________________________
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: