diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-01-13 06:54:06 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-01-13 06:54:06 +0000 |
commit | a91632129263af4bd374b6c1b16087dbd5107ad7 (patch) | |
tree | 696137ebd44ff9a5607601fdcdb813f8e14a0a99 /epan/xdlc.h | |
parent | c787c60949a65a2953aad441b4168c2d171baf73 (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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27217 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/xdlc.h')
-rw-r--r-- | epan/xdlc.h | 14 |
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 |