aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ipx.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-04-09 22:33:19 +0000
committerGuy Harris <guy@alum.mit.edu>2003-04-09 22:33:19 +0000
commit5311e027899011ec9ec3f64db33c752ec5e82eeb (patch)
tree888ca2f1a7f328d70cfee3c274927589049c530e /packet-ipx.h
parent0cb78e65087dbcb85208001bf0fa339d5ae4d846 (diff)
Make the individual flag bits in the Connection Control field of the SPX
header be filterable fields. Don't hand retransmitted SPX frames to subdissectors - just show the payload as a retransmission of the original frame. Instead of handing a retransmission indicator to SPX subdissectors, hand them a structure containing the datastream type (under the assumption that it's data for the protocol running atop SPX, and that the dissector for that protocol might use it) and the state of the end-of-message bit (under the assumption that it's data for the protocol running atop SPX). svn path=/trunk/; revision=7433
Diffstat (limited to 'packet-ipx.h')
-rw-r--r--packet-ipx.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/packet-ipx.h b/packet-ipx.h
index ce01d46e8b..be7ac9a831 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.26 2003/04/09 20:45:04 guy Exp $
+ * $Id: packet-ipx.h,v 1.27 2003/04/09 22:33:19 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -152,11 +152,12 @@ extern const value_string server_vals[];
void capture_ipx(packet_counts *);
/*
- * Structure attached to retransmitted SPX frames; it contains the
- * frame number of the original transmission.
+ * Structure passed to SPX subdissectors, containing information from
+ * the SPX header that might be useful to the subdissector.
*/
-typedef struct _spx_info{
- guint32 num;
+typedef struct {
+ gboolean eom; /* end-of-message flag in SPX header */
+ guint8 datastream_type; /* datastream type from SPX header */
} spx_info;
#endif