aboutsummaryrefslogtreecommitdiffstats
path: root/packet-rx.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-08-04 04:04:35 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-08-04 04:04:35 +0000
commitcb1c349d6a08d5fbeb68da91d9fb0d2e1f763fb1 (patch)
treeba532188860e3ac77b8fab9f4a46d05e2f83b4be /packet-rx.h
parentbcaf6eb80d4c577243dd0dbf249266cb207c6e4a (diff)
Replace the protocol-specific data in the "packet_info" structure with a
"void *" that a dissector can set to point to such a structure; that means that the stuff in the epan directory doesn't have to know anything about the protocol-specific private data one dissector passes to another, and that structure doesn't have to be changed if a dissector wants to pass some new type of data to another dissector. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3818 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-rx.h')
-rw-r--r--packet-rx.h20
1 files changed, 16 insertions, 4 deletions
diff --git a/packet-rx.h b/packet-rx.h
index b39a5627c4..aef406405e 100644
--- a/packet-rx.h
+++ b/packet-rx.h
@@ -1,13 +1,12 @@
/* packet-rx.h
* Definitions for packet disassembly structures and routines
*
- * $Id: packet-rx.h,v 1.5 2001/05/27 01:48:24 guy Exp $
+ * $Id: packet-rx.h,v 1.6 2001/08/04 04:04:34 guy Exp $
*
* Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@zing.org>
+ * By Gerald Combs <gerald@ethereal.com>
* Copyright 1998 Gerald Combs
*
- *
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
@@ -26,6 +25,20 @@
#ifndef PACKET_RX_H
#define PACKET_RX_H
+/*
+ * Private data passed from the RX dissector to the AFS dissector.
+ */
+struct rxinfo {
+ guint8 type;
+ guint8 flags;
+ guint16 serviceid;
+ guint32 callnumber;
+ guint32 seq;
+};
+
+/*
+ * RX protocol definitions.
+ */
struct rx_header {
guint32 epoch;
guint32 cid;
@@ -107,4 +120,3 @@ struct rxkad_response {
#endif
-