Ethereal-dev: Re: [Ethereal-dev] Patch to expose OPC/DPC from MTP3, SCCP preferences

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Mon, 1 Dec 2003 14:36:48 -0800

On Dec 1, 2003, at 1:12 PM, Michael Lum wrote:

cvs diff -u from latest source:

packet-mtp3.h.diff
	Externs for opc/dpc

Better ways of doing that might be

1) hand a data structure to the SCCP dissector with those values, by setting "pinfo->private_data" to point to that data structure;

2) setting the source and destination network-layer addresses in the "packet_info" structure to refer to those values, giving them a new AT_ type, and having the SCCP dissector get them from there (that'd mean you'd have to add support for displaying addresses of that sort in the address columns - but adding that support might be considered a good thing).