Ethereal-dev: Re: [ethereal-dev] Multiple Dissectors

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

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Fri, 7 Jul 2000 02:13:53 -0700
On Fri, Jul 07, 2000 at 10:04:37AM +0100, Neil Hunter wrote:
> I think we are saying the same thing, but perhaps the place to do it is in the
> packet-udp section. I.e. packet-udp hands off connection-mode data to WTP and
> connection-less to WSP. WTP processes its data and then passes the remainder
> off to WSP. I'm not sure if this level of "chaining" (for want of a better
> term) is supported.

"Supported" in what sense?

The WTP dissector could, if it chose, hand the payload to
"dissect_http()" if run on a day of the month that's even and hand it to
"dissect_bgp()" if run on a day of the month that's odd; doing something
that bizarre is "supported" (even though it's silly), because there's no
rigid fixed mechanism that Ethereal requires all dissectors to use to
hand off payload to the next dissector.