Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / asn1 / rnsap / RNSAP-Containers.asn
blobd11bac2ef978bbc4f0a28b1d1ca5bff13c6cfaf2
1 -- RNSAP-Containers.asn
2 --
3 -- Taken from 3GPP TS 25.423 V13.1.0 (2015-12)
4 -- http://www.3gpp.org/ftp/Specs/archive/25_series/25.423/25423-790.zip/25423-790.DOC
5 --
6 -- 9.3.7        Container Definitions
7 --
9 -- **************************************************************
11 -- Container definitions
13 -- **************************************************************
15 RNSAP-Containers {
16 itu-t (0) identified-organization (4) etsi (0) mobileDomain (0) 
17 umts-Access (20) modules (3) rnsap (1) version1 (1) rnsap-Containers (5) }
19 DEFINITIONS AUTOMATIC TAGS ::= 
21 BEGIN
23 -- **************************************************************
25 -- IE parameter types from other modules.
27 -- **************************************************************
29 IMPORTS
30         maxPrivateIEs,
31         maxProtocolExtensions,
32         maxProtocolIEs,
33         Criticality,
34         Presence,
35         PrivateIE-ID,
36         ProtocolIE-ID   
37 FROM RNSAP-CommonDataTypes;
39 -- **************************************************************
41 -- Class Definition for Protocol IEs
43 -- **************************************************************
45 RNSAP-PROTOCOL-IES ::= CLASS {
46         &id                             ProtocolIE-ID                                   UNIQUE,
47         &criticality                    Criticality,
48         &Value,
49         &presence                       Presence
51 WITH SYNTAX {
52         ID                              &id
53         CRITICALITY                     &criticality
54         TYPE                            &Value
55         PRESENCE                        &presence
58 -- **************************************************************
60 -- Class Definition for Protocol IE Pairs
62 -- **************************************************************
64 RNSAP-PROTOCOL-IES-PAIR ::= CLASS {
65         &id                                             ProtocolIE-ID                   UNIQUE,
66         &firstCriticality               Criticality,
67         &FirstValue,
68         &secondCriticality              Criticality,
69         &SecondValue,
70         &presence                               Presence
72 WITH SYNTAX {
73         ID                                              &id
74         FIRST CRITICALITY               &firstCriticality
75         FIRST TYPE                              &FirstValue
76         SECOND CRITICALITY              &secondCriticality
77         SECOND TYPE                             &SecondValue
78         PRESENCE                                &presence
81 -- **************************************************************
83 -- Class Definition for Protocol Extensions
85 -- **************************************************************
87 RNSAP-PROTOCOL-EXTENSION ::= CLASS {
88         &id                                     ProtocolIE-ID           UNIQUE,
89         &criticality            Criticality,
90         &Extension,
91         &presence                       Presence
93 WITH SYNTAX {
94         ID                                      &id
95         CRITICALITY                     &criticality
96         EXTENSION                       &Extension
97         PRESENCE                        &presence
100 -- **************************************************************
102 -- Class Definition for Private IEs
104 -- **************************************************************
106 RNSAP-PRIVATE-IES ::= CLASS {
107         &id                             PrivateIE-ID,
108         &criticality    Criticality,
109         &Value,
110         &presence               Presence
112 WITH SYNTAX {
113         ID                              &id
114         CRITICALITY             &criticality
115         TYPE                    &Value
116         PRESENCE                &presence
119 -- **************************************************************
121 -- Container for Protocol IEs
123 -- **************************************************************
125 ProtocolIE-Container {RNSAP-PROTOCOL-IES : IesSetParam} ::= 
126         SEQUENCE (SIZE (0..maxProtocolIEs)) OF
127         ProtocolIE-Field {{IesSetParam}}
129 ProtocolIE-Single-Container {RNSAP-PROTOCOL-IES : IesSetParam} ::= 
130         ProtocolIE-Field {{IesSetParam}}
132 ProtocolIE-Field {RNSAP-PROTOCOL-IES : IesSetParam} ::= SEQUENCE {
133         id                                      RNSAP-PROTOCOL-IES.&id                          ({IesSetParam}),
134         criticality                     RNSAP-PROTOCOL-IES.&criticality         ({IesSetParam}{@id}),
135         value                           RNSAP-PROTOCOL-IES.&Value                       ({IesSetParam}{@id})
138 -- **************************************************************
140 -- Container for Protocol IE Pairs
142 -- **************************************************************
144 ProtocolIE-ContainerPair {RNSAP-PROTOCOL-IES-PAIR : IesSetParam} ::= 
145         SEQUENCE (SIZE (0..maxProtocolIEs)) OF
146         ProtocolIE-FieldPair {{IesSetParam}}
148 ProtocolIE-FieldPair {RNSAP-PROTOCOL-IES-PAIR : IesSetParam} ::= SEQUENCE {
149         id                                              RNSAP-PROTOCOL-IES-PAIR.&id                                     ({IesSetParam}),
150         firstCriticality                RNSAP-PROTOCOL-IES-PAIR.&firstCriticality       ({IesSetParam}{@id}),
151         firstValue                              RNSAP-PROTOCOL-IES-PAIR.&FirstValue                     ({IesSetParam}{@id}),
152         secondCriticality               RNSAP-PROTOCOL-IES-PAIR.&secondCriticality      ({IesSetParam}{@id}),
153         secondValue                             RNSAP-PROTOCOL-IES-PAIR.&SecondValue            ({IesSetParam}{@id})
156 -- **************************************************************
158 -- Container Lists for Protocol IE Containers
160 -- **************************************************************
162 ProtocolIE-ContainerList {INTEGER : lowerBound, INTEGER : upperBound, RNSAP-PROTOCOL-IES : IesSetParam} ::=
163         SEQUENCE (SIZE (lowerBound..upperBound)) OF
164         ProtocolIE-Container {{IesSetParam}}
166 ProtocolIE-ContainerPairList {INTEGER : lowerBound, INTEGER : upperBound, RNSAP-PROTOCOL-IES-PAIR : IesSetParam} ::=
167         SEQUENCE (SIZE (lowerBound..upperBound)) OF
168         ProtocolIE-ContainerPair {{IesSetParam}}
170 -- **************************************************************
172 -- Container for Protocol Extensions
174 -- **************************************************************
176 ProtocolExtensionContainer {RNSAP-PROTOCOL-EXTENSION : ExtensionSetParam} ::= 
177         SEQUENCE (SIZE (1..maxProtocolExtensions)) OF
178         ProtocolExtensionField {{ExtensionSetParam}}
180 ProtocolExtensionField {RNSAP-PROTOCOL-EXTENSION : ExtensionSetParam} ::= SEQUENCE {
181         id                                              RNSAP-PROTOCOL-EXTENSION.&id                    ({ExtensionSetParam}),
182         criticality                             RNSAP-PROTOCOL-EXTENSION.&criticality   ({ExtensionSetParam}{@id}),
183         extensionValue                  RNSAP-PROTOCOL-EXTENSION.&Extension             ({ExtensionSetParam}{@id})
186 -- **************************************************************
188 -- Container for Private IEs
190 -- **************************************************************
192 PrivateIE-Container {RNSAP-PRIVATE-IES : IesSetParam} ::= 
193         SEQUENCE (SIZE (1..maxPrivateIEs)) OF
194         PrivateIE-Field {{IesSetParam}}
196 PrivateIE-Field {RNSAP-PRIVATE-IES : IesSetParam} ::= SEQUENCE {
197         id                              RNSAP-PRIVATE-IES.&id                           ({IesSetParam}),
198         criticality             RNSAP-PRIVATE-IES.&criticality          ({IesSetParam}{@id}),
199         value                   RNSAP-PRIVATE-IES.&Value                        ({IesSetParam}{@id})