aboutsummaryrefslogtreecommitdiffstats
path: root/packet-rx.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-08-04 04:04:35 +0000
committerGuy Harris <guy@alum.mit.edu>2001-08-04 04:04:35 +0000
commitddfdc5bfb137e2db7e4d10f860a66f08b3718f5d (patch)
treeba532188860e3ac77b8fab9f4a46d05e2f83b4be /packet-rx.h
parent1b3f1fca49c886b504c863d8ad654860c1edd0a4 (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. svn path=/trunk/; revision=3818
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
-