aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-01-18 12:57:25 +0000
committerGuy Harris <guy@alum.mit.edu>2004-01-18 12:57:25 +0000
commit369528c7696e0c841379679115ddf87e87f76da5 (patch)
tree69ada902259477475d3356403635381f9e9c747a /plugins
parent4727c62cb3c31791d65ada8d04ed78dc12aef6ec (diff)
Add arguments to "dissect_xdlc_control()" to specify value_string
tables, for use in the top-level item for the control field, for unnumbered frame function codes for commands and responses. If the argument is null, default to the standard tables. Use "dissect_xdlc_control()" and the #defines from "xdlc.h" for IrDA. Use the reported length rather than the data length in the IrDA dissector when iterating over the data in an IrDA packet. Make "dissect_xid()" update the column information as well as the protocol tree. Put the slot number into the protocol tree only for command frames - "the slot number field is undefined in discovery XID response frames", to quote the IrLAP spec. svn path=/trunk/; revision=9715
Diffstat (limited to 'plugins')
-rw-r--r--plugins/plugin_api_list.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/plugin_api_list.c b/plugins/plugin_api_list.c
index 70b666efe5..efbd653a5f 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.20 2004/01/03 03:50:38 guy Exp $
+ * $Id: plugin_api_list.c,v 1.21 2004/01/18 12:57:25 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -398,4 +398,6 @@ const char *decode_enumerated_bitfield_shifted(guint32, guint32, int,
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);
+ const value_string *u_modifier_short_vals_cmd,
+ const value_string *u_modifier_short_vals_resp, int is_response,
+ int is_extended, int append_info);