|
Ethereal
Re: [Ethereal-dev] Fields and protocols relationships
|
|
- Subject: Re: [Ethereal-dev] Fields and protocols relationships
- From: Stefano Pettini <spettini@xxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 03 Jan 2005 00:00:00 +0100
Guy Harris wrote:
Currently, that can't be done without modifying the "Decode As..." code
- the only fields that the "Decode As" window supports are:
the Ethernet type;
the IP protocol;
TCP ports;
UDP ports;
SCTP PPIs.
Ok. This means that I can't let the user choose the dissectors for a
stack of 2 protocol over UDP.
So dissector A would know whether it'd be calling dissector B or C, and
should dissect the options based on that.
The problem is it's difficult, for dissector A, to understand what's the
upper layer protocol.
Thanks.
Stefano
Powered by MHonArc 2.6.10