diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-05-24 08:08:43 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-05-24 08:08:43 +0000 |
commit | 29ed841b4a9329b521beba92fcd6dffd9979dc02 (patch) | |
tree | 8f460a25aaaf0a83491ab7332c57609119b7d287 /packet-q2931.c | |
parent | 1188baf47cf81ca60773825c2abac671c2e81404 (diff) | |
download | wireshark-29ed841b4a9329b521beba92fcd6dffd9979dc02.tar.gz wireshark-29ed841b4a9329b521beba92fcd6dffd9979dc02.tar.bz2 wireshark-29ed841b4a9329b521beba92fcd6dffd9979dc02.zip |
Add the UNI 3.0 mode identifier AAL parameter.
svn path=/trunk/; revision=5542
Diffstat (limited to 'packet-q2931.c')
-rw-r--r-- | packet-q2931.c | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/packet-q2931.c b/packet-q2931.c index 19a868f737..f6fcfecbd8 100644 --- a/packet-q2931.c +++ b/packet-q2931.c @@ -2,7 +2,7 @@ * Routines for Q.2931 frame disassembly * Guy Harris <guy@alum.mit.edu> * - * $Id: packet-q2931.c,v 1.24 2002/05/01 08:40:22 guy Exp $ + * $Id: packet-q2931.c,v 1.25 2002/05/24 08:08:43 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -329,6 +329,12 @@ static const value_string q2931_aal1_err_correction_method_vals[] = { { 0x00, NULL } }; +static const value_string q2931_aal_mode_vals[] = { + { 0x00, "Streaming" }, + { 0x01, "Message" }, + { 0x00, NULL } +}; + static const value_string q2931_sscs_type_vals[] = { { 0x00, "Null" }, { 0x01, "Data SSCS based on SSCOP (assured operation)" }, @@ -482,6 +488,18 @@ dissect_q2931_aal_parameters_ie(tvbuff_t *tvb, int offset, int len, len -= 5; break; + case 0x83: /* Mode identifier for AAL3/4 and AAL5 */ + if (len < 2) + return; + value = tvb_get_guint8(tvb, offset + 1); + proto_tree_add_text(tree, tvb, offset, 2, + "Mode: %s", + val_to_str(value, q2931_aal_mode_vals, + "Unknown (0x%02X)")); + offset += 2; + len -= 2; + break; + case 0x84: /* SSCS type identifier for AAL3/4 and AAL5 */ if (len < 2) return; |