Wireshark mailing list archives

Passing information to a sub dissector


From: Jérôme HAMM <jerome.hamm () planete-sciences org>
Date: Wed, 16 Feb 2022 19:13:56 +0100

Hi

What is the return value of the main dissector function (the one that gets registered with register_dissector) supposed 
to be? What is supposed to be in its void* data parameter? (I checked the doc but didn't find an answer)

Is there a standard way to pass data to a sub-dissector (for example, two sftp streams could be opened in the same ssh 
session, how do I tell the subdissector with which "conversation" it should work)?

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