aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/plugin_api.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_api.h
parentdf151b784ad010e9efe84b59e2667ae3a4eaeaab (diff)
downloadwireshark-e9bc3da3707e51d56a96bf079b99f577f7c5ae6c.tar.gz
wireshark-e9bc3da3707e51d56a96bf079b99f577f7c5ae6c.tar.bz2
wireshark-e9bc3da3707e51d56a96bf079b99f577f7c5ae6c.zip
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_api.h')
-rw-r--r--plugins/plugin_api.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/plugins/plugin_api.h b/plugins/plugin_api.h
index 17ab3ccfdf..b23e42438f 100644
--- a/plugins/plugin_api.h
+++ b/plugins/plugin_api.h
@@ -1,7 +1,7 @@
/* plugin_api.h
* Routines for Ethereal plugins.
*
- * $Id: plugin_api.h,v 1.37 2002/02/20 08:24:52 guy Exp $
+ * $Id: plugin_api.h,v 1.38 2002/02/22 08:56:48 guy Exp $
*
* Ethereal - Network traffic analyzer
* Copyright 2000 by Gilbert Ramirez <gram@alumni.rice.edu>
@@ -168,7 +168,6 @@
#define prefs_register_enum_preference (*p_prefs_register_enum_preference)
#define prefs_register_string_preference (*p_prefs_register_string_preference)
-
/* GIOP entries Begin */
#define register_giop_user (*p_register_giop_user)
@@ -197,12 +196,19 @@
/* GIOP entries End */
+/* TPKT entries Begin */
+
+#define is_tpkt (*p_is_tpkt)
+#define dissect_tpkt_encap (*p_dissect_tpkt_encap)
+
+/* TPKT entries End */
#endif
#include <epan/packet.h>
#include <epan/conversation.h>
#include "prefs.h"
#include "packet-giop.h"
+#include "packet-tpkt.h"
#include "plugin_table.h"