Wireshark-dev: [Wireshark-dev] pinfo->private_data usage
From: "Tamazov, Artem" <artem.tamazov@xxxxxxxxxxx>
Date: Thu, 23 Apr 2009 06:51:34 -0500
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
============================================================