Ethereal-dev: Re: [Ethereal-dev] Ethereal addition for analysing RTP data

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Fri, 7 Mar 2003 12:00:16 -0800
On Fri, Mar 07, 2003 at 08:19:33PM +1100, Ronnie Sahlberg wrote:
> The tap system will call the tap listener for ALL
> rtp packets and is agnostic about the transport.
> Everywhere rtp is seen, the tap listener will be called.

Note that there's a "in_error_pkt" Boolean in the packet_info structure;
any dissector for a protocol in which error packets include some or all
of the packet that caused the error (ICMP, ICMPv6, OSI CLNP, etc.)
should set that flag before dissecting the error packet.

The TCP desegmentation code currently uses that to avoid including those
packets as part of TCP desegmentation; it should probably be used
elsewhere as well - the tap code might be one place to use it.