Michael Lum wrote:


The concrete example is OPC/DPC in MTP3:

The OPC and DPC are integers that I want to make available to the SCCP
dissector.

Put externs in packet-mtp3.h ?

There's a 'private' pointer that can be used. MTP3 currently sets this to be the SI (in order to pass the SI to the mtp3mg dissector):


pinfo->private_data = (void *)(sio & SERVICE_INDICATOR_MASK);

This pointer could probably be made to point to a more complicated structure which would be defined in packet-mtp3.h ?





Reply via email to