guy 2001/09/30 18:14:44 CDT
Modified files:
. packet-nbns.c packet-rlogin.c
packet-tcp.c packet-tcp.h
Log:
The length of an NBSS message can be bigger than 64K, so make the
variable that holds it an "int" rather than a "guint16".
Further strengthen the heuristics the NBSS dissector uses to distinguish
NBSS messages from continuations of NBSS messages.
If an frame contains an NBSS continuation, put the protocol tree item
for the continuation data under an NBSS protocol tree item.
Have the TCP dissector supply information to subdissectors via a "struct
tcpinfo" pointed to by "pinfo->private"; move the urgent pointer value
from a global variable into that structure, and add a Boolean flag that
indicates whether the data it's handing to a subdissector is reassembled
data or not.
Make the NBSS dissector check for continuations only in non-reassembled
data.
Fix the computation, in the TCP dissector, of the offset into the tvbuff
handed to the subdissector of the first byte of stuff that needs further
reassembly, and fix the computation of the sequence number corresponding
to that byte.
Revision Changes Path
1.61 +142 -38 ethereal/packet-nbns.c
1.20 +8 -7 ethereal/packet-rlogin.c
1.110 +28 -13 ethereal/packet-tcp.c
1.7 +10 -5 ethereal/packet-tcp.h