Hello, Am I correct that it is OK to use pinfo->private_data to pass information to sub-dissectors? Should dissector save pinfo->private_data and restore it after calling all sub-dissectors it needs?
I've seen plenty of dissectors which do not follow this rule and going to fix them. To Wireshark core developers: your opinion? Most cases are trivial, except automatically generated files (which I should not modify and count on ASN.1 compiler, for example) *and* packet-rpc.c written by Uwe Girlich. Any ideas about packet-rpc? Regards, ATA /*Artem Tamazov*/ ============================================================ The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any reproduction, dissemination or distribution of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Tellabs ============================================================
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev@wireshark.org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe