Ethereal-dev: RE: [Ethereal-dev] Patch to expose OPC/DPC from MTP3, SCCP preferences
Guy could you give me the name of file that I could reference
for solution number 2 ?
Thanks.
> -----Original Message-----
> From: Guy Harris [mailto:guy@xxxxxxxxxxxx]
> Sent: Monday, December 01, 2003 2:37 PM
> To: mlum@xxxxxxxxxxxxx
> Cc: Ethereal
> Subject: Re: [Ethereal-dev] Patch to expose OPC/DPC from MTP3, SCCP
> preferences
>
>
>
> 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).