forked from osmocom/wireshark
warning: static declaration for ... follows non-static
svn path=/trunk/; revision=9394
This commit is contained in:
parent
3b77bfee59
commit
297032573f
|
@ -2,7 +2,7 @@
|
|||
* Routines for MMS Message Encapsulation dissection
|
||||
* Copyright 2001, Tom Uijldert <tom.uijldert@cmg.nl>
|
||||
*
|
||||
* $Id: packet-mmse.c,v 1.27 2003/12/20 09:09:10 guy Exp $
|
||||
* $Id: packet-mmse.c,v 1.28 2003/12/21 12:21:37 jmayer Exp $
|
||||
*
|
||||
* Ethereal - Network traffic analyzer
|
||||
* By Gerald Combs <gerald@ethereal.com>
|
||||
|
@ -216,7 +216,7 @@ static const value_string vals_sender_visibility[] = {
|
|||
{ 0x00, NULL },
|
||||
};
|
||||
|
||||
static const value_string vals_status[] = {
|
||||
static const value_string vals_message_status[] = {
|
||||
{ 0x80, "Expired" },
|
||||
{ 0x81, "Retrieved" },
|
||||
{ 0x82, "Rejected" },
|
||||
|
@ -888,7 +888,7 @@ proto_register_mmse(void)
|
|||
},
|
||||
{ &hf_mmse_status,
|
||||
{ "Status", "mmse.status",
|
||||
FT_UINT8, BASE_HEX, VALS(vals_status), 0x00,
|
||||
FT_UINT8, BASE_HEX, VALS(vals_message_status), 0x00,
|
||||
"Current status of the message.",
|
||||
HFILL
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* Routines for Transparent Proxy Cache Protocol packet disassembly
|
||||
* (c) Copyright Giles Scott <gscott2@nortelnetworks.com>
|
||||
*
|
||||
* $Id: packet-nt-tpcp.c,v 1.1 2003/10/28 06:44:21 guy Exp $
|
||||
* $Id: packet-nt-tpcp.c,v 1.2 2003/12/21 12:21:37 jmayer Exp $
|
||||
*
|
||||
* Ethereal - Network traffic analyzer
|
||||
* By Gerald Combs <gerald@ethereal.com>
|
||||
|
@ -78,11 +78,6 @@ static const value_string type_vals[] = {
|
|||
#define TF_TPCP_XON 0x0004
|
||||
#define TF_TPCP_XOFF 0x0008
|
||||
|
||||
static const true_false_string flags_set_truth = {
|
||||
"Set",
|
||||
"Not set"
|
||||
};
|
||||
|
||||
|
||||
/* Version info */
|
||||
#define TPCP_VER_1 1
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
*
|
||||
* Routines to dissect WTP component of WAP traffic.
|
||||
*
|
||||
* $Id: packet-wtp.c,v 1.55 2003/12/21 05:51:34 jmayer Exp $
|
||||
* $Id: packet-wtp.c,v 1.56 2003/12/21 12:21:37 jmayer Exp $
|
||||
*
|
||||
* Ethereal - Network traffic analyzer
|
||||
* By Gerald Combs <gerald@ethereal.com>
|
||||
|
@ -76,7 +76,7 @@ static const true_false_string TVETOK_truth = {
|
|||
"False"
|
||||
};
|
||||
|
||||
static const value_string vals_pdu_type[] = {
|
||||
static const value_string vals_wtp_pdu_type[] = {
|
||||
{ 0, "Not Allowed" },
|
||||
{ 1, "Invoke" },
|
||||
{ 2, "Result" },
|
||||
|
@ -380,7 +380,7 @@ dissect_wtp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
|
|||
|
||||
/* Develop the string to put in the Info column */
|
||||
g_string_sprintf(szInfo, "WTP %s",
|
||||
val_to_str(pdut, vals_pdu_type, "Unknown PDU type 0x%x"));
|
||||
val_to_str(pdut, vals_wtp_pdu_type, "Unknown PDU type 0x%x"));
|
||||
|
||||
switch (pdut) {
|
||||
case INVOKE:
|
||||
|
@ -733,7 +733,7 @@ proto_register_wtp(void)
|
|||
{ &hf_wtp_header_pdu_type,
|
||||
{ "PDU Type",
|
||||
"wtp.pdu_type",
|
||||
FT_UINT8, BASE_HEX, VALS( vals_pdu_type ), 0x78,
|
||||
FT_UINT8, BASE_HEX, VALS( vals_wtp_pdu_type ), 0x78,
|
||||
"PDU Type", HFILL
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue