Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-ipx.c packet-ipx.h packet-ndps.c pack
guy 2003/04/07 21:00:55 CDT
Modified files:
. packet-ipx.c packet-ipx.h packet-ndps.c
packet-ndps.h
Log:
Move the definition of the structure constructed for each SPX
transmission (and shared by all retransmissions), and passed to SPX
subdissectors, to "packet-ipx.h", and use the same structure in the SPX
dissector and the NDPS dissector.
Set up conversations and those structures without checking whether we've
seen the packet before or not; just check whether we find the
conversation before creating a new one, and check whether we find a
structure for the packet before creating a new one. Pass it to the
subdissector regardless of whether we've seen the packet before or not,
and check it in the NDPS dissector regardless of whether we've seen it
before or not.
Don't store a "retransmission" flag in the structure - the initial
transmission and the retransmissions all share a single data structure,
but they don't all have the same value for the "retransmission" flag,
and you can tell whether a packet is a retransmission or not by
comparing its frame number with the frame number from the structure; if
they're different, it's a retransmission.
Revision Changes Path
1.124 +74 -62 ethereal/packet-ipx.c
1.25 +15 -1 ethereal/packet-ipx.h
1.12 +5 -7 ethereal/packet-ndps.c
1.4 +1 -9 ethereal/packet-ndps.h