Ethereal-dev: Re: [Ethereal-dev] MySQL dissector patch

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: Mon, 20 Jan 2003 10:23:59 -0800
On Sun, Jan 19, 2003 at 01:30:46PM -0800, Guy Harris wrote:
> Checked in, with a change to use "tvb_reported_length_remaining()" in
> the loop (so that it throws an exception and reports a short frame if
> the capture was done with a snapshot length less than the length of some
> packet), to use "tvb_ensure_length_remaining()" to find out how much
> data is left in the frame (in order to throw that exception), and with
> an update to "Makefile.nmake" as well as "Makefile.am" (so that it's
> included if you compile with Microsoft Visual C++).

I later changed it to use the "tcp_dissect_pdus()" routine rather than
to do the loop over packets in the TCP segment and the desegmentation
itself.