ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: Re: [Ethereal-dev] [Patch] revised: tap-tcp_close

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, 2 Dec 2002 17:30:50 -0800
On Mon, Dec 02, 2002 at 09:23:56AM -0500, Jason House wrote:
> Per Ronnie's suggestions, I have updated packet-tcp.c and tap-tcp_close
> to use the last parameter to the packet() call...  Attached is two raw
> source files as well as a diff to touch makefiles and packet-tcp.c

It's a bit ugly to have "td" be static; I suppose it's not a problem in
most cases, but one could imagine TCP-over-IP-over-X.25-over-TCP
captures in which there's more than one TCP header per packet.

Unfortunately, as a pointer to it is passed to "tap_queue_packet()", it
can't be local to "dissect_tcp()".