aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/plugin_table.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-02-22 08:56:48 +0000
committerGuy Harris <guy@alum.mit.edu>2002-02-22 08:56:48 +0000
commite9bc3da3707e51d56a96bf079b99f577f7c5ae6c (patch)
tree22e81a4bb0f52d77136bcefccfacdee0d743da32 /plugins/plugin_table.h
parentdf151b784ad010e9efe84b59e2667ae3a4eaeaab (diff)
Handle TPKT packets split across segment boundaries, and multiple TPKT
packets per segment. Instead of having a routine for dissectors such as the Q.931 dissector to call to dissect the TPKT header, have a routine that does all the reassembly and multiple-packets-per-segment work, and have the Q.931 dissector call it. Export "is_tpkt()", and the new routine, to plugins. Add preferences for TPKT and Q.931 reassembly. svn path=/trunk/; revision=4778
Diffstat (limited to 'plugins/plugin_table.h')
-rw-r--r--plugins/plugin_table.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/plugins/plugin_table.h b/plugins/plugin_table.h
index 6c5715fbf2..580df8e0b4 100644
--- a/plugins/plugin_table.h
+++ b/plugins/plugin_table.h
@@ -1,7 +1,7 @@
/* plugin_table.h
* Table of exported addresses for Ethereal plugins.
*
- * $Id: plugin_table.h,v 1.40 2002/02/20 08:24:52 guy Exp $
+ * $Id: plugin_table.h,v 1.41 2002/02/22 08:56:48 guy Exp $
*
* Ethereal - Network traffic analyzer
* Copyright 2000 by Gilbert Ramirez <gram@alumni.rice.edu>
@@ -221,6 +221,10 @@ typedef gint8 (*addr_get_CDR_wchar)(tvbuff_t *, gchar **, int *,
typedef guint32 (*addr_get_CDR_wstring)(tvbuff_t *, gchar **, int *, gboolean,
int, MessageHeader *);
+typedef int (*addr_is_tpkt)(tvbuff_t *, int *);
+typedef void (*addr_dissect_tpkt_encap)(tvbuff_t *, packet_info *,
+ proto_tree *, gboolean, dissector_handle_t);
+
typedef struct {
addr_check_col p_check_col;
@@ -384,7 +388,12 @@ typedef struct {
/* GIOP End */
+ /* TPKT Begin */
+
+ addr_is_tpkt p_is_tpkt;
+ addr_dissect_tpkt_encap p_dissect_tpkt_encap;
+ /* GIOP End */
} plugin_address_table_t;
#else /* ! PLUGINS_NEED_ADDRESS_TABLE */