aboutsummaryrefslogtreecommitdiffstats
path: root/epan/xdlc.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2009-01-13 06:54:06 +0000
committerGuy Harris <guy@alum.mit.edu>2009-01-13 06:54:06 +0000
commita2f9627d095350be7bb94d7bad7b84fc85c01ada (patch)
tree696137ebd44ff9a5607601fdcdb813f8e14a0a99 /epan/xdlc.h
parent144f4d7c0a511cceb58cf0471b9d392182ac097b (diff)
Fix the URL for the RLM stuff at Cisco.
Add some heuristics to the RLM LAPD-over-UDP dissector, so as not to misdissect as many packets. Fetch the LAPD dissector handle only once. Change some Boolean arguments to gboolean from int. svn path=/trunk/; revision=27217
Diffstat (limited to 'epan/xdlc.h')
-rw-r--r--epan/xdlc.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/epan/xdlc.h b/epan/xdlc.h
index 0f1612cc69..d081537b1e 100644
--- a/epan/xdlc.h
+++ b/epan/xdlc.h
@@ -128,13 +128,21 @@ extern const value_string stype_vals[];
extern const value_string modifier_vals_cmd[];
extern const value_string modifier_vals_resp[];
-extern int get_xdlc_control(const guchar *pd, int offset, int extended);
+extern int get_xdlc_control(const guchar *pd, int offset, gboolean is_extended);
+
+/*
+ * Check whether the control field of the packet looks valid.
+ */
+extern gboolean check_xdlc_control(tvbuff_t *tvb, int offset,
+ const value_string *u_modifier_short_vals_cmd,
+ const value_string *u_modifier_short_vals_resp, gboolean is_response,
+ gboolean is_extended _U_);
extern 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,
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);
+ const value_string *u_modifier_short_vals_resp, gboolean is_response,
+ gboolean is_extended, gboolean append_info);
#endif