diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-09-10 21:54:08 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-09-10 21:54:08 +0000 |
commit | 1d16da664cf42526d835745e1764311dd9e2434a (patch) | |
tree | 50b447ae78480c42ca501d0ef25d54a4774b8a8c /packet-wtp.c | |
parent | aa29eca046c920c92f7c2656e4e2b9dd0867d43c (diff) |
Some WAP WTP naming fixes plus textual Transaction Class value decoding,
from Olivier Biot.
svn path=/trunk/; revision=3914
Diffstat (limited to 'packet-wtp.c')
-rw-r--r-- | packet-wtp.c | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/packet-wtp.c b/packet-wtp.c index f287beaebc..63133bf728 100644 --- a/packet-wtp.c +++ b/packet-wtp.c @@ -2,7 +2,7 @@ * * Routines to dissect WTP component of WAP traffic. * - * $Id: packet-wtp.c,v 1.17 2001/07/20 09:10:16 guy Exp $ + * $Id: packet-wtp.c,v 1.18 2001/09/10 21:54:08 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -100,7 +100,7 @@ static const value_string vals_pdu_type[] = { { 0, NULL } }; -static const value_string vals_transmission_trailer[] = { +static const value_string vals_transaction_trailer[] = { { 0, "Not last packet" }, { 1, "Last packet of message" }, { 2, "Last packet of group" }, @@ -136,6 +136,13 @@ static const value_string vals_abort_reason_provider[] = { { 0x00, NULL } }; +static const value_string vals_transaction_classes[] = { + { 0x00, "Unreliable Invoke without Result" }, + { 0x01, "Reliable Invoke without Result" }, + { 0x02, "Reliable Invoke with Reliable Result" }, + { 0x00, NULL } +}; + /* File scoped variables for the protocol and registered fields */ static int proto_wtp = HF_EMPTY; @@ -516,8 +523,8 @@ proto_register_wtp(void) { &hf_wtp_header_flag_Trailer, { "Trailer Flags", "wtp.trailer_flags", - FT_UINT8, BASE_HEX, VALS( vals_transmission_trailer ), 0x06, - "PDU Type", HFILL + FT_UINT8, BASE_HEX, VALS( vals_transaction_trailer ), 0x06, + "Trailer Flags", HFILL } }, { &hf_wtp_header_flag_RID, @@ -535,10 +542,10 @@ proto_register_wtp(void) } }, { &hf_wtp_header_flag_TID, - { "Transmission ID", + { "Transaction ID", "wtp.TID", FT_UINT16, BASE_HEX, NULL, 0x7FFF, - "Transmission ID", HFILL + "Transaction ID", HFILL } }, { &hf_wtp_header_Inv_version, @@ -572,7 +579,7 @@ proto_register_wtp(void) { &hf_wtp_header_Inv_TransactionClass, { "Transaction Class", "wtp.inv.transaction_class", - FT_UINT8, BASE_HEX, NULL, 0x03, + FT_UINT8, BASE_HEX, VALS( vals_transaction_classes ), 0x03, "Transaction Class", HFILL } }, |