~ubuntu-branches/ubuntu/gutsy/wireshark/gutsy-security

« back to all changes in this revision

Viewing changes to epan/dissectors/packet-gsm_a.c

  • Committer: Bazaar Package Importer
  • Author(s): Frederic Peters
  • Date: 2007-04-01 08:58:40 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070401085840-or3qhrpv8alt1bwg
Tags: 0.99.5-1
* New upstream release.
* debian/patches/09_idl2wrs.dpatch: updated to patch idl2wrs.sh.in.

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
 *   (3GPP TS 24.008 version 6.7.0 Release 6)
66
66
 *       (3GPP TS 24.008 version 6.8.0 Release 6)
67
67
 *
68
 
 * $Id: packet-gsm_a.c 19016 2006-08-24 17:27:45Z etxrab $
 
68
 * $Id: packet-gsm_a.c 19828 2006-11-06 19:56:11Z jmayer $
69
69
 *
70
70
 * Wireshark - Network traffic analyzer
71
71
 * By Gerald Combs <gerald@wireshark.org>
687
687
    { 0x00, "Emergency Number List" },
688
688
    /* Call Control Information Elements 10.5.4 */
689
689
        /* Pos 60 */
690
 
    { 0x00,     "Auxiliary States" },
691
 
    { 0x00,     "Bearer Capability" },
 
690
    { 0x00,     "Auxiliary States" },                                   /* 10.5.4.4 Auxiliary states */
 
691
    { 0x00,     "Bearer Capability" },                                  /* 10.5.4.4a Backup bearer capability */
692
692
    { 0x00,     "Call Control Capabilities" },
693
693
    { 0x00,     "Call State" },
694
694
    { 0x00,     "Called Party BCD Number" },
717
717
    { 0x00,     "Signal" },
718
718
    { 0x00,     "SS Version Indicator" },
719
719
    { 0x00,     "User-user" },
720
 
    { 0x00,     "Alerting Pattern $(NIA)$" },
 
720
    { 0x00,     "Alerting Pattern $(NIA)$" },                   /* 10.5.4.26 Alerting Pattern $(NIA)$ */
721
721
    { 0x00,     "Allowed Actions $(CCBS)$" },
722
722
    { 0x00,     "Stream Identifier" },
723
723
    { 0x00,     "Network Call Control Capabilities" },
724
724
    { 0x00,     "Cause of No CLI" },
725
 
    { 0x00,     "Immediate Modification Indicator" },
726
 
    { 0x00,     "Supported Codec List" },
727
 
    { 0x00,     "Service Category" },
 
725
    { 0x00,     "Immediate Modification Indicator" },   /* 10.5.4.30 Cause of No CLI */
 
726
        /* 10.5.4.31 Void */
 
727
    { 0x00,     "Supported Codec List" },                               /* 10.5.4.32 Supported codec list */
 
728
    { 0x00,     "Service Category" },                                   /* 10.5.4.33 Service category */
 
729
        /* 10.5.4.34 Redial */
 
730
        /* 10.5.4.35 Network-initiated Service Upgrade indicator */
728
731
    /* GPRS Mobility Management Information Elements 10.5.5 */
729
732
    { 0x00,     "Attach Result" },
730
733
    { 0x00,     "Attach Type" },
16058
16061
 
16059
16062
/*
16060
16063
 * [4] 9.3.23
 
16064
 * 3GPP TS 24.008 version 7.5.0 Release 7
16061
16065
 */
16062
16066
static void
16063
16067
dtap_cc_setup(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len)
16119
16123
 
16120
16124
    ELEM_OPT_TLV(0x3a, BSSAP_PDU_TYPE_DTAP, DE_CAUSE_NO_CLI, "");
16121
16125
 
 
16126
        /* Backup bearer capability O TLV 3-15 10.5.4.4a */
 
16127
        ELEM_OPT_TLV(0x41, BSSAP_PDU_TYPE_DTAP, DE_BEARER_CAP, "");
 
16128
 
16122
16129
    /* uplink only */
16123
16130
 
16124
16131
    ELEM_OPT_TLV(0x7f, BSSAP_PDU_TYPE_DTAP, DE_SS_VER_IND, "");
16125
16132
 
16126
 
    ELEM_OPT_T(0xa1, BSSAP_PDU_TYPE_DTAP, DE_FOP, "");
 
16133
    ELEM_OPT_T(0xa1, BSSAP_PDU_TYPE_DTAP, DE_CLIR_SUP, "");
16127
16134
 
16128
 
    ELEM_OPT_T(0xa2, BSSAP_PDU_TYPE_DTAP, DE_CTS_PERM, "");
 
16135
    ELEM_OPT_T(0xa2, BSSAP_PDU_TYPE_DTAP, DE_CLIR_INV, "");
16129
16136
 
16130
16137
    ELEM_OPT_TLV(0x15, BSSAP_PDU_TYPE_DTAP, DE_CC_CAP, "");
16131
16138
 
16137
16144
 
16138
16145
    ELEM_OPT_TLV(0x40, BSSAP_PDU_TYPE_DTAP, DE_SUP_CODEC_LIST, "");
16139
16146
 
 
16147
        /*A3 Redial Redial O T 1 10.5.4.34 
 
16148
         * TODO add this element 
 
16149
         * ELEM_OPT_T(0xA3, BSSAP_PDU_TYPE_DTAP, DE_REDIAL, "");
 
16150
         */
 
16151
 
16140
16152
    EXTRANEOUS_DATA_CHECK(curr_len, 0);
16141
16153
}
16142
16154