Ethereal-dev: Re: [Ethereal-dev] What that arrays of structs like udphstruct for

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Sun, 3 Aug 2003 23:38:42 -0700
On Sun, Aug 03, 2003 at 10:46:46PM -0500, Andy Howell wrote:
> One little thing that has been bothering me is why do the dissectors 
> have a construct like:

For passing to tap handlers:

	tap_queue_packet(udp_tap, pinfo, udph);

(the last statement in "dissect_udp()").

That doesn't work, of course, if you have more than 4 layers of
tunneling involving UDP.

(Responses set to ethereal-dev@xxxxxxxxxxxx; I'm not the inventor of the
tap mechanism, so sending replies on this topic only to me would be an
error.)