Wireshark mailing list archives

Re: Mixing Exported_pdu with Lua


From: Anders Broman via Wireshark-dev <wireshark-dev () wireshark org>
Date: Tue, 18 Feb 2020 16:17:55 +0000

Hi,

I do not do LUA code but did you do 
<https://wiki.wireshark.org/LuaAPI/Proto#Proto.new.28name.2C_desc.29> 
Proto.new(name, desc) and then use that name to call the dissector?

@lua guys: Does that register the LUA dissector by name? or do you do it some 
other way?

Regards

Anders



From: Wireshark-dev <wireshark-dev-bounces () wireshark org> On Behalf Of Juanjo 
Martin Carrascosa
Sent: den 17 februari 2020 16:40
To: Developer support list for Wireshark <wireshark-dev () wireshark org>
Subject: [Wireshark-dev] Mixing Exported_pdu with Lua



Hi devs,



Is it possible to register a Lua dissector so it is called by EXPORTED_PDU? I 
don't manage to "register" the Lua dissector properly.



My goal is to create a dissector in Lua that is called by EXPORTED_PDU and 
later calls another C dissector from Wireshark. Once I get this working and 
this protocol is stable enough, I may write a C file for it.



Any help would be appreciated!



Regards,

Juanjo Martin

Attachment: smime.p7s
Description:

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: