diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-01-03 03:51:27 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-01-03 03:51:27 +0000 |
commit | 30ce42b1e9a4d5efd8041c7351106cceba9926c3 (patch) | |
tree | 5d4cf986a8de4dcb06414d369c1626c92863b839 /plugins/plugin_api_list.c | |
parent | 044e7f9875eb7e3ac2cc07f1280ecf27ff4cdd24 (diff) |
Have "dissect_xdlc_control()" take a pointer to a structure containing
pointers to hf_ values, so the subfields of the control field are put
into the protocol tree as filterable items. Change the protocols that
use it appropriately.
Export "dissect_xdlc_control()" to plugins.
svn path=/trunk/; revision=9531
Diffstat (limited to 'plugins/plugin_api_list.c')
-rw-r--r-- | plugins/plugin_api_list.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/plugin_api_list.c b/plugins/plugin_api_list.c index 07e326ea11..70b666efe5 100644 --- a/plugins/plugin_api_list.c +++ b/plugins/plugin_api_list.c @@ -1,7 +1,7 @@ /* plugin_api_list.c * Used to generate various included files for plugin API * - * $Id: plugin_api_list.c,v 1.19 2003/12/01 23:41:45 guy Exp $ + * $Id: plugin_api_list.c,v 1.20 2004/01/03 03:50:38 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -37,6 +37,7 @@ #include "packet-tcp.h" #include "tap.h" #include "asn1.h" +#include "xdlc.h" #include "epan/except.h" gint check_col(column_info*, gint); @@ -393,3 +394,8 @@ void col_set_writable(column_info *, gboolean); const char *decode_enumerated_bitfield_shifted(guint32, guint32, int, const value_string *, const char *); + +int dissect_xdlc_control(tvbuff_t *tvb, int offset, packet_info *pinfo, + proto_tree *xdlc_tree, int hf_xdlc_control, gint ett_xdlc_control, + const xdlc_cf_items *cf_items_nonext, const xdlc_cf_items *cf_items_ext, + int is_response, int extended, int append_info); |