aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-wsp.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2010-10-10 20:45:19 +0000
committerBill Meier <wmeier@newsguy.com>2010-10-10 20:45:19 +0000
commit09d718f723cba7c9c59807b1cb4d00ac31100e4d (patch)
tree4d68f4ac99deff384646f495202491aa10f40e57 /epan/dissectors/packet-wsp.c
parent4ae8d2530043b4e300504fd0f71c7a4a0e52d611 (diff)
Rename vals_status & vals_pdu_type to wsp_vals_status & wsp_vals_pdu_type
svn path=/trunk/; revision=34463
Diffstat (limited to 'epan/dissectors/packet-wsp.c')
-rw-r--r--epan/dissectors/packet-wsp.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/epan/dissectors/packet-wsp.c b/epan/dissectors/packet-wsp.c
index 0822c74f72..c3aca3142f 100644
--- a/epan/dissectors/packet-wsp.c
+++ b/epan/dissectors/packet-wsp.c
@@ -353,7 +353,7 @@ static dissector_handle_t media_handle;
/* Handle for WBXML-encoded UAPROF dissector */
static dissector_handle_t wbxml_uaprof_handle;
-const value_string vals_pdu_type[] = {
+const value_string wsp_vals_pdu_type[] = {
{ 0x00, "Reserved" },
{ 0x01, "Connect" },
{ 0x02, "ConnectReply" },
@@ -421,7 +421,7 @@ const value_string vals_pdu_type[] = {
};
/* The WSP status codes are inherited from the HTTP status codes */
-const value_string vals_status[] = {
+const value_string wsp_vals_status[] = {
/* 0x00 - 0x0F Reserved */
{ 0x10, "100 Continue" },
@@ -2343,7 +2343,7 @@ wkh_allow(proto_tree *tree, tvbuff_t *tvb, guint32 hdr_start, packet_info *pinfo
tvb_ensure_bytes_exist(tvb, hdr_start, offset - hdr_start);
ti = proto_tree_add_string(tree, hf_hdr_allow,
tvb, hdr_start, offset - hdr_start,
- val_to_str(val_id & 0x7F, vals_pdu_type,
+ val_to_str(val_id & 0x7F, wsp_vals_pdu_type,
"<Unknown WSP method 0x%02X>"));
ok = TRUE;
}
@@ -2370,7 +2370,7 @@ wkh_public(proto_tree *tree, tvbuff_t *tvb, guint32 hdr_start, packet_info *pinf
tvb_ensure_bytes_exist(tvb, hdr_start, offset - hdr_start);
ti = proto_tree_add_string(tree, hf_hdr_public,
tvb, hdr_start, offset - hdr_start,
- val_to_str(val_id & 0x7F, vals_pdu_type,
+ val_to_str(val_id & 0x7F, wsp_vals_pdu_type,
"<Unknown WSP method 0x%02X>"));
ok = TRUE;
}
@@ -4986,7 +4986,7 @@ dissect_wsp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
if (check_col(pinfo->cinfo, COL_INFO))
{
col_append_fstr(pinfo->cinfo, COL_INFO, "WSP %s (0x%02x)",
- val_to_str (pdut, vals_pdu_type, "Unknown PDU type (0x%02x)"),
+ val_to_str (pdut, wsp_vals_pdu_type, "Unknown PDU type (0x%02x)"),
pdut);
};
@@ -5010,7 +5010,7 @@ dissect_wsp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
tvb, 0, -1, bo_little_endian);
wsp_tree = proto_item_add_subtree(proto_ti, ett_wsp);
proto_item_append_text(proto_ti, ", Method: %s (0x%02x)",
- val_to_str (pdut, vals_pdu_type, "Unknown (0x%02x)"),
+ val_to_str (pdut, wsp_vals_pdu_type, "Unknown (0x%02x)"),
pdut);
/* Add common items: only TID and PDU Type */
@@ -5230,7 +5230,7 @@ dissect_wsp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
guint8 reply_status = tvb_get_guint8(tvb, offset);
const char *reply_status_str;
- reply_status_str = val_to_str (reply_status, vals_status, "(Unknown response status)");
+ reply_status_str = val_to_str (reply_status, wsp_vals_status, "(Unknown response status)");
if (tree) {
ti = proto_tree_add_item (wsp_tree, hf_wsp_header_status,
tvb, offset, 1, bo_little_endian);
@@ -6035,7 +6035,7 @@ proto_register_wsp(void)
{ &hf_wsp_header_pdu_type,
{ "PDU Type",
"wsp.pdu_type",
- FT_UINT8, BASE_HEX, VALS( vals_pdu_type ), 0x00,
+ FT_UINT8, BASE_HEX, VALS( wsp_vals_pdu_type ), 0x00,
NULL, HFILL
}
},
@@ -6105,7 +6105,7 @@ proto_register_wsp(void)
{ &hf_wsp_header_status,
{ "Status",
"wsp.reply.status",
- FT_UINT8, BASE_HEX, VALS( vals_status ), 0x00,
+ FT_UINT8, BASE_HEX, VALS( wsp_vals_status ), 0x00,
"Reply Status", HFILL
}
},