aboutsummaryrefslogtreecommitdiffstats
path: root/epan/packet_info.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-11-08 01:00:07 +0000
committerGuy Harris <guy@alum.mit.edu>2002-11-08 01:00:07 +0000
commit8181a836572de0193701944662c539b38b375bca (patch)
treef95fffed05a1b3f410df72ed2330c88e5f8324fd /epan/packet_info.h
parent45d9642e5228177b4690e47effaecd7691d5c0be (diff)
Allow more than one circuit with the same circuit ID; a circuit has a
starting and ending frame number, and circuits with the same circuit ID are sorted by the starting frame number (the last circuit can have 0 as the ending frame number, meaning "unknown"), and, when looking up a circuit, we take a frame number as an argument and return the circuit that includes that frame. Add a new circuit ID type for X.25 virtual circuits, and use the circuit mechanism to keep track of the dissector for an X.25 virtual circuit rather than having a private mechanism. svn path=/trunk/; revision=6580
Diffstat (limited to 'epan/packet_info.h')
-rw-r--r--epan/packet_info.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/epan/packet_info.h b/epan/packet_info.h
index 2bb6c9654b..c7bcd95c7e 100644
--- a/epan/packet_info.h
+++ b/epan/packet_info.h
@@ -1,7 +1,7 @@
/* packet_info.h
* Definitions for packet info structures and routines
*
- * $Id: packet_info.h,v 1.24 2002/10/31 07:12:38 guy Exp $
+ * $Id: packet_info.h,v 1.25 2002/11/08 01:00:07 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -103,8 +103,9 @@ typedef enum {
typedef enum {
CT_NONE, /* no port number */
CT_DLCI, /* Frame Relay DLCI */
- CT_ISDN /* ISDN channel number */
- /* Could also have X.25 logical channel and ATM VPI/VCI pairs */
+ CT_ISDN, /* ISDN channel number */
+ CT_X25 /* X.25 logical channel number */
+ /* Could also have ATM VPI/VCI pairs */
} circuit_type;
#define P2P_DIR_UNKNOWN -1