diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-04-09 20:45:04 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-04-09 20:45:04 +0000 |
commit | 0cb78e65087dbcb85208001bf0fa339d5ae4d846 (patch) | |
tree | 703cc6d2a75fa5c9619277c9b85963cc27370329 /packet-ipx.h | |
parent | 2abb403b4e70e16f93dab06ae270f04b6afff407 (diff) |
Instead of using passing the SPX hash value to subdissectors, attach to
frames that are retransmissions a data structure containing the frame
number of the original frame, and pass that to subdissectors (or, if not
present, pass NULL).
That means we can free the hash values when we're done with the first
pass through the packets.
svn path=/trunk/; revision=7432
Diffstat (limited to 'packet-ipx.h')
-rw-r--r-- | packet-ipx.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/packet-ipx.h b/packet-ipx.h index cabccc3296..ce01d46e8b 100644 --- a/packet-ipx.h +++ b/packet-ipx.h @@ -6,7 +6,7 @@ * Portions Copyright (c) by Gilbert Ramirez 2000-2002 * Portions Copyright (c) Novell, Inc. 2002-2003 * - * $Id: packet-ipx.h,v 1.25 2003/04/08 02:00:53 guy Exp $ + * $Id: packet-ipx.h,v 1.26 2003/04/09 20:45:04 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -152,16 +152,10 @@ extern const value_string server_vals[]; void capture_ipx(packet_counts *); /* - * Structure passed to subdissectors of the SPX dissector. - * It contains fields from the SPX header, plus the frame number. - * It's kept in a hash table, so if an SPX packet is retransmitted, - * there's only one copy, and "num" is the frame number of the first - * transmission. + * Structure attached to retransmitted SPX frames; it contains the + * frame number of the original transmission. */ typedef struct _spx_info{ - guint16 spx_seq; - guint16 spx_ack; - guint16 spx_all; guint32 num; } spx_info; |