]> bbs.cooldavid.org Git - net-next-2.6.git/blame - net/netfilter/nf_conntrack_h323_types.c
[NETFILTER]: nf_conntrack/nf_nat: add H.323 helper port
[net-next-2.6.git] / net / netfilter / nf_conntrack_h323_types.c
CommitLineData
c0d4cfd9 1/* Generated by Jing Min Zhao's ASN.1 parser, Apr 20 2006
5e35941d
JMZ
2 *
3 * Copyright (c) 2006 Jing Min Zhao <zhaojingmin@users.sourceforge.net>
4 *
5 * This source code is licensed under General Public License version 2.
6 */
7
8static field_t _TransportAddress_ipAddress[] = { /* SEQUENCE */
9 {FNAME("ip") OCTSTR, FIXD, 4, 0, DECODE,
10 offsetof(TransportAddress_ipAddress, ip), NULL},
11 {FNAME("port") INT, WORD, 0, 0, SKIP, 0, NULL},
12};
13
14static field_t _TransportAddress_ipSourceRoute_route[] = { /* SEQUENCE OF */
15 {FNAME("item") OCTSTR, FIXD, 4, 0, SKIP, 0, NULL},
16};
17
18static field_t _TransportAddress_ipSourceRoute_routing[] = { /* CHOICE */
19 {FNAME("strict") NUL, FIXD, 0, 0, SKIP, 0, NULL},
20 {FNAME("loose") NUL, FIXD, 0, 0, SKIP, 0, NULL},
21};
22
23static field_t _TransportAddress_ipSourceRoute[] = { /* SEQUENCE */
24 {FNAME("ip") OCTSTR, FIXD, 4, 0, SKIP, 0, NULL},
25 {FNAME("port") INT, WORD, 0, 0, SKIP, 0, NULL},
26 {FNAME("route") SEQOF, SEMI, 0, 0, SKIP, 0,
27 _TransportAddress_ipSourceRoute_route},
28 {FNAME("routing") CHOICE, 1, 2, 2, SKIP | EXT, 0,
29 _TransportAddress_ipSourceRoute_routing},
30};
31
32static field_t _TransportAddress_ipxAddress[] = { /* SEQUENCE */
33 {FNAME("node") OCTSTR, FIXD, 6, 0, SKIP, 0, NULL},
34 {FNAME("netnum") OCTSTR, FIXD, 4, 0, SKIP, 0, NULL},
35 {FNAME("port") OCTSTR, FIXD, 2, 0, SKIP, 0, NULL},
36};
37
38static field_t _TransportAddress_ip6Address[] = { /* SEQUENCE */
f587de0e
PM
39 {FNAME("ip") OCTSTR, FIXD, 16, 0, DECODE,
40 offsetof(TransportAddress_ip6Address, ip6), NULL},
5e35941d
JMZ
41 {FNAME("port") INT, WORD, 0, 0, SKIP, 0, NULL},
42};
43
44static field_t _H221NonStandard[] = { /* SEQUENCE */
45 {FNAME("t35CountryCode") INT, BYTE, 0, 0, SKIP, 0, NULL},
46 {FNAME("t35Extension") INT, BYTE, 0, 0, SKIP, 0, NULL},
47 {FNAME("manufacturerCode") INT, WORD, 0, 0, SKIP, 0, NULL},
48};
49
50static field_t _NonStandardIdentifier[] = { /* CHOICE */
51 {FNAME("object") OID, BYTE, 0, 0, SKIP, 0, NULL},
52 {FNAME("h221NonStandard") SEQ, 0, 3, 3, SKIP | EXT, 0,
53 _H221NonStandard},
54};
55
56static field_t _NonStandardParameter[] = { /* SEQUENCE */
57 {FNAME("nonStandardIdentifier") CHOICE, 1, 2, 2, SKIP | EXT, 0,
58 _NonStandardIdentifier},
59 {FNAME("data") OCTSTR, SEMI, 0, 0, SKIP, 0, NULL},
60};
61
62static field_t _TransportAddress[] = { /* CHOICE */
63 {FNAME("ipAddress") SEQ, 0, 2, 2, DECODE,
64 offsetof(TransportAddress, ipAddress), _TransportAddress_ipAddress},
65 {FNAME("ipSourceRoute") SEQ, 0, 4, 4, SKIP | EXT, 0,
66 _TransportAddress_ipSourceRoute},
67 {FNAME("ipxAddress") SEQ, 0, 3, 3, SKIP, 0,
68 _TransportAddress_ipxAddress},
f587de0e
PM
69 {FNAME("ip6Address") SEQ, 0, 2, 2, DECODE | EXT,
70 offsetof(TransportAddress, ip6Address), _TransportAddress_ip6Address},
5e35941d
JMZ
71 {FNAME("netBios") OCTSTR, FIXD, 16, 0, SKIP, 0, NULL},
72 {FNAME("nsap") OCTSTR, 5, 1, 0, SKIP, 0, NULL},
73 {FNAME("nonStandardAddress") SEQ, 0, 2, 2, SKIP, 0,
74 _NonStandardParameter},
75};
76
77static field_t _AliasAddress[] = { /* CHOICE */
78 {FNAME("dialedDigits") NUMDGT, 7, 1, 0, SKIP, 0, NULL},
79 {FNAME("h323-ID") BMPSTR, BYTE, 1, 0, SKIP, 0, NULL},
80 {FNAME("url-ID") IA5STR, WORD, 1, 0, SKIP, 0, NULL},
81 {FNAME("transportID") CHOICE, 3, 7, 7, SKIP | EXT, 0, NULL},
82 {FNAME("email-ID") IA5STR, WORD, 1, 0, SKIP, 0, NULL},
83 {FNAME("partyNumber") CHOICE, 3, 5, 5, SKIP | EXT, 0, NULL},
84 {FNAME("mobileUIM") CHOICE, 1, 2, 2, SKIP | EXT, 0, NULL},
85};
86
87static field_t _Setup_UUIE_sourceAddress[] = { /* SEQUENCE OF */
88 {FNAME("item") CHOICE, 1, 2, 7, SKIP | EXT, 0, _AliasAddress},
89};
90
91static field_t _VendorIdentifier[] = { /* SEQUENCE */
92 {FNAME("vendor") SEQ, 0, 3, 3, SKIP | EXT, 0, _H221NonStandard},
93 {FNAME("productId") OCTSTR, BYTE, 1, 0, SKIP | OPT, 0, NULL},
94 {FNAME("versionId") OCTSTR, BYTE, 1, 0, SKIP | OPT, 0, NULL},
95};
96
97static field_t _GatekeeperInfo[] = { /* SEQUENCE */
98 {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP | OPT, 0,
99 _NonStandardParameter},
100};
101
102static field_t _H310Caps[] = { /* SEQUENCE */
103 {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP | OPT, 0,
104 _NonStandardParameter},
105 {FNAME("dataRatesSupported") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
106 {FNAME("supportedPrefixes") SEQOF, SEMI, 0, 0, SKIP, 0, NULL},
107};
108
109static field_t _H320Caps[] = { /* SEQUENCE */
110 {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP | OPT, 0,
111 _NonStandardParameter},
112 {FNAME("dataRatesSupported") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
113 {FNAME("supportedPrefixes") SEQOF, SEMI, 0, 0, SKIP, 0, NULL},
114};
115
116static field_t _H321Caps[] = { /* SEQUENCE */
117 {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP | OPT, 0,
118 _NonStandardParameter},
119 {FNAME("dataRatesSupported") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
120 {FNAME("supportedPrefixes") SEQOF, SEMI, 0, 0, SKIP, 0, NULL},
121};
122
123static field_t _H322Caps[] = { /* SEQUENCE */
124 {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP | OPT, 0,
125 _NonStandardParameter},
126 {FNAME("dataRatesSupported") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
127 {FNAME("supportedPrefixes") SEQOF, SEMI, 0, 0, SKIP, 0, NULL},
128};
129
130static field_t _H323Caps[] = { /* SEQUENCE */
131 {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP | OPT, 0,
132 _NonStandardParameter},
133 {FNAME("dataRatesSupported") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
134 {FNAME("supportedPrefixes") SEQOF, SEMI, 0, 0, SKIP, 0, NULL},
135};
136
137static field_t _H324Caps[] = { /* SEQUENCE */
138 {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP | OPT, 0,
139 _NonStandardParameter},
140 {FNAME("dataRatesSupported") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
141 {FNAME("supportedPrefixes") SEQOF, SEMI, 0, 0, SKIP, 0, NULL},
142};
143
144static field_t _VoiceCaps[] = { /* SEQUENCE */
145 {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP | OPT, 0,
146 _NonStandardParameter},
147 {FNAME("dataRatesSupported") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
148 {FNAME("supportedPrefixes") SEQOF, SEMI, 0, 0, SKIP, 0, NULL},
149};
150
151static field_t _T120OnlyCaps[] = { /* SEQUENCE */
152 {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP | OPT, 0,
153 _NonStandardParameter},
154 {FNAME("dataRatesSupported") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
155 {FNAME("supportedPrefixes") SEQOF, SEMI, 0, 0, SKIP, 0, NULL},
156};
157
158static field_t _SupportedProtocols[] = { /* CHOICE */
159 {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP, 0,
160 _NonStandardParameter},
161 {FNAME("h310") SEQ, 1, 1, 3, SKIP | EXT, 0, _H310Caps},
162 {FNAME("h320") SEQ, 1, 1, 3, SKIP | EXT, 0, _H320Caps},
163 {FNAME("h321") SEQ, 1, 1, 3, SKIP | EXT, 0, _H321Caps},
164 {FNAME("h322") SEQ, 1, 1, 3, SKIP | EXT, 0, _H322Caps},
165 {FNAME("h323") SEQ, 1, 1, 3, SKIP | EXT, 0, _H323Caps},
166 {FNAME("h324") SEQ, 1, 1, 3, SKIP | EXT, 0, _H324Caps},
167 {FNAME("voice") SEQ, 1, 1, 3, SKIP | EXT, 0, _VoiceCaps},
168 {FNAME("t120-only") SEQ, 1, 1, 3, SKIP | EXT, 0, _T120OnlyCaps},
169 {FNAME("nonStandardProtocol") SEQ, 2, 3, 3, SKIP | EXT, 0, NULL},
170 {FNAME("t38FaxAnnexbOnly") SEQ, 2, 5, 5, SKIP | EXT, 0, NULL},
171};
172
173static field_t _GatewayInfo_protocol[] = { /* SEQUENCE OF */
174 {FNAME("item") CHOICE, 4, 9, 11, SKIP | EXT, 0, _SupportedProtocols},
175};
176
177static field_t _GatewayInfo[] = { /* SEQUENCE */
178 {FNAME("protocol") SEQOF, SEMI, 0, 0, SKIP | OPT, 0,
179 _GatewayInfo_protocol},
180 {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP | OPT, 0,
181 _NonStandardParameter},
182};
183
184static field_t _McuInfo[] = { /* SEQUENCE */
185 {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP | OPT, 0,
186 _NonStandardParameter},
187 {FNAME("protocol") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
188};
189
190static field_t _TerminalInfo[] = { /* SEQUENCE */
191 {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP | OPT, 0,
192 _NonStandardParameter},
193};
194
195static field_t _EndpointType[] = { /* SEQUENCE */
196 {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP | OPT, 0,
197 _NonStandardParameter},
198 {FNAME("vendor") SEQ, 2, 3, 3, SKIP | EXT | OPT, 0,
199 _VendorIdentifier},
200 {FNAME("gatekeeper") SEQ, 1, 1, 1, SKIP | EXT | OPT, 0,
201 _GatekeeperInfo},
202 {FNAME("gateway") SEQ, 2, 2, 2, SKIP | EXT | OPT, 0, _GatewayInfo},
203 {FNAME("mcu") SEQ, 1, 1, 2, SKIP | EXT | OPT, 0, _McuInfo},
204 {FNAME("terminal") SEQ, 1, 1, 1, SKIP | EXT | OPT, 0, _TerminalInfo},
205 {FNAME("mc") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
206 {FNAME("undefinedNode") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
207 {FNAME("set") BITSTR, FIXD, 32, 0, SKIP | OPT, 0, NULL},
208 {FNAME("supportedTunnelledProtocols") SEQOF, SEMI, 0, 0, SKIP | OPT,
209 0, NULL},
210};
211
212static field_t _Setup_UUIE_destinationAddress[] = { /* SEQUENCE OF */
213 {FNAME("item") CHOICE, 1, 2, 7, SKIP | EXT, 0, _AliasAddress},
214};
215
216static field_t _Setup_UUIE_destExtraCallInfo[] = { /* SEQUENCE OF */
217 {FNAME("item") CHOICE, 1, 2, 7, SKIP | EXT, 0, _AliasAddress},
218};
219
220static field_t _Setup_UUIE_destExtraCRV[] = { /* SEQUENCE OF */
221 {FNAME("item") INT, WORD, 0, 0, SKIP, 0, NULL},
222};
223
224static field_t _Setup_UUIE_conferenceGoal[] = { /* CHOICE */
225 {FNAME("create") NUL, FIXD, 0, 0, SKIP, 0, NULL},
226 {FNAME("join") NUL, FIXD, 0, 0, SKIP, 0, NULL},
227 {FNAME("invite") NUL, FIXD, 0, 0, SKIP, 0, NULL},
228 {FNAME("capability-negotiation") NUL, FIXD, 0, 0, SKIP, 0, NULL},
229 {FNAME("callIndependentSupplementaryService") NUL, FIXD, 0, 0, SKIP,
230 0, NULL},
231};
232
233static field_t _Q954Details[] = { /* SEQUENCE */
234 {FNAME("conferenceCalling") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
235 {FNAME("threePartyService") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
236};
237
238static field_t _QseriesOptions[] = { /* SEQUENCE */
239 {FNAME("q932Full") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
240 {FNAME("q951Full") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
241 {FNAME("q952Full") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
242 {FNAME("q953Full") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
243 {FNAME("q955Full") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
244 {FNAME("q956Full") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
245 {FNAME("q957Full") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
246 {FNAME("q954Info") SEQ, 0, 2, 2, SKIP | EXT, 0, _Q954Details},
247};
248
249static field_t _CallType[] = { /* CHOICE */
250 {FNAME("pointToPoint") NUL, FIXD, 0, 0, SKIP, 0, NULL},
251 {FNAME("oneToN") NUL, FIXD, 0, 0, SKIP, 0, NULL},
252 {FNAME("nToOne") NUL, FIXD, 0, 0, SKIP, 0, NULL},
253 {FNAME("nToN") NUL, FIXD, 0, 0, SKIP, 0, NULL},
254};
255
256static field_t _H245_NonStandardIdentifier_h221NonStandard[] = { /* SEQUENCE */
257 {FNAME("t35CountryCode") INT, BYTE, 0, 0, SKIP, 0, NULL},
258 {FNAME("t35Extension") INT, BYTE, 0, 0, SKIP, 0, NULL},
259 {FNAME("manufacturerCode") INT, WORD, 0, 0, SKIP, 0, NULL},
260};
261
262static field_t _H245_NonStandardIdentifier[] = { /* CHOICE */
263 {FNAME("object") OID, BYTE, 0, 0, SKIP, 0, NULL},
264 {FNAME("h221NonStandard") SEQ, 0, 3, 3, SKIP, 0,
265 _H245_NonStandardIdentifier_h221NonStandard},
266};
267
268static field_t _H245_NonStandardParameter[] = { /* SEQUENCE */
269 {FNAME("nonStandardIdentifier") CHOICE, 1, 2, 2, SKIP, 0,
270 _H245_NonStandardIdentifier},
271 {FNAME("data") OCTSTR, SEMI, 0, 0, SKIP, 0, NULL},
272};
273
274static field_t _H261VideoCapability[] = { /* SEQUENCE */
275 {FNAME("qcifMPI") INT, 2, 1, 0, SKIP | OPT, 0, NULL},
276 {FNAME("cifMPI") INT, 2, 1, 0, SKIP | OPT, 0, NULL},
277 {FNAME("temporalSpatialTradeOffCapability") BOOL, FIXD, 0, 0, SKIP, 0,
278 NULL},
279 {FNAME("maxBitRate") INT, WORD, 1, 0, SKIP, 0, NULL},
280 {FNAME("stillImageTransmission") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
281 {FNAME("videoBadMBsCap") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
282};
283
284static field_t _H262VideoCapability[] = { /* SEQUENCE */
285 {FNAME("profileAndLevel-SPatML") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
286 {FNAME("profileAndLevel-MPatLL") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
287 {FNAME("profileAndLevel-MPatML") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
288 {FNAME("profileAndLevel-MPatH-14") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
289 {FNAME("profileAndLevel-MPatHL") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
290 {FNAME("profileAndLevel-SNRatLL") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
291 {FNAME("profileAndLevel-SNRatML") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
292 {FNAME("profileAndLevel-SpatialatH-14") BOOL, FIXD, 0, 0, SKIP, 0,
293 NULL},
294 {FNAME("profileAndLevel-HPatML") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
295 {FNAME("profileAndLevel-HPatH-14") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
296 {FNAME("profileAndLevel-HPatHL") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
297 {FNAME("videoBitRate") INT, CONS, 0, 0, SKIP | OPT, 0, NULL},
298 {FNAME("vbvBufferSize") INT, CONS, 0, 0, SKIP | OPT, 0, NULL},
299 {FNAME("samplesPerLine") INT, WORD, 0, 0, SKIP | OPT, 0, NULL},
300 {FNAME("linesPerFrame") INT, WORD, 0, 0, SKIP | OPT, 0, NULL},
301 {FNAME("framesPerSecond") INT, 4, 0, 0, SKIP | OPT, 0, NULL},
302 {FNAME("luminanceSampleRate") INT, CONS, 0, 0, SKIP | OPT, 0, NULL},
303 {FNAME("videoBadMBsCap") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
304};
305
306static field_t _H263VideoCapability[] = { /* SEQUENCE */
307 {FNAME("sqcifMPI") INT, 5, 1, 0, SKIP | OPT, 0, NULL},
308 {FNAME("qcifMPI") INT, 5, 1, 0, SKIP | OPT, 0, NULL},
309 {FNAME("cifMPI") INT, 5, 1, 0, SKIP | OPT, 0, NULL},
310 {FNAME("cif4MPI") INT, 5, 1, 0, SKIP | OPT, 0, NULL},
311 {FNAME("cif16MPI") INT, 5, 1, 0, SKIP | OPT, 0, NULL},
312 {FNAME("maxBitRate") INT, CONS, 1, 0, SKIP, 0, NULL},
313 {FNAME("unrestrictedVector") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
314 {FNAME("arithmeticCoding") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
315 {FNAME("advancedPrediction") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
316 {FNAME("pbFrames") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
317 {FNAME("temporalSpatialTradeOffCapability") BOOL, FIXD, 0, 0, SKIP, 0,
318 NULL},
319 {FNAME("hrd-B") INT, CONS, 0, 0, SKIP | OPT, 0, NULL},
320 {FNAME("bppMaxKb") INT, WORD, 0, 0, SKIP | OPT, 0, NULL},
321 {FNAME("slowSqcifMPI") INT, WORD, 1, 0, SKIP | OPT, 0, NULL},
322 {FNAME("slowQcifMPI") INT, WORD, 1, 0, SKIP | OPT, 0, NULL},
323 {FNAME("slowCifMPI") INT, WORD, 1, 0, SKIP | OPT, 0, NULL},
324 {FNAME("slowCif4MPI") INT, WORD, 1, 0, SKIP | OPT, 0, NULL},
325 {FNAME("slowCif16MPI") INT, WORD, 1, 0, SKIP | OPT, 0, NULL},
326 {FNAME("errorCompensation") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
327 {FNAME("enhancementLayerInfo") SEQ, 3, 4, 4, SKIP | EXT | OPT, 0,
328 NULL},
329 {FNAME("h263Options") SEQ, 5, 29, 31, SKIP | EXT | OPT, 0, NULL},
330};
331
332static field_t _IS11172VideoCapability[] = { /* SEQUENCE */
333 {FNAME("constrainedBitstream") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
334 {FNAME("videoBitRate") INT, CONS, 0, 0, SKIP | OPT, 0, NULL},
335 {FNAME("vbvBufferSize") INT, CONS, 0, 0, SKIP | OPT, 0, NULL},
336 {FNAME("samplesPerLine") INT, WORD, 0, 0, SKIP | OPT, 0, NULL},
337 {FNAME("linesPerFrame") INT, WORD, 0, 0, SKIP | OPT, 0, NULL},
338 {FNAME("pictureRate") INT, 4, 0, 0, SKIP | OPT, 0, NULL},
339 {FNAME("luminanceSampleRate") INT, CONS, 0, 0, SKIP | OPT, 0, NULL},
340 {FNAME("videoBadMBsCap") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
341};
342
343static field_t _VideoCapability[] = { /* CHOICE */
344 {FNAME("nonStandard") SEQ, 0, 2, 2, SKIP, 0,
345 _H245_NonStandardParameter},
346 {FNAME("h261VideoCapability") SEQ, 2, 5, 6, SKIP | EXT, 0,
347 _H261VideoCapability},
348 {FNAME("h262VideoCapability") SEQ, 6, 17, 18, SKIP | EXT, 0,
349 _H262VideoCapability},
350 {FNAME("h263VideoCapability") SEQ, 7, 13, 21, SKIP | EXT, 0,
351 _H263VideoCapability},
352 {FNAME("is11172VideoCapability") SEQ, 6, 7, 8, SKIP | EXT, 0,
353 _IS11172VideoCapability},
354 {FNAME("genericVideoCapability") SEQ, 5, 6, 6, SKIP | EXT, 0, NULL},
355};
356
357static field_t _AudioCapability_g7231[] = { /* SEQUENCE */
358 {FNAME("maxAl-sduAudioFrames") INT, BYTE, 1, 0, SKIP, 0, NULL},
359 {FNAME("silenceSuppression") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
360};
361
362static field_t _IS11172AudioCapability[] = { /* SEQUENCE */
363 {FNAME("audioLayer1") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
364 {FNAME("audioLayer2") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
365 {FNAME("audioLayer3") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
366 {FNAME("audioSampling32k") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
367 {FNAME("audioSampling44k1") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
368 {FNAME("audioSampling48k") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
369 {FNAME("singleChannel") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
370 {FNAME("twoChannels") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
371 {FNAME("bitRate") INT, WORD, 1, 0, SKIP, 0, NULL},
372};
373
374static field_t _IS13818AudioCapability[] = { /* SEQUENCE */
375 {FNAME("audioLayer1") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
376 {FNAME("audioLayer2") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
377 {FNAME("audioLayer3") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
378 {FNAME("audioSampling16k") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
379 {FNAME("audioSampling22k05") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
380 {FNAME("audioSampling24k") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
381 {FNAME("audioSampling32k") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
382 {FNAME("audioSampling44k1") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
383 {FNAME("audioSampling48k") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
384 {FNAME("singleChannel") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
385 {FNAME("twoChannels") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
386 {FNAME("threeChannels2-1") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
387 {FNAME("threeChannels3-0") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
388 {FNAME("fourChannels2-0-2-0") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
389 {FNAME("fourChannels2-2") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
390 {FNAME("fourChannels3-1") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
391 {FNAME("fiveChannels3-0-2-0") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
392 {FNAME("fiveChannels3-2") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
393 {FNAME("lowFrequencyEnhancement") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
394 {FNAME("multilingual") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
395 {FNAME("bitRate") INT, WORD, 1, 0, SKIP, 0, NULL},
396};
397
398static field_t _AudioCapability[] = { /* CHOICE */
399 {FNAME("nonStandard") SEQ, 0, 2, 2, SKIP, 0,
400 _H245_NonStandardParameter},
401 {FNAME("g711Alaw64k") INT, BYTE, 1, 0, SKIP, 0, NULL},
402 {FNAME("g711Alaw56k") INT, BYTE, 1, 0, SKIP, 0, NULL},
403 {FNAME("g711Ulaw64k") INT, BYTE, 1, 0, SKIP, 0, NULL},
404 {FNAME("g711Ulaw56k") INT, BYTE, 1, 0, SKIP, 0, NULL},
405 {FNAME("g722-64k") INT, BYTE, 1, 0, SKIP, 0, NULL},
406 {FNAME("g722-56k") INT, BYTE, 1, 0, SKIP, 0, NULL},
407 {FNAME("g722-48k") INT, BYTE, 1, 0, SKIP, 0, NULL},
408 {FNAME("g7231") SEQ, 0, 2, 2, SKIP, 0, _AudioCapability_g7231},
409 {FNAME("g728") INT, BYTE, 1, 0, SKIP, 0, NULL},
410 {FNAME("g729") INT, BYTE, 1, 0, SKIP, 0, NULL},
411 {FNAME("g729AnnexA") INT, BYTE, 1, 0, SKIP, 0, NULL},
412 {FNAME("is11172AudioCapability") SEQ, 0, 9, 9, SKIP | EXT, 0,
413 _IS11172AudioCapability},
414 {FNAME("is13818AudioCapability") SEQ, 0, 21, 21, SKIP | EXT, 0,
415 _IS13818AudioCapability},
416 {FNAME("g729wAnnexB") INT, BYTE, 1, 0, SKIP, 0, NULL},
417 {FNAME("g729AnnexAwAnnexB") INT, BYTE, 1, 0, SKIP, 0, NULL},
418 {FNAME("g7231AnnexCCapability") SEQ, 1, 3, 3, SKIP | EXT, 0, NULL},
419 {FNAME("gsmFullRate") SEQ, 0, 3, 3, SKIP | EXT, 0, NULL},
420 {FNAME("gsmHalfRate") SEQ, 0, 3, 3, SKIP | EXT, 0, NULL},
421 {FNAME("gsmEnhancedFullRate") SEQ, 0, 3, 3, SKIP | EXT, 0, NULL},
422 {FNAME("genericAudioCapability") SEQ, 5, 6, 6, SKIP | EXT, 0, NULL},
423 {FNAME("g729Extensions") SEQ, 1, 8, 8, SKIP | EXT, 0, NULL},
424};
425
426static field_t _DataProtocolCapability[] = { /* CHOICE */
427 {FNAME("nonStandard") SEQ, 0, 2, 2, SKIP, 0,
428 _H245_NonStandardParameter},
429 {FNAME("v14buffered") NUL, FIXD, 0, 0, SKIP, 0, NULL},
430 {FNAME("v42lapm") NUL, FIXD, 0, 0, SKIP, 0, NULL},
431 {FNAME("hdlcFrameTunnelling") NUL, FIXD, 0, 0, SKIP, 0, NULL},
432 {FNAME("h310SeparateVCStack") NUL, FIXD, 0, 0, SKIP, 0, NULL},
433 {FNAME("h310SingleVCStack") NUL, FIXD, 0, 0, SKIP, 0, NULL},
434 {FNAME("transparent") NUL, FIXD, 0, 0, SKIP, 0, NULL},
435 {FNAME("segmentationAndReassembly") NUL, FIXD, 0, 0, SKIP, 0, NULL},
436 {FNAME("hdlcFrameTunnelingwSAR") NUL, FIXD, 0, 0, SKIP, 0, NULL},
437 {FNAME("v120") NUL, FIXD, 0, 0, SKIP, 0, NULL},
438 {FNAME("separateLANStack") NUL, FIXD, 0, 0, SKIP, 0, NULL},
439 {FNAME("v76wCompression") CHOICE, 2, 3, 3, SKIP | EXT, 0, NULL},
440 {FNAME("tcp") NUL, FIXD, 0, 0, SKIP, 0, NULL},
441 {FNAME("udp") NUL, FIXD, 0, 0, SKIP, 0, NULL},
442};
443
444static field_t _T84Profile_t84Restricted[] = { /* SEQUENCE */
445 {FNAME("qcif") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
446 {FNAME("cif") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
447 {FNAME("ccir601Seq") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
448 {FNAME("ccir601Prog") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
449 {FNAME("hdtvSeq") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
450 {FNAME("hdtvProg") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
451 {FNAME("g3FacsMH200x100") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
452 {FNAME("g3FacsMH200x200") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
453 {FNAME("g4FacsMMR200x100") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
454 {FNAME("g4FacsMMR200x200") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
455 {FNAME("jbig200x200Seq") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
456 {FNAME("jbig200x200Prog") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
457 {FNAME("jbig300x300Seq") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
458 {FNAME("jbig300x300Prog") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
459 {FNAME("digPhotoLow") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
460 {FNAME("digPhotoMedSeq") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
461 {FNAME("digPhotoMedProg") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
462 {FNAME("digPhotoHighSeq") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
463 {FNAME("digPhotoHighProg") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
464};
465
466static field_t _T84Profile[] = { /* CHOICE */
467 {FNAME("t84Unrestricted") NUL, FIXD, 0, 0, SKIP, 0, NULL},
468 {FNAME("t84Restricted") SEQ, 0, 19, 19, SKIP | EXT, 0,
469 _T84Profile_t84Restricted},
470};
471
472static field_t _DataApplicationCapability_application_t84[] = { /* SEQUENCE */
473 {FNAME("t84Protocol") CHOICE, 3, 7, 14, SKIP | EXT, 0,
474 _DataProtocolCapability},
475 {FNAME("t84Profile") CHOICE, 1, 2, 2, SKIP, 0, _T84Profile},
476};
477
478static field_t _DataApplicationCapability_application_nlpid[] = { /* SEQUENCE */
479 {FNAME("nlpidProtocol") CHOICE, 3, 7, 14, SKIP | EXT, 0,
480 _DataProtocolCapability},
481 {FNAME("nlpidData") OCTSTR, SEMI, 0, 0, SKIP, 0, NULL},
482};
483
484static field_t _DataApplicationCapability_application[] = { /* CHOICE */
485 {FNAME("nonStandard") SEQ, 0, 2, 2, SKIP, 0,
486 _H245_NonStandardParameter},
487 {FNAME("t120") CHOICE, 3, 7, 14, DECODE | EXT,
488 offsetof(DataApplicationCapability_application, t120),
489 _DataProtocolCapability},
490 {FNAME("dsm-cc") CHOICE, 3, 7, 14, SKIP | EXT, 0,
491 _DataProtocolCapability},
492 {FNAME("userData") CHOICE, 3, 7, 14, SKIP | EXT, 0,
493 _DataProtocolCapability},
494 {FNAME("t84") SEQ, 0, 2, 2, SKIP, 0,
495 _DataApplicationCapability_application_t84},
496 {FNAME("t434") CHOICE, 3, 7, 14, SKIP | EXT, 0,
497 _DataProtocolCapability},
498 {FNAME("h224") CHOICE, 3, 7, 14, SKIP | EXT, 0,
499 _DataProtocolCapability},
500 {FNAME("nlpid") SEQ, 0, 2, 2, SKIP, 0,
501 _DataApplicationCapability_application_nlpid},
502 {FNAME("dsvdControl") NUL, FIXD, 0, 0, SKIP, 0, NULL},
503 {FNAME("h222DataPartitioning") CHOICE, 3, 7, 14, SKIP | EXT, 0,
504 _DataProtocolCapability},
505 {FNAME("t30fax") CHOICE, 3, 7, 14, SKIP | EXT, 0, NULL},
506 {FNAME("t140") CHOICE, 3, 7, 14, SKIP | EXT, 0, NULL},
507 {FNAME("t38fax") SEQ, 0, 2, 2, SKIP, 0, NULL},
508 {FNAME("genericDataCapability") SEQ, 5, 6, 6, SKIP | EXT, 0, NULL},
509};
510
511static field_t _DataApplicationCapability[] = { /* SEQUENCE */
512 {FNAME("application") CHOICE, 4, 10, 14, DECODE | EXT,
513 offsetof(DataApplicationCapability, application),
514 _DataApplicationCapability_application},
515 {FNAME("maxBitRate") INT, CONS, 0, 0, SKIP, 0, NULL},
516};
517
518static field_t _EncryptionMode[] = { /* CHOICE */
519 {FNAME("nonStandard") SEQ, 0, 2, 2, SKIP, 0,
520 _H245_NonStandardParameter},
521 {FNAME("h233Encryption") NUL, FIXD, 0, 0, SKIP, 0, NULL},
522};
523
524static field_t _DataType[] = { /* CHOICE */
525 {FNAME("nonStandard") SEQ, 0, 2, 2, SKIP, 0,
526 _H245_NonStandardParameter},
527 {FNAME("nullData") NUL, FIXD, 0, 0, SKIP, 0, NULL},
528 {FNAME("videoData") CHOICE, 3, 5, 6, SKIP | EXT, 0, _VideoCapability},
529 {FNAME("audioData") CHOICE, 4, 14, 22, SKIP | EXT, 0,
530 _AudioCapability},
531 {FNAME("data") SEQ, 0, 2, 2, DECODE | EXT, offsetof(DataType, data),
532 _DataApplicationCapability},
533 {FNAME("encryptionData") CHOICE, 1, 2, 2, SKIP | EXT, 0,
534 _EncryptionMode},
535 {FNAME("h235Control") SEQ, 0, 2, 2, SKIP, 0, NULL},
536 {FNAME("h235Media") SEQ, 0, 2, 2, SKIP | EXT, 0, NULL},
537 {FNAME("multiplexedStream") SEQ, 0, 2, 2, SKIP | EXT, 0, NULL},
538};
539
540static field_t _H222LogicalChannelParameters[] = { /* SEQUENCE */
541 {FNAME("resourceID") INT, WORD, 0, 0, SKIP, 0, NULL},
542 {FNAME("subChannelID") INT, WORD, 0, 0, SKIP, 0, NULL},
543 {FNAME("pcr-pid") INT, WORD, 0, 0, SKIP | OPT, 0, NULL},
544 {FNAME("programDescriptors") OCTSTR, SEMI, 0, 0, SKIP | OPT, 0, NULL},
545 {FNAME("streamDescriptors") OCTSTR, SEMI, 0, 0, SKIP | OPT, 0, NULL},
546};
547
548static field_t _H223LogicalChannelParameters_adaptationLayerType_al3[] = { /* SEQUENCE */
549 {FNAME("controlFieldOctets") INT, 2, 0, 0, SKIP, 0, NULL},
550 {FNAME("sendBufferSize") INT, CONS, 0, 0, SKIP, 0, NULL},
551};
552
553static field_t _H223LogicalChannelParameters_adaptationLayerType[] = { /* CHOICE */
554 {FNAME("nonStandard") SEQ, 0, 2, 2, SKIP, 0,
555 _H245_NonStandardParameter},
556 {FNAME("al1Framed") NUL, FIXD, 0, 0, SKIP, 0, NULL},
557 {FNAME("al1NotFramed") NUL, FIXD, 0, 0, SKIP, 0, NULL},
558 {FNAME("al2WithoutSequenceNumbers") NUL, FIXD, 0, 0, SKIP, 0, NULL},
559 {FNAME("al2WithSequenceNumbers") NUL, FIXD, 0, 0, SKIP, 0, NULL},
560 {FNAME("al3") SEQ, 0, 2, 2, SKIP, 0,
561 _H223LogicalChannelParameters_adaptationLayerType_al3},
562 {FNAME("al1M") SEQ, 0, 7, 8, SKIP | EXT, 0, NULL},
563 {FNAME("al2M") SEQ, 0, 2, 2, SKIP | EXT, 0, NULL},
564 {FNAME("al3M") SEQ, 0, 5, 6, SKIP | EXT, 0, NULL},
565};
566
567static field_t _H223LogicalChannelParameters[] = { /* SEQUENCE */
568 {FNAME("adaptationLayerType") CHOICE, 3, 6, 9, SKIP | EXT, 0,
569 _H223LogicalChannelParameters_adaptationLayerType},
570 {FNAME("segmentableFlag") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
571};
572
573static field_t _CRCLength[] = { /* CHOICE */
574 {FNAME("crc8bit") NUL, FIXD, 0, 0, SKIP, 0, NULL},
575 {FNAME("crc16bit") NUL, FIXD, 0, 0, SKIP, 0, NULL},
576 {FNAME("crc32bit") NUL, FIXD, 0, 0, SKIP, 0, NULL},
577};
578
579static field_t _V76HDLCParameters[] = { /* SEQUENCE */
580 {FNAME("crcLength") CHOICE, 2, 3, 3, SKIP | EXT, 0, _CRCLength},
581 {FNAME("n401") INT, WORD, 1, 0, SKIP, 0, NULL},
582 {FNAME("loopbackTestProcedure") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
583};
584
585static field_t _V76LogicalChannelParameters_suspendResume[] = { /* CHOICE */
586 {FNAME("noSuspendResume") NUL, FIXD, 0, 0, SKIP, 0, NULL},
587 {FNAME("suspendResumewAddress") NUL, FIXD, 0, 0, SKIP, 0, NULL},
588 {FNAME("suspendResumewoAddress") NUL, FIXD, 0, 0, SKIP, 0, NULL},
589};
590
591static field_t _V76LogicalChannelParameters_mode_eRM_recovery[] = { /* CHOICE */
592 {FNAME("rej") NUL, FIXD, 0, 0, SKIP, 0, NULL},
593 {FNAME("sREJ") NUL, FIXD, 0, 0, SKIP, 0, NULL},
594 {FNAME("mSREJ") NUL, FIXD, 0, 0, SKIP, 0, NULL},
595};
596
597static field_t _V76LogicalChannelParameters_mode_eRM[] = { /* SEQUENCE */
598 {FNAME("windowSize") INT, 7, 1, 0, SKIP, 0, NULL},
599 {FNAME("recovery") CHOICE, 2, 3, 3, SKIP | EXT, 0,
600 _V76LogicalChannelParameters_mode_eRM_recovery},
601};
602
603static field_t _V76LogicalChannelParameters_mode[] = { /* CHOICE */
604 {FNAME("eRM") SEQ, 0, 2, 2, SKIP | EXT, 0,
605 _V76LogicalChannelParameters_mode_eRM},
606 {FNAME("uNERM") NUL, FIXD, 0, 0, SKIP, 0, NULL},
607};
608
609static field_t _V75Parameters[] = { /* SEQUENCE */
610 {FNAME("audioHeaderPresent") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
611};
612
613static field_t _V76LogicalChannelParameters[] = { /* SEQUENCE */
614 {FNAME("hdlcParameters") SEQ, 0, 3, 3, SKIP | EXT, 0,
615 _V76HDLCParameters},
616 {FNAME("suspendResume") CHOICE, 2, 3, 3, SKIP | EXT, 0,
617 _V76LogicalChannelParameters_suspendResume},
618 {FNAME("uIH") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
619 {FNAME("mode") CHOICE, 1, 2, 2, SKIP | EXT, 0,
620 _V76LogicalChannelParameters_mode},
621 {FNAME("v75Parameters") SEQ, 0, 1, 1, SKIP | EXT, 0, _V75Parameters},
622};
623
624static field_t _H2250LogicalChannelParameters_nonStandard[] = { /* SEQUENCE OF */
625 {FNAME("item") SEQ, 0, 2, 2, SKIP, 0, _H245_NonStandardParameter},
626};
627
628static field_t _UnicastAddress_iPAddress[] = { /* SEQUENCE */
629 {FNAME("network") OCTSTR, FIXD, 4, 0, DECODE,
630 offsetof(UnicastAddress_iPAddress, network), NULL},
631 {FNAME("tsapIdentifier") INT, WORD, 0, 0, SKIP, 0, NULL},
632};
633
634static field_t _UnicastAddress_iPXAddress[] = { /* SEQUENCE */
635 {FNAME("node") OCTSTR, FIXD, 6, 0, SKIP, 0, NULL},
636 {FNAME("netnum") OCTSTR, FIXD, 4, 0, SKIP, 0, NULL},
637 {FNAME("tsapIdentifier") OCTSTR, FIXD, 2, 0, SKIP, 0, NULL},
638};
639
640static field_t _UnicastAddress_iP6Address[] = { /* SEQUENCE */
641 {FNAME("network") OCTSTR, FIXD, 16, 0, SKIP, 0, NULL},
642 {FNAME("tsapIdentifier") INT, WORD, 0, 0, SKIP, 0, NULL},
643};
644
645static field_t _UnicastAddress_iPSourceRouteAddress_routing[] = { /* CHOICE */
646 {FNAME("strict") NUL, FIXD, 0, 0, SKIP, 0, NULL},
647 {FNAME("loose") NUL, FIXD, 0, 0, SKIP, 0, NULL},
648};
649
650static field_t _UnicastAddress_iPSourceRouteAddress_route[] = { /* SEQUENCE OF */
651 {FNAME("item") OCTSTR, FIXD, 4, 0, SKIP, 0, NULL},
652};
653
654static field_t _UnicastAddress_iPSourceRouteAddress[] = { /* SEQUENCE */
655 {FNAME("routing") CHOICE, 1, 2, 2, SKIP, 0,
656 _UnicastAddress_iPSourceRouteAddress_routing},
657 {FNAME("network") OCTSTR, FIXD, 4, 0, SKIP, 0, NULL},
658 {FNAME("tsapIdentifier") INT, WORD, 0, 0, SKIP, 0, NULL},
659 {FNAME("route") SEQOF, SEMI, 0, 0, SKIP, 0,
660 _UnicastAddress_iPSourceRouteAddress_route},
661};
662
663static field_t _UnicastAddress[] = { /* CHOICE */
664 {FNAME("iPAddress") SEQ, 0, 2, 2, DECODE | EXT,
665 offsetof(UnicastAddress, iPAddress), _UnicastAddress_iPAddress},
666 {FNAME("iPXAddress") SEQ, 0, 3, 3, SKIP | EXT, 0,
667 _UnicastAddress_iPXAddress},
668 {FNAME("iP6Address") SEQ, 0, 2, 2, SKIP | EXT, 0,
669 _UnicastAddress_iP6Address},
670 {FNAME("netBios") OCTSTR, FIXD, 16, 0, SKIP, 0, NULL},
671 {FNAME("iPSourceRouteAddress") SEQ, 0, 4, 4, SKIP | EXT, 0,
672 _UnicastAddress_iPSourceRouteAddress},
673 {FNAME("nsap") OCTSTR, 5, 1, 0, SKIP, 0, NULL},
674 {FNAME("nonStandardAddress") SEQ, 0, 2, 2, SKIP, 0, NULL},
675};
676
677static field_t _MulticastAddress_iPAddress[] = { /* SEQUENCE */
678 {FNAME("network") OCTSTR, FIXD, 4, 0, SKIP, 0, NULL},
679 {FNAME("tsapIdentifier") INT, WORD, 0, 0, SKIP, 0, NULL},
680};
681
682static field_t _MulticastAddress_iP6Address[] = { /* SEQUENCE */
683 {FNAME("network") OCTSTR, FIXD, 16, 0, SKIP, 0, NULL},
684 {FNAME("tsapIdentifier") INT, WORD, 0, 0, SKIP, 0, NULL},
685};
686
687static field_t _MulticastAddress[] = { /* CHOICE */
688 {FNAME("iPAddress") SEQ, 0, 2, 2, SKIP | EXT, 0,
689 _MulticastAddress_iPAddress},
690 {FNAME("iP6Address") SEQ, 0, 2, 2, SKIP | EXT, 0,
691 _MulticastAddress_iP6Address},
692 {FNAME("nsap") OCTSTR, 5, 1, 0, SKIP, 0, NULL},
693 {FNAME("nonStandardAddress") SEQ, 0, 2, 2, SKIP, 0, NULL},
694};
695
696static field_t _H245_TransportAddress[] = { /* CHOICE */
697 {FNAME("unicastAddress") CHOICE, 3, 5, 7, DECODE | EXT,
698 offsetof(H245_TransportAddress, unicastAddress), _UnicastAddress},
699 {FNAME("multicastAddress") CHOICE, 1, 2, 4, SKIP | EXT, 0,
700 _MulticastAddress},
701};
702
703static field_t _H2250LogicalChannelParameters[] = { /* SEQUENCE */
704 {FNAME("nonStandard") SEQOF, SEMI, 0, 0, SKIP | OPT, 0,
705 _H2250LogicalChannelParameters_nonStandard},
706 {FNAME("sessionID") INT, BYTE, 0, 0, SKIP, 0, NULL},
707 {FNAME("associatedSessionID") INT, 8, 1, 0, SKIP | OPT, 0, NULL},
708 {FNAME("mediaChannel") CHOICE, 1, 2, 2, DECODE | EXT | OPT,
709 offsetof(H2250LogicalChannelParameters, mediaChannel),
710 _H245_TransportAddress},
711 {FNAME("mediaGuaranteedDelivery") BOOL, FIXD, 0, 0, SKIP | OPT, 0,
712 NULL},
713 {FNAME("mediaControlChannel") CHOICE, 1, 2, 2, DECODE | EXT | OPT,
714 offsetof(H2250LogicalChannelParameters, mediaControlChannel),
715 _H245_TransportAddress},
716 {FNAME("mediaControlGuaranteedDelivery") BOOL, FIXD, 0, 0, STOP | OPT,
717 0, NULL},
718 {FNAME("silenceSuppression") BOOL, FIXD, 0, 0, STOP | OPT, 0, NULL},
719 {FNAME("destination") SEQ, 0, 2, 2, STOP | EXT | OPT, 0, NULL},
720 {FNAME("dynamicRTPPayloadType") INT, 5, 96, 0, STOP | OPT, 0, NULL},
721 {FNAME("mediaPacketization") CHOICE, 0, 1, 2, STOP | EXT | OPT, 0,
722 NULL},
723 {FNAME("transportCapability") SEQ, 3, 3, 3, STOP | EXT | OPT, 0,
724 NULL},
725 {FNAME("redundancyEncoding") SEQ, 1, 2, 2, STOP | EXT | OPT, 0, NULL},
726 {FNAME("source") SEQ, 0, 2, 2, SKIP | EXT | OPT, 0, NULL},
727};
728
729static field_t _OpenLogicalChannel_forwardLogicalChannelParameters_multiplexParameters[] = { /* CHOICE */
730 {FNAME("h222LogicalChannelParameters") SEQ, 3, 5, 5, SKIP | EXT, 0,
731 _H222LogicalChannelParameters},
732 {FNAME("h223LogicalChannelParameters") SEQ, 0, 2, 2, SKIP | EXT, 0,
733 _H223LogicalChannelParameters},
734 {FNAME("v76LogicalChannelParameters") SEQ, 0, 5, 5, SKIP | EXT, 0,
735 _V76LogicalChannelParameters},
736 {FNAME("h2250LogicalChannelParameters") SEQ, 10, 11, 14, DECODE | EXT,
737 offsetof
738 (OpenLogicalChannel_forwardLogicalChannelParameters_multiplexParameters,
739 h2250LogicalChannelParameters), _H2250LogicalChannelParameters},
740 {FNAME("none") NUL, FIXD, 0, 0, SKIP, 0, NULL},
741};
742
743static field_t _OpenLogicalChannel_forwardLogicalChannelParameters[] = { /* SEQUENCE */
744 {FNAME("portNumber") INT, WORD, 0, 0, SKIP | OPT, 0, NULL},
745 {FNAME("dataType") CHOICE, 3, 6, 9, DECODE | EXT,
746 offsetof(OpenLogicalChannel_forwardLogicalChannelParameters,
747 dataType), _DataType},
748 {FNAME("multiplexParameters") CHOICE, 2, 3, 5, DECODE | EXT,
749 offsetof(OpenLogicalChannel_forwardLogicalChannelParameters,
750 multiplexParameters),
751 _OpenLogicalChannel_forwardLogicalChannelParameters_multiplexParameters},
752 {FNAME("forwardLogicalChannelDependency") INT, WORD, 1, 0, SKIP | OPT,
753 0, NULL},
754 {FNAME("replacementFor") INT, WORD, 1, 0, SKIP | OPT, 0, NULL},
755};
756
757static field_t _OpenLogicalChannel_reverseLogicalChannelParameters_multiplexParameters[] = { /* CHOICE */
758 {FNAME("h223LogicalChannelParameters") SEQ, 0, 2, 2, SKIP | EXT, 0,
759 _H223LogicalChannelParameters},
760 {FNAME("v76LogicalChannelParameters") SEQ, 0, 5, 5, SKIP | EXT, 0,
761 _V76LogicalChannelParameters},
762 {FNAME("h2250LogicalChannelParameters") SEQ, 10, 11, 14, DECODE | EXT,
763 offsetof
764 (OpenLogicalChannel_reverseLogicalChannelParameters_multiplexParameters,
765 h2250LogicalChannelParameters), _H2250LogicalChannelParameters},
766};
767
768static field_t _OpenLogicalChannel_reverseLogicalChannelParameters[] = { /* SEQUENCE */
769 {FNAME("dataType") CHOICE, 3, 6, 9, SKIP | EXT, 0, _DataType},
770 {FNAME("multiplexParameters") CHOICE, 1, 2, 3, DECODE | EXT | OPT,
771 offsetof(OpenLogicalChannel_reverseLogicalChannelParameters,
772 multiplexParameters),
773 _OpenLogicalChannel_reverseLogicalChannelParameters_multiplexParameters},
774 {FNAME("reverseLogicalChannelDependency") INT, WORD, 1, 0, SKIP | OPT,
775 0, NULL},
776 {FNAME("replacementFor") INT, WORD, 1, 0, SKIP | OPT, 0, NULL},
777};
778
779static field_t _NetworkAccessParameters_distribution[] = { /* CHOICE */
780 {FNAME("unicast") NUL, FIXD, 0, 0, SKIP, 0, NULL},
781 {FNAME("multicast") NUL, FIXD, 0, 0, SKIP, 0, NULL},
782};
783
784static field_t _Q2931Address_address[] = { /* CHOICE */
785 {FNAME("internationalNumber") NUMSTR, 4, 1, 0, SKIP, 0, NULL},
786 {FNAME("nsapAddress") OCTSTR, 5, 1, 0, SKIP, 0, NULL},
787};
788
789static field_t _Q2931Address[] = { /* SEQUENCE */
790 {FNAME("address") CHOICE, 1, 2, 2, SKIP | EXT, 0,
791 _Q2931Address_address},
792 {FNAME("subaddress") OCTSTR, 5, 1, 0, SKIP | OPT, 0, NULL},
793};
794
795static field_t _NetworkAccessParameters_networkAddress[] = { /* CHOICE */
796 {FNAME("q2931Address") SEQ, 1, 2, 2, SKIP | EXT, 0, _Q2931Address},
797 {FNAME("e164Address") NUMDGT, 7, 1, 0, SKIP, 0, NULL},
798 {FNAME("localAreaAddress") CHOICE, 1, 2, 2, DECODE | EXT,
799 offsetof(NetworkAccessParameters_networkAddress, localAreaAddress),
800 _H245_TransportAddress},
801};
802
803static field_t _NetworkAccessParameters[] = { /* SEQUENCE */
804 {FNAME("distribution") CHOICE, 1, 2, 2, SKIP | EXT | OPT, 0,
805 _NetworkAccessParameters_distribution},
806 {FNAME("networkAddress") CHOICE, 2, 3, 3, DECODE | EXT,
807 offsetof(NetworkAccessParameters, networkAddress),
808 _NetworkAccessParameters_networkAddress},
809 {FNAME("associateConference") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
810 {FNAME("externalReference") OCTSTR, 8, 1, 0, SKIP | OPT, 0, NULL},
811 {FNAME("t120SetupProcedure") CHOICE, 2, 3, 3, SKIP | EXT | OPT, 0,
812 NULL},
813};
814
815static field_t _OpenLogicalChannel[] = { /* SEQUENCE */
816 {FNAME("forwardLogicalChannelNumber") INT, WORD, 1, 0, SKIP, 0, NULL},
817 {FNAME("forwardLogicalChannelParameters") SEQ, 1, 3, 5, DECODE | EXT,
818 offsetof(OpenLogicalChannel, forwardLogicalChannelParameters),
819 _OpenLogicalChannel_forwardLogicalChannelParameters},
820 {FNAME("reverseLogicalChannelParameters") SEQ, 1, 2, 4,
821 DECODE | EXT | OPT, offsetof(OpenLogicalChannel,
822 reverseLogicalChannelParameters),
823 _OpenLogicalChannel_reverseLogicalChannelParameters},
824 {FNAME("separateStack") SEQ, 2, 4, 5, DECODE | EXT | OPT,
825 offsetof(OpenLogicalChannel, separateStack),
826 _NetworkAccessParameters},
827 {FNAME("encryptionSync") SEQ, 2, 4, 4, STOP | EXT | OPT, 0, NULL},
828};
829
830static field_t _Setup_UUIE_fastStart[] = { /* SEQUENCE OF */
831 {FNAME("item") SEQ, 1, 3, 5, DECODE | OPEN | EXT,
832 sizeof(OpenLogicalChannel), _OpenLogicalChannel}
833 ,
834};
835
836static field_t _Setup_UUIE[] = { /* SEQUENCE */
837 {FNAME("protocolIdentifier") OID, BYTE, 0, 0, SKIP, 0, NULL},
838 {FNAME("h245Address") CHOICE, 3, 7, 7, DECODE | EXT | OPT,
839 offsetof(Setup_UUIE, h245Address), _TransportAddress},
840 {FNAME("sourceAddress") SEQOF, SEMI, 0, 0, SKIP | OPT, 0,
841 _Setup_UUIE_sourceAddress},
842 {FNAME("sourceInfo") SEQ, 6, 8, 10, SKIP | EXT, 0, _EndpointType},
843 {FNAME("destinationAddress") SEQOF, SEMI, 0, 0, SKIP | OPT, 0,
844 _Setup_UUIE_destinationAddress},
845 {FNAME("destCallSignalAddress") CHOICE, 3, 7, 7, DECODE | EXT | OPT,
846 offsetof(Setup_UUIE, destCallSignalAddress), _TransportAddress},
847 {FNAME("destExtraCallInfo") SEQOF, SEMI, 0, 0, SKIP | OPT, 0,
848 _Setup_UUIE_destExtraCallInfo},
849 {FNAME("destExtraCRV") SEQOF, SEMI, 0, 0, SKIP | OPT, 0,
850 _Setup_UUIE_destExtraCRV},
851 {FNAME("activeMC") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
852 {FNAME("conferenceID") OCTSTR, FIXD, 16, 0, SKIP, 0, NULL},
853 {FNAME("conferenceGoal") CHOICE, 2, 3, 5, SKIP | EXT, 0,
854 _Setup_UUIE_conferenceGoal},
855 {FNAME("callServices") SEQ, 0, 8, 8, SKIP | EXT | OPT, 0,
856 _QseriesOptions},
857 {FNAME("callType") CHOICE, 2, 4, 4, SKIP | EXT, 0, _CallType},
858 {FNAME("sourceCallSignalAddress") CHOICE, 3, 7, 7, DECODE | EXT | OPT,
859 offsetof(Setup_UUIE, sourceCallSignalAddress), _TransportAddress},
860 {FNAME("remoteExtensionAddress") CHOICE, 1, 2, 7, SKIP | EXT | OPT, 0,
861 NULL},
862 {FNAME("callIdentifier") SEQ, 0, 1, 1, SKIP | EXT, 0, NULL},
863 {FNAME("h245SecurityCapability") SEQOF, SEMI, 0, 0, SKIP | OPT, 0,
864 NULL},
865 {FNAME("tokens") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
866 {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
867 {FNAME("fastStart") SEQOF, SEMI, 0, 30, DECODE | OPT,
868 offsetof(Setup_UUIE, fastStart), _Setup_UUIE_fastStart},
869 {FNAME("mediaWaitForConnect") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
870 {FNAME("canOverlapSend") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
871 {FNAME("endpointIdentifier") BMPSTR, 7, 1, 0, STOP | OPT, 0, NULL},
872 {FNAME("multipleCalls") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
873 {FNAME("maintainConnection") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
874 {FNAME("connectionParameters") SEQ, 0, 3, 3, SKIP | EXT | OPT, 0,
875 NULL},
876 {FNAME("language") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
877 {FNAME("presentationIndicator") CHOICE, 2, 3, 3, SKIP | EXT | OPT, 0,
878 NULL},
879 {FNAME("screeningIndicator") ENUM, 2, 0, 0, SKIP | EXT | OPT, 0,
880 NULL},
881 {FNAME("serviceControl") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
882 {FNAME("symmetricOperationRequired") NUL, FIXD, 0, 0, SKIP | OPT, 0,
883 NULL},
884 {FNAME("capacity") SEQ, 2, 2, 2, SKIP | EXT | OPT, 0, NULL},
885 {FNAME("circuitInfo") SEQ, 3, 3, 3, SKIP | EXT | OPT, 0, NULL},
886 {FNAME("desiredProtocols") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
887 {FNAME("neededFeatures") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
888 {FNAME("desiredFeatures") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
889 {FNAME("supportedFeatures") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
890 {FNAME("parallelH245Control") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
891 {FNAME("additionalSourceAddresses") SEQOF, SEMI, 0, 0, SKIP | OPT, 0,
892 NULL},
893};
894
895static field_t _CallProceeding_UUIE_fastStart[] = { /* SEQUENCE OF */
896 {FNAME("item") SEQ, 1, 3, 5, DECODE | OPEN | EXT,
897 sizeof(OpenLogicalChannel), _OpenLogicalChannel}
898 ,
899};
900
901static field_t _CallProceeding_UUIE[] = { /* SEQUENCE */
902 {FNAME("protocolIdentifier") OID, BYTE, 0, 0, SKIP, 0, NULL},
903 {FNAME("destinationInfo") SEQ, 6, 8, 10, SKIP | EXT, 0,
904 _EndpointType},
905 {FNAME("h245Address") CHOICE, 3, 7, 7, DECODE | EXT | OPT,
906 offsetof(CallProceeding_UUIE, h245Address), _TransportAddress},
907 {FNAME("callIdentifier") SEQ, 0, 1, 1, SKIP | EXT, 0, NULL},
908 {FNAME("h245SecurityMode") CHOICE, 2, 4, 4, SKIP | EXT | OPT, 0,
909 NULL},
910 {FNAME("tokens") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
911 {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
912 {FNAME("fastStart") SEQOF, SEMI, 0, 30, DECODE | OPT,
913 offsetof(CallProceeding_UUIE, fastStart),
914 _CallProceeding_UUIE_fastStart},
915 {FNAME("multipleCalls") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
916 {FNAME("maintainConnection") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
917 {FNAME("fastConnectRefused") NUL, FIXD, 0, 0, SKIP | OPT, 0, NULL},
918 {FNAME("featureSet") SEQ, 3, 4, 4, SKIP | EXT | OPT, 0, NULL},
919};
920
921static field_t _Connect_UUIE_fastStart[] = { /* SEQUENCE OF */
922 {FNAME("item") SEQ, 1, 3, 5, DECODE | OPEN | EXT,
923 sizeof(OpenLogicalChannel), _OpenLogicalChannel}
924 ,
925};
926
927static field_t _Connect_UUIE[] = { /* SEQUENCE */
928 {FNAME("protocolIdentifier") OID, BYTE, 0, 0, SKIP, 0, NULL},
929 {FNAME("h245Address") CHOICE, 3, 7, 7, DECODE | EXT | OPT,
930 offsetof(Connect_UUIE, h245Address), _TransportAddress},
931 {FNAME("destinationInfo") SEQ, 6, 8, 10, SKIP | EXT, 0,
932 _EndpointType},
933 {FNAME("conferenceID") OCTSTR, FIXD, 16, 0, SKIP, 0, NULL},
934 {FNAME("callIdentifier") SEQ, 0, 1, 1, SKIP | EXT, 0, NULL},
935 {FNAME("h245SecurityMode") CHOICE, 2, 4, 4, SKIP | EXT | OPT, 0,
936 NULL},
937 {FNAME("tokens") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
938 {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
939 {FNAME("fastStart") SEQOF, SEMI, 0, 30, DECODE | OPT,
940 offsetof(Connect_UUIE, fastStart), _Connect_UUIE_fastStart},
941 {FNAME("multipleCalls") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
942 {FNAME("maintainConnection") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
943 {FNAME("language") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
944 {FNAME("connectedAddress") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
945 {FNAME("presentationIndicator") CHOICE, 2, 3, 3, SKIP | EXT | OPT, 0,
946 NULL},
947 {FNAME("screeningIndicator") ENUM, 2, 0, 0, SKIP | EXT | OPT, 0,
948 NULL},
949 {FNAME("fastConnectRefused") NUL, FIXD, 0, 0, SKIP | OPT, 0, NULL},
950 {FNAME("serviceControl") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
951 {FNAME("capacity") SEQ, 2, 2, 2, SKIP | EXT | OPT, 0, NULL},
952 {FNAME("featureSet") SEQ, 3, 4, 4, SKIP | EXT | OPT, 0, NULL},
953};
954
955static field_t _Alerting_UUIE_fastStart[] = { /* SEQUENCE OF */
956 {FNAME("item") SEQ, 1, 3, 5, DECODE | OPEN | EXT,
957 sizeof(OpenLogicalChannel), _OpenLogicalChannel}
958 ,
959};
960
961static field_t _Alerting_UUIE[] = { /* SEQUENCE */
962 {FNAME("protocolIdentifier") OID, BYTE, 0, 0, SKIP, 0, NULL},
963 {FNAME("destinationInfo") SEQ, 6, 8, 10, SKIP | EXT, 0,
964 _EndpointType},
965 {FNAME("h245Address") CHOICE, 3, 7, 7, DECODE | EXT | OPT,
966 offsetof(Alerting_UUIE, h245Address), _TransportAddress},
967 {FNAME("callIdentifier") SEQ, 0, 1, 1, SKIP | EXT, 0, NULL},
968 {FNAME("h245SecurityMode") CHOICE, 2, 4, 4, SKIP | EXT | OPT, 0,
969 NULL},
970 {FNAME("tokens") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
971 {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
972 {FNAME("fastStart") SEQOF, SEMI, 0, 30, DECODE | OPT,
973 offsetof(Alerting_UUIE, fastStart), _Alerting_UUIE_fastStart},
974 {FNAME("multipleCalls") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
975 {FNAME("maintainConnection") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
976 {FNAME("alertingAddress") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
977 {FNAME("presentationIndicator") CHOICE, 2, 3, 3, SKIP | EXT | OPT, 0,
978 NULL},
979 {FNAME("screeningIndicator") ENUM, 2, 0, 0, SKIP | EXT | OPT, 0,
980 NULL},
981 {FNAME("fastConnectRefused") NUL, FIXD, 0, 0, SKIP | OPT, 0, NULL},
982 {FNAME("serviceControl") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
983 {FNAME("capacity") SEQ, 2, 2, 2, SKIP | EXT | OPT, 0, NULL},
984 {FNAME("featureSet") SEQ, 3, 4, 4, SKIP | EXT | OPT, 0, NULL},
985};
986
987static field_t _Information_UUIE_fastStart[] = { /* SEQUENCE OF */
988 {FNAME("item") SEQ, 1, 3, 5, DECODE | OPEN | EXT,
989 sizeof(OpenLogicalChannel), _OpenLogicalChannel}
990 ,
991};
992
993static field_t _Information_UUIE[] = { /* SEQUENCE */
994 {FNAME("protocolIdentifier") OID, BYTE, 0, 0, SKIP, 0, NULL},
995 {FNAME("callIdentifier") SEQ, 0, 1, 1, SKIP | EXT, 0, NULL},
996 {FNAME("tokens") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
997 {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
998 {FNAME("fastStart") SEQOF, SEMI, 0, 30, DECODE | OPT,
999 offsetof(Information_UUIE, fastStart), _Information_UUIE_fastStart},
1000 {FNAME("fastConnectRefused") NUL, FIXD, 0, 0, SKIP | OPT, 0, NULL},
1001 {FNAME("circuitInfo") SEQ, 3, 3, 3, SKIP | EXT | OPT, 0, NULL},
1002};
1003
1004static field_t _ReleaseCompleteReason[] = { /* CHOICE */
1005 {FNAME("noBandwidth") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1006 {FNAME("gatekeeperResources") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1007 {FNAME("unreachableDestination") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1008 {FNAME("destinationRejection") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1009 {FNAME("invalidRevision") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1010 {FNAME("noPermission") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1011 {FNAME("unreachableGatekeeper") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1012 {FNAME("gatewayResources") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1013 {FNAME("badFormatAddress") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1014 {FNAME("adaptiveBusy") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1015 {FNAME("inConf") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1016 {FNAME("undefinedReason") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1017 {FNAME("facilityCallDeflection") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1018 {FNAME("securityDenied") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1019 {FNAME("calledPartyNotRegistered") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1020 {FNAME("callerNotRegistered") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1021 {FNAME("newConnectionNeeded") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1022 {FNAME("nonStandardReason") SEQ, 0, 2, 2, SKIP, 0, NULL},
1023 {FNAME("replaceWithConferenceInvite") OCTSTR, FIXD, 16, 0, SKIP, 0,
1024 NULL},
1025 {FNAME("genericDataReason") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1026 {FNAME("neededFeatureNotSupported") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1027 {FNAME("tunnelledSignallingRejected") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1028};
1029
1030static field_t _ReleaseComplete_UUIE[] = { /* SEQUENCE */
1031 {FNAME("protocolIdentifier") OID, BYTE, 0, 0, SKIP, 0, NULL},
1032 {FNAME("reason") CHOICE, 4, 12, 22, SKIP | EXT | OPT, 0,
1033 _ReleaseCompleteReason},
1034 {FNAME("callIdentifier") SEQ, 0, 1, 1, SKIP | EXT, 0, NULL},
1035 {FNAME("tokens") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
1036 {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
1037 {FNAME("busyAddress") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
1038 {FNAME("presentationIndicator") CHOICE, 2, 3, 3, SKIP | EXT | OPT, 0,
1039 NULL},
1040 {FNAME("screeningIndicator") ENUM, 2, 0, 0, SKIP | EXT | OPT, 0,
1041 NULL},
1042 {FNAME("capacity") SEQ, 2, 2, 2, SKIP | EXT | OPT, 0, NULL},
1043 {FNAME("serviceControl") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
1044 {FNAME("featureSet") SEQ, 3, 4, 4, SKIP | EXT | OPT, 0, NULL},
1045};
1046
1047static field_t _Facility_UUIE_alternativeAliasAddress[] = { /* SEQUENCE OF */
1048 {FNAME("item") CHOICE, 1, 2, 7, SKIP | EXT, 0, _AliasAddress},
1049};
1050
1051static field_t _FacilityReason[] = { /* CHOICE */
1052 {FNAME("routeCallToGatekeeper") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1053 {FNAME("callForwarded") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1054 {FNAME("routeCallToMC") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1055 {FNAME("undefinedReason") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1056 {FNAME("conferenceListChoice") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1057 {FNAME("startH245") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1058 {FNAME("noH245") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1059 {FNAME("newTokens") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1060 {FNAME("featureSetUpdate") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1061 {FNAME("forwardedElements") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1062 {FNAME("transportedInformation") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1063};
1064
1065static field_t _Facility_UUIE_fastStart[] = { /* SEQUENCE OF */
1066 {FNAME("item") SEQ, 1, 3, 5, DECODE | OPEN | EXT,
1067 sizeof(OpenLogicalChannel), _OpenLogicalChannel}
1068 ,
1069};
1070
1071static field_t _Facility_UUIE[] = { /* SEQUENCE */
1072 {FNAME("protocolIdentifier") OID, BYTE, 0, 0, SKIP, 0, NULL},
c0d4cfd9
JMZ
1073 {FNAME("alternativeAddress") CHOICE, 3, 7, 7, DECODE | EXT | OPT,
1074 offsetof(Facility_UUIE, alternativeAddress), _TransportAddress},
5e35941d
JMZ
1075 {FNAME("alternativeAliasAddress") SEQOF, SEMI, 0, 0, SKIP | OPT, 0,
1076 _Facility_UUIE_alternativeAliasAddress},
1077 {FNAME("conferenceID") OCTSTR, FIXD, 16, 0, SKIP | OPT, 0, NULL},
1078 {FNAME("reason") CHOICE, 2, 4, 11, DECODE | EXT,
1079 offsetof(Facility_UUIE, reason), _FacilityReason},
1080 {FNAME("callIdentifier") SEQ, 0, 1, 1, SKIP | EXT, 0, NULL},
1081 {FNAME("destExtraCallInfo") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
1082 {FNAME("remoteExtensionAddress") CHOICE, 1, 2, 7, SKIP | EXT | OPT, 0,
1083 NULL},
1084 {FNAME("tokens") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
1085 {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
1086 {FNAME("conferences") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
1087 {FNAME("h245Address") CHOICE, 3, 7, 7, DECODE | EXT | OPT,
1088 offsetof(Facility_UUIE, h245Address), _TransportAddress},
1089 {FNAME("fastStart") SEQOF, SEMI, 0, 30, DECODE | OPT,
1090 offsetof(Facility_UUIE, fastStart), _Facility_UUIE_fastStart},
1091 {FNAME("multipleCalls") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
1092 {FNAME("maintainConnection") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
1093 {FNAME("fastConnectRefused") NUL, FIXD, 0, 0, SKIP | OPT, 0, NULL},
1094 {FNAME("serviceControl") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
1095 {FNAME("circuitInfo") SEQ, 3, 3, 3, SKIP | EXT | OPT, 0, NULL},
1096 {FNAME("featureSet") SEQ, 3, 4, 4, SKIP | EXT | OPT, 0, NULL},
1097 {FNAME("destinationInfo") SEQ, 6, 8, 10, SKIP | EXT | OPT, 0, NULL},
1098 {FNAME("h245SecurityMode") CHOICE, 2, 4, 4, SKIP | EXT | OPT, 0,
1099 NULL},
1100};
1101
1102static field_t _CallIdentifier[] = { /* SEQUENCE */
1103 {FNAME("guid") OCTSTR, FIXD, 16, 0, SKIP, 0, NULL},
1104};
1105
1106static field_t _SecurityServiceMode[] = { /* CHOICE */
1107 {FNAME("nonStandard") SEQ, 0, 2, 2, SKIP, 0, _NonStandardParameter},
1108 {FNAME("none") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1109 {FNAME("default") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1110};
1111
1112static field_t _SecurityCapabilities[] = { /* SEQUENCE */
1113 {FNAME("nonStandard") SEQ, 0, 2, 2, SKIP | OPT, 0,
1114 _NonStandardParameter},
1115 {FNAME("encryption") CHOICE, 2, 3, 3, SKIP | EXT, 0,
1116 _SecurityServiceMode},
1117 {FNAME("authenticaton") CHOICE, 2, 3, 3, SKIP | EXT, 0,
1118 _SecurityServiceMode},
1119 {FNAME("integrity") CHOICE, 2, 3, 3, SKIP | EXT, 0,
1120 _SecurityServiceMode},
1121};
1122
1123static field_t _H245Security[] = { /* CHOICE */
1124 {FNAME("nonStandard") SEQ, 0, 2, 2, SKIP, 0, _NonStandardParameter},
1125 {FNAME("noSecurity") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1126 {FNAME("tls") SEQ, 1, 4, 4, SKIP | EXT, 0, _SecurityCapabilities},
1127 {FNAME("ipsec") SEQ, 1, 4, 4, SKIP | EXT, 0, _SecurityCapabilities},
1128};
1129
1130static field_t _DHset[] = { /* SEQUENCE */
1131 {FNAME("halfkey") BITSTR, WORD, 0, 0, SKIP, 0, NULL},
1132 {FNAME("modSize") BITSTR, WORD, 0, 0, SKIP, 0, NULL},
1133 {FNAME("generator") BITSTR, WORD, 0, 0, SKIP, 0, NULL},
1134};
1135
1136static field_t _TypedCertificate[] = { /* SEQUENCE */
1137 {FNAME("type") OID, BYTE, 0, 0, SKIP, 0, NULL},
1138 {FNAME("certificate") OCTSTR, SEMI, 0, 0, SKIP, 0, NULL},
1139};
1140
1141static field_t _H235_NonStandardParameter[] = { /* SEQUENCE */
1142 {FNAME("nonStandardIdentifier") OID, BYTE, 0, 0, SKIP, 0, NULL},
1143 {FNAME("data") OCTSTR, SEMI, 0, 0, SKIP, 0, NULL},
1144};
1145
1146static field_t _ClearToken[] = { /* SEQUENCE */
1147 {FNAME("tokenOID") OID, BYTE, 0, 0, SKIP, 0, NULL},
1148 {FNAME("timeStamp") INT, CONS, 1, 0, SKIP | OPT, 0, NULL},
1149 {FNAME("password") BMPSTR, 7, 1, 0, SKIP | OPT, 0, NULL},
1150 {FNAME("dhkey") SEQ, 0, 3, 3, SKIP | EXT | OPT, 0, _DHset},
1151 {FNAME("challenge") OCTSTR, 7, 8, 0, SKIP | OPT, 0, NULL},
1152 {FNAME("random") INT, UNCO, 0, 0, SKIP | OPT, 0, NULL},
1153 {FNAME("certificate") SEQ, 0, 2, 2, SKIP | EXT | OPT, 0,
1154 _TypedCertificate},
1155 {FNAME("generalID") BMPSTR, 7, 1, 0, SKIP | OPT, 0, NULL},
1156 {FNAME("nonStandard") SEQ, 0, 2, 2, SKIP | OPT, 0,
1157 _H235_NonStandardParameter},
1158 {FNAME("eckasdhkey") CHOICE, 1, 2, 2, SKIP | EXT | OPT, 0, NULL},
1159 {FNAME("sendersID") BMPSTR, 7, 1, 0, SKIP | OPT, 0, NULL},
1160};
1161
1162static field_t _Progress_UUIE_tokens[] = { /* SEQUENCE OF */
1163 {FNAME("item") SEQ, 8, 9, 11, SKIP | EXT, 0, _ClearToken},
1164};
1165
1166static field_t _Params[] = { /* SEQUENCE */
1167 {FNAME("ranInt") INT, UNCO, 0, 0, SKIP | OPT, 0, NULL},
1168 {FNAME("iv8") OCTSTR, FIXD, 8, 0, SKIP | OPT, 0, NULL},
1169 {FNAME("iv16") OCTSTR, FIXD, 16, 0, SKIP | OPT, 0, NULL},
1170};
1171
1172static field_t _CryptoH323Token_cryptoEPPwdHash_token[] = { /* SEQUENCE */
1173 {FNAME("algorithmOID") OID, BYTE, 0, 0, SKIP, 0, NULL},
1174 {FNAME("paramS") SEQ, 2, 2, 3, SKIP | EXT, 0, _Params},
1175 {FNAME("hash") BITSTR, SEMI, 0, 0, SKIP, 0, NULL},
1176};
1177
1178static field_t _CryptoH323Token_cryptoEPPwdHash[] = { /* SEQUENCE */
1179 {FNAME("alias") CHOICE, 1, 2, 7, SKIP | EXT, 0, _AliasAddress},
1180 {FNAME("timeStamp") INT, CONS, 1, 0, SKIP, 0, NULL},
1181 {FNAME("token") SEQ, 0, 3, 3, SKIP, 0,
1182 _CryptoH323Token_cryptoEPPwdHash_token},
1183};
1184
1185static field_t _CryptoH323Token_cryptoGKPwdHash_token[] = { /* SEQUENCE */
1186 {FNAME("algorithmOID") OID, BYTE, 0, 0, SKIP, 0, NULL},
1187 {FNAME("paramS") SEQ, 2, 2, 3, SKIP | EXT, 0, _Params},
1188 {FNAME("hash") BITSTR, SEMI, 0, 0, SKIP, 0, NULL},
1189};
1190
1191static field_t _CryptoH323Token_cryptoGKPwdHash[] = { /* SEQUENCE */
1192 {FNAME("gatekeeperId") BMPSTR, 7, 1, 0, SKIP, 0, NULL},
1193 {FNAME("timeStamp") INT, CONS, 1, 0, SKIP, 0, NULL},
1194 {FNAME("token") SEQ, 0, 3, 3, SKIP, 0,
1195 _CryptoH323Token_cryptoGKPwdHash_token},
1196};
1197
1198static field_t _CryptoH323Token_cryptoEPPwdEncr[] = { /* SEQUENCE */
1199 {FNAME("algorithmOID") OID, BYTE, 0, 0, SKIP, 0, NULL},
1200 {FNAME("paramS") SEQ, 2, 2, 3, SKIP | EXT, 0, _Params},
1201 {FNAME("encryptedData") OCTSTR, SEMI, 0, 0, SKIP, 0, NULL},
1202};
1203
1204static field_t _CryptoH323Token_cryptoGKPwdEncr[] = { /* SEQUENCE */
1205 {FNAME("algorithmOID") OID, BYTE, 0, 0, SKIP, 0, NULL},
1206 {FNAME("paramS") SEQ, 2, 2, 3, SKIP | EXT, 0, _Params},
1207 {FNAME("encryptedData") OCTSTR, SEMI, 0, 0, SKIP, 0, NULL},
1208};
1209
1210static field_t _CryptoH323Token_cryptoEPCert[] = { /* SEQUENCE */
1211 {FNAME("toBeSigned") SEQ, 8, 9, 11, SKIP | OPEN | EXT, 0, NULL},
1212 {FNAME("algorithmOID") OID, BYTE, 0, 0, SKIP, 0, NULL},
1213 {FNAME("paramS") SEQ, 2, 2, 3, SKIP | EXT, 0, _Params},
1214 {FNAME("signature") BITSTR, SEMI, 0, 0, SKIP, 0, NULL},
1215};
1216
1217static field_t _CryptoH323Token_cryptoGKCert[] = { /* SEQUENCE */
1218 {FNAME("toBeSigned") SEQ, 8, 9, 11, SKIP | OPEN | EXT, 0, NULL},
1219 {FNAME("algorithmOID") OID, BYTE, 0, 0, SKIP, 0, NULL},
1220 {FNAME("paramS") SEQ, 2, 2, 3, SKIP | EXT, 0, _Params},
1221 {FNAME("signature") BITSTR, SEMI, 0, 0, SKIP, 0, NULL},
1222};
1223
1224static field_t _CryptoH323Token_cryptoFastStart[] = { /* SEQUENCE */
1225 {FNAME("toBeSigned") SEQ, 8, 9, 11, SKIP | OPEN | EXT, 0, NULL},
1226 {FNAME("algorithmOID") OID, BYTE, 0, 0, SKIP, 0, NULL},
1227 {FNAME("paramS") SEQ, 2, 2, 3, SKIP | EXT, 0, _Params},
1228 {FNAME("signature") BITSTR, SEMI, 0, 0, SKIP, 0, NULL},
1229};
1230
1231static field_t _CryptoToken_cryptoEncryptedToken_token[] = { /* SEQUENCE */
1232 {FNAME("algorithmOID") OID, BYTE, 0, 0, SKIP, 0, NULL},
1233 {FNAME("paramS") SEQ, 2, 2, 3, SKIP | EXT, 0, _Params},
1234 {FNAME("encryptedData") OCTSTR, SEMI, 0, 0, SKIP, 0, NULL},
1235};
1236
1237static field_t _CryptoToken_cryptoEncryptedToken[] = { /* SEQUENCE */
1238 {FNAME("tokenOID") OID, BYTE, 0, 0, SKIP, 0, NULL},
1239 {FNAME("token") SEQ, 0, 3, 3, SKIP, 0,
1240 _CryptoToken_cryptoEncryptedToken_token},
1241};
1242
1243static field_t _CryptoToken_cryptoSignedToken_token[] = { /* SEQUENCE */
1244 {FNAME("toBeSigned") SEQ, 8, 9, 11, SKIP | OPEN | EXT, 0, NULL},
1245 {FNAME("algorithmOID") OID, BYTE, 0, 0, SKIP, 0, NULL},
1246 {FNAME("paramS") SEQ, 2, 2, 3, SKIP | EXT, 0, _Params},
1247 {FNAME("signature") BITSTR, SEMI, 0, 0, SKIP, 0, NULL},
1248};
1249
1250static field_t _CryptoToken_cryptoSignedToken[] = { /* SEQUENCE */
1251 {FNAME("tokenOID") OID, BYTE, 0, 0, SKIP, 0, NULL},
1252 {FNAME("token") SEQ, 0, 4, 4, SKIP, 0,
1253 _CryptoToken_cryptoSignedToken_token},
1254};
1255
1256static field_t _CryptoToken_cryptoHashedToken_token[] = { /* SEQUENCE */
1257 {FNAME("algorithmOID") OID, BYTE, 0, 0, SKIP, 0, NULL},
1258 {FNAME("paramS") SEQ, 2, 2, 3, SKIP | EXT, 0, _Params},
1259 {FNAME("hash") BITSTR, SEMI, 0, 0, SKIP, 0, NULL},
1260};
1261
1262static field_t _CryptoToken_cryptoHashedToken[] = { /* SEQUENCE */
1263 {FNAME("tokenOID") OID, BYTE, 0, 0, SKIP, 0, NULL},
1264 {FNAME("hashedVals") SEQ, 8, 9, 11, SKIP | EXT, 0, _ClearToken},
1265 {FNAME("token") SEQ, 0, 3, 3, SKIP, 0,
1266 _CryptoToken_cryptoHashedToken_token},
1267};
1268
1269static field_t _CryptoToken_cryptoPwdEncr[] = { /* SEQUENCE */
1270 {FNAME("algorithmOID") OID, BYTE, 0, 0, SKIP, 0, NULL},
1271 {FNAME("paramS") SEQ, 2, 2, 3, SKIP | EXT, 0, _Params},
1272 {FNAME("encryptedData") OCTSTR, SEMI, 0, 0, SKIP, 0, NULL},
1273};
1274
1275static field_t _CryptoToken[] = { /* CHOICE */
1276 {FNAME("cryptoEncryptedToken") SEQ, 0, 2, 2, SKIP, 0,
1277 _CryptoToken_cryptoEncryptedToken},
1278 {FNAME("cryptoSignedToken") SEQ, 0, 2, 2, SKIP, 0,
1279 _CryptoToken_cryptoSignedToken},
1280 {FNAME("cryptoHashedToken") SEQ, 0, 3, 3, SKIP, 0,
1281 _CryptoToken_cryptoHashedToken},
1282 {FNAME("cryptoPwdEncr") SEQ, 0, 3, 3, SKIP, 0,
1283 _CryptoToken_cryptoPwdEncr},
1284};
1285
1286static field_t _CryptoH323Token[] = { /* CHOICE */
1287 {FNAME("cryptoEPPwdHash") SEQ, 0, 3, 3, SKIP, 0,
1288 _CryptoH323Token_cryptoEPPwdHash},
1289 {FNAME("cryptoGKPwdHash") SEQ, 0, 3, 3, SKIP, 0,
1290 _CryptoH323Token_cryptoGKPwdHash},
1291 {FNAME("cryptoEPPwdEncr") SEQ, 0, 3, 3, SKIP, 0,
1292 _CryptoH323Token_cryptoEPPwdEncr},
1293 {FNAME("cryptoGKPwdEncr") SEQ, 0, 3, 3, SKIP, 0,
1294 _CryptoH323Token_cryptoGKPwdEncr},
1295 {FNAME("cryptoEPCert") SEQ, 0, 4, 4, SKIP, 0,
1296 _CryptoH323Token_cryptoEPCert},
1297 {FNAME("cryptoGKCert") SEQ, 0, 4, 4, SKIP, 0,
1298 _CryptoH323Token_cryptoGKCert},
1299 {FNAME("cryptoFastStart") SEQ, 0, 4, 4, SKIP, 0,
1300 _CryptoH323Token_cryptoFastStart},
1301 {FNAME("nestedcryptoToken") CHOICE, 2, 4, 4, SKIP | EXT, 0,
1302 _CryptoToken},
1303};
1304
1305static field_t _Progress_UUIE_cryptoTokens[] = { /* SEQUENCE OF */
1306 {FNAME("item") CHOICE, 3, 8, 8, SKIP | EXT, 0, _CryptoH323Token},
1307};
1308
1309static field_t _Progress_UUIE_fastStart[] = { /* SEQUENCE OF */
1310 {FNAME("item") SEQ, 1, 3, 5, DECODE | OPEN | EXT,
1311 sizeof(OpenLogicalChannel), _OpenLogicalChannel}
1312 ,
1313};
1314
1315static field_t _Progress_UUIE[] = { /* SEQUENCE */
1316 {FNAME("protocolIdentifier") OID, BYTE, 0, 0, SKIP, 0, NULL},
1317 {FNAME("destinationInfo") SEQ, 6, 8, 10, SKIP | EXT, 0,
1318 _EndpointType},
1319 {FNAME("h245Address") CHOICE, 3, 7, 7, DECODE | EXT | OPT,
1320 offsetof(Progress_UUIE, h245Address), _TransportAddress},
1321 {FNAME("callIdentifier") SEQ, 0, 1, 1, SKIP | EXT, 0,
1322 _CallIdentifier},
1323 {FNAME("h245SecurityMode") CHOICE, 2, 4, 4, SKIP | EXT | OPT, 0,
1324 _H245Security},
1325 {FNAME("tokens") SEQOF, SEMI, 0, 0, SKIP | OPT, 0,
1326 _Progress_UUIE_tokens},
1327 {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, SKIP | OPT, 0,
1328 _Progress_UUIE_cryptoTokens},
1329 {FNAME("fastStart") SEQOF, SEMI, 0, 30, DECODE | OPT,
1330 offsetof(Progress_UUIE, fastStart), _Progress_UUIE_fastStart},
1331 {FNAME("multipleCalls") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
1332 {FNAME("maintainConnection") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
1333 {FNAME("fastConnectRefused") NUL, FIXD, 0, 0, SKIP | OPT, 0, NULL},
1334};
1335
1336static field_t _H323_UU_PDU_h323_message_body[] = { /* CHOICE */
1337 {FNAME("setup") SEQ, 7, 13, 39, DECODE | EXT,
1338 offsetof(H323_UU_PDU_h323_message_body, setup), _Setup_UUIE},
1339 {FNAME("callProceeding") SEQ, 1, 3, 12, DECODE | EXT,
1340 offsetof(H323_UU_PDU_h323_message_body, callProceeding),
1341 _CallProceeding_UUIE},
1342 {FNAME("connect") SEQ, 1, 4, 19, DECODE | EXT,
1343 offsetof(H323_UU_PDU_h323_message_body, connect), _Connect_UUIE},
1344 {FNAME("alerting") SEQ, 1, 3, 17, DECODE | EXT,
1345 offsetof(H323_UU_PDU_h323_message_body, alerting), _Alerting_UUIE},
1346 {FNAME("information") SEQ, 0, 1, 7, DECODE | EXT,
1347 offsetof(H323_UU_PDU_h323_message_body, information),
1348 _Information_UUIE},
1349 {FNAME("releaseComplete") SEQ, 1, 2, 11, SKIP | EXT, 0,
1350 _ReleaseComplete_UUIE},
1351 {FNAME("facility") SEQ, 3, 5, 21, DECODE | EXT,
1352 offsetof(H323_UU_PDU_h323_message_body, facility), _Facility_UUIE},
1353 {FNAME("progress") SEQ, 5, 8, 11, DECODE | EXT,
1354 offsetof(H323_UU_PDU_h323_message_body, progress), _Progress_UUIE},
1355 {FNAME("empty") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1356 {FNAME("status") SEQ, 2, 4, 4, SKIP | EXT, 0, NULL},
1357 {FNAME("statusInquiry") SEQ, 2, 4, 4, SKIP | EXT, 0, NULL},
1358 {FNAME("setupAcknowledge") SEQ, 2, 4, 4, SKIP | EXT, 0, NULL},
1359 {FNAME("notify") SEQ, 2, 4, 4, SKIP | EXT, 0, NULL},
1360};
1361
1362static field_t _RequestMessage[] = { /* CHOICE */
1363 {FNAME("nonStandard") SEQ, 0, 1, 1, STOP | EXT, 0, NULL},
1364 {FNAME("masterSlaveDetermination") SEQ, 0, 2, 2, STOP | EXT, 0, NULL},
1365 {FNAME("terminalCapabilitySet") SEQ, 3, 5, 5, STOP | EXT, 0, NULL},
1366 {FNAME("openLogicalChannel") SEQ, 1, 3, 5, DECODE | EXT,
1367 offsetof(RequestMessage, openLogicalChannel), _OpenLogicalChannel},
1368 {FNAME("closeLogicalChannel") SEQ, 0, 2, 3, STOP | EXT, 0, NULL},
1369 {FNAME("requestChannelClose") SEQ, 0, 1, 3, STOP | EXT, 0, NULL},
1370 {FNAME("multiplexEntrySend") SEQ, 0, 2, 2, STOP | EXT, 0, NULL},
1371 {FNAME("requestMultiplexEntry") SEQ, 0, 1, 1, STOP | EXT, 0, NULL},
1372 {FNAME("requestMode") SEQ, 0, 2, 2, STOP | EXT, 0, NULL},
1373 {FNAME("roundTripDelayRequest") SEQ, 0, 1, 1, STOP | EXT, 0, NULL},
1374 {FNAME("maintenanceLoopRequest") SEQ, 0, 1, 1, STOP | EXT, 0, NULL},
1375 {FNAME("communicationModeRequest") SEQ, 0, 0, 0, STOP | EXT, 0, NULL},
1376 {FNAME("conferenceRequest") CHOICE, 3, 8, 16, STOP | EXT, 0, NULL},
1377 {FNAME("multilinkRequest") CHOICE, 3, 5, 5, STOP | EXT, 0, NULL},
1378 {FNAME("logicalChannelRateRequest") SEQ, 0, 3, 3, STOP | EXT, 0,
1379 NULL},
1380};
1381
1382static field_t _OpenLogicalChannelAck_reverseLogicalChannelParameters_multiplexParameters[] = { /* CHOICE */
1383 {FNAME("h222LogicalChannelParameters") SEQ, 3, 5, 5, SKIP | EXT, 0,
1384 _H222LogicalChannelParameters},
1385 {FNAME("h2250LogicalChannelParameters") SEQ, 10, 11, 14, DECODE | EXT,
1386 offsetof
1387 (OpenLogicalChannelAck_reverseLogicalChannelParameters_multiplexParameters,
1388 h2250LogicalChannelParameters), _H2250LogicalChannelParameters},
1389};
1390
1391static field_t _OpenLogicalChannelAck_reverseLogicalChannelParameters[] = { /* SEQUENCE */
1392 {FNAME("reverseLogicalChannelNumber") INT, WORD, 1, 0, SKIP, 0, NULL},
1393 {FNAME("portNumber") INT, WORD, 0, 0, SKIP | OPT, 0, NULL},
1394 {FNAME("multiplexParameters") CHOICE, 0, 1, 2, DECODE | EXT | OPT,
1395 offsetof(OpenLogicalChannelAck_reverseLogicalChannelParameters,
1396 multiplexParameters),
1397 _OpenLogicalChannelAck_reverseLogicalChannelParameters_multiplexParameters},
1398 {FNAME("replacementFor") INT, WORD, 1, 0, SKIP | OPT, 0, NULL},
1399};
1400
1401static field_t _H2250LogicalChannelAckParameters_nonStandard[] = { /* SEQUENCE OF */
1402 {FNAME("item") SEQ, 0, 2, 2, SKIP, 0, _H245_NonStandardParameter},
1403};
1404
1405static field_t _H2250LogicalChannelAckParameters[] = { /* SEQUENCE */
1406 {FNAME("nonStandard") SEQOF, SEMI, 0, 0, SKIP | OPT, 0,
1407 _H2250LogicalChannelAckParameters_nonStandard},
1408 {FNAME("sessionID") INT, 8, 1, 0, SKIP | OPT, 0, NULL},
1409 {FNAME("mediaChannel") CHOICE, 1, 2, 2, DECODE | EXT | OPT,
1410 offsetof(H2250LogicalChannelAckParameters, mediaChannel),
1411 _H245_TransportAddress},
1412 {FNAME("mediaControlChannel") CHOICE, 1, 2, 2, DECODE | EXT | OPT,
1413 offsetof(H2250LogicalChannelAckParameters, mediaControlChannel),
1414 _H245_TransportAddress},
1415 {FNAME("dynamicRTPPayloadType") INT, 5, 96, 0, SKIP | OPT, 0, NULL},
1416 {FNAME("flowControlToZero") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
1417 {FNAME("portNumber") INT, WORD, 0, 0, SKIP | OPT, 0, NULL},
1418};
1419
1420static field_t _OpenLogicalChannelAck_forwardMultiplexAckParameters[] = { /* CHOICE */
1421 {FNAME("h2250LogicalChannelAckParameters") SEQ, 5, 5, 7, DECODE | EXT,
1422 offsetof(OpenLogicalChannelAck_forwardMultiplexAckParameters,
1423 h2250LogicalChannelAckParameters),
1424 _H2250LogicalChannelAckParameters},
1425};
1426
1427static field_t _OpenLogicalChannelAck[] = { /* SEQUENCE */
1428 {FNAME("forwardLogicalChannelNumber") INT, WORD, 1, 0, SKIP, 0, NULL},
1429 {FNAME("reverseLogicalChannelParameters") SEQ, 2, 3, 4,
1430 DECODE | EXT | OPT, offsetof(OpenLogicalChannelAck,
1431 reverseLogicalChannelParameters),
1432 _OpenLogicalChannelAck_reverseLogicalChannelParameters},
1433 {FNAME("separateStack") SEQ, 2, 4, 5, SKIP | EXT | OPT, 0, NULL},
1434 {FNAME("forwardMultiplexAckParameters") CHOICE, 0, 1, 1,
1435 DECODE | EXT | OPT, offsetof(OpenLogicalChannelAck,
1436 forwardMultiplexAckParameters),
1437 _OpenLogicalChannelAck_forwardMultiplexAckParameters},
1438 {FNAME("encryptionSync") SEQ, 2, 4, 4, STOP | EXT | OPT, 0, NULL},
1439};
1440
1441static field_t _ResponseMessage[] = { /* CHOICE */
1442 {FNAME("nonStandard") SEQ, 0, 1, 1, STOP | EXT, 0, NULL},
1443 {FNAME("masterSlaveDeterminationAck") SEQ, 0, 1, 1, STOP | EXT, 0,
1444 NULL},
1445 {FNAME("masterSlaveDeterminationReject") SEQ, 0, 1, 1, STOP | EXT, 0,
1446 NULL},
1447 {FNAME("terminalCapabilitySetAck") SEQ, 0, 1, 1, STOP | EXT, 0, NULL},
1448 {FNAME("terminalCapabilitySetReject") SEQ, 0, 2, 2, STOP | EXT, 0,
1449 NULL},
1450 {FNAME("openLogicalChannelAck") SEQ, 1, 2, 5, DECODE | EXT,
1451 offsetof(ResponseMessage, openLogicalChannelAck),
1452 _OpenLogicalChannelAck},
1453 {FNAME("openLogicalChannelReject") SEQ, 0, 2, 2, STOP | EXT, 0, NULL},
1454 {FNAME("closeLogicalChannelAck") SEQ, 0, 1, 1, STOP | EXT, 0, NULL},
1455 {FNAME("requestChannelCloseAck") SEQ, 0, 1, 1, STOP | EXT, 0, NULL},
1456 {FNAME("requestChannelCloseReject") SEQ, 0, 2, 2, STOP | EXT, 0,
1457 NULL},
1458 {FNAME("multiplexEntrySendAck") SEQ, 0, 2, 2, STOP | EXT, 0, NULL},
1459 {FNAME("multiplexEntrySendReject") SEQ, 0, 2, 2, STOP | EXT, 0, NULL},
1460 {FNAME("requestMultiplexEntryAck") SEQ, 0, 1, 1, STOP | EXT, 0, NULL},
1461 {FNAME("requestMultiplexEntryReject") SEQ, 0, 2, 2, STOP | EXT, 0,
1462 NULL},
1463 {FNAME("requestModeAck") SEQ, 0, 2, 2, STOP | EXT, 0, NULL},
1464 {FNAME("requestModeReject") SEQ, 0, 2, 2, STOP | EXT, 0, NULL},
1465 {FNAME("roundTripDelayResponse") SEQ, 0, 1, 1, STOP | EXT, 0, NULL},
1466 {FNAME("maintenanceLoopAck") SEQ, 0, 1, 1, STOP | EXT, 0, NULL},
1467 {FNAME("maintenanceLoopReject") SEQ, 0, 2, 2, STOP | EXT, 0, NULL},
1468 {FNAME("communicationModeResponse") CHOICE, 0, 1, 1, STOP | EXT, 0,
1469 NULL},
1470 {FNAME("conferenceResponse") CHOICE, 3, 8, 16, STOP | EXT, 0, NULL},
1471 {FNAME("multilinkResponse") CHOICE, 3, 5, 5, STOP | EXT, 0, NULL},
1472 {FNAME("logicalChannelRateAcknowledge") SEQ, 0, 3, 3, STOP | EXT, 0,
1473 NULL},
1474 {FNAME("logicalChannelRateReject") SEQ, 1, 4, 4, STOP | EXT, 0, NULL},
1475};
1476
1477static field_t _MultimediaSystemControlMessage[] = { /* CHOICE */
1478 {FNAME("request") CHOICE, 4, 11, 15, DECODE | EXT,
1479 offsetof(MultimediaSystemControlMessage, request), _RequestMessage},
1480 {FNAME("response") CHOICE, 5, 19, 24, DECODE | EXT,
1481 offsetof(MultimediaSystemControlMessage, response),
1482 _ResponseMessage},
1483 {FNAME("command") CHOICE, 3, 7, 12, STOP | EXT, 0, NULL},
1484 {FNAME("indication") CHOICE, 4, 14, 23, STOP | EXT, 0, NULL},
1485};
1486
1487static field_t _H323_UU_PDU_h245Control[] = { /* SEQUENCE OF */
1488 {FNAME("item") CHOICE, 2, 4, 4, DECODE | OPEN | EXT,
1489 sizeof(MultimediaSystemControlMessage),
1490 _MultimediaSystemControlMessage}
1491 ,
1492};
1493
1494static field_t _H323_UU_PDU[] = { /* SEQUENCE */
1495 {FNAME("h323-message-body") CHOICE, 3, 7, 13, DECODE | EXT,
1496 offsetof(H323_UU_PDU, h323_message_body),
1497 _H323_UU_PDU_h323_message_body},
1498 {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP | OPT, 0,
1499 _NonStandardParameter},
1500 {FNAME("h4501SupplementaryService") SEQOF, SEMI, 0, 0, SKIP | OPT, 0,
1501 NULL},
1502 {FNAME("h245Tunneling") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
1503 {FNAME("h245Control") SEQOF, SEMI, 0, 4, DECODE | OPT,
1504 offsetof(H323_UU_PDU, h245Control), _H323_UU_PDU_h245Control},
1505 {FNAME("nonStandardControl") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1506 {FNAME("callLinkage") SEQ, 2, 2, 2, STOP | EXT | OPT, 0, NULL},
1507 {FNAME("tunnelledSignallingMessage") SEQ, 2, 4, 4, STOP | EXT | OPT,
1508 0, NULL},
1509 {FNAME("provisionalRespToH245Tunneling") NUL, FIXD, 0, 0, STOP | OPT,
1510 0, NULL},
1511 {FNAME("stimulusControl") SEQ, 3, 3, 3, STOP | EXT | OPT, 0, NULL},
1512 {FNAME("genericData") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1513};
1514
1515static field_t _H323_UserInformation[] = { /* SEQUENCE */
1516 {FNAME("h323-uu-pdu") SEQ, 1, 2, 11, DECODE | EXT,
1517 offsetof(H323_UserInformation, h323_uu_pdu), _H323_UU_PDU},
1518 {FNAME("user-data") SEQ, 0, 2, 2, STOP | EXT | OPT, 0, NULL},
1519};
1520
1521static field_t _GatekeeperRequest[] = { /* SEQUENCE */
1522 {FNAME("requestSeqNum") INT, WORD, 1, 0, SKIP, 0, NULL},
1523 {FNAME("protocolIdentifier") OID, BYTE, 0, 0, SKIP, 0, NULL},
1524 {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP | OPT, 0,
1525 _NonStandardParameter},
1526 {FNAME("rasAddress") CHOICE, 3, 7, 7, DECODE | EXT,
1527 offsetof(GatekeeperRequest, rasAddress), _TransportAddress},
1528 {FNAME("endpointType") SEQ, 6, 8, 10, STOP | EXT, 0, NULL},
1529 {FNAME("gatekeeperIdentifier") BMPSTR, 7, 1, 0, STOP | OPT, 0, NULL},
1530 {FNAME("callServices") SEQ, 0, 8, 8, STOP | EXT | OPT, 0, NULL},
1531 {FNAME("endpointAlias") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1532 {FNAME("alternateEndpoints") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1533 {FNAME("tokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1534 {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1535 {FNAME("authenticationCapability") SEQOF, SEMI, 0, 0, STOP | OPT, 0,
1536 NULL},
1537 {FNAME("algorithmOIDs") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1538 {FNAME("integrity") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1539 {FNAME("integrityCheckValue") SEQ, 0, 2, 2, STOP | OPT, 0, NULL},
1540 {FNAME("supportsAltGK") NUL, FIXD, 0, 0, STOP | OPT, 0, NULL},
1541 {FNAME("featureSet") SEQ, 3, 4, 4, STOP | EXT | OPT, 0, NULL},
1542 {FNAME("genericData") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1543};
1544
1545static field_t _GatekeeperConfirm[] = { /* SEQUENCE */
1546 {FNAME("requestSeqNum") INT, WORD, 1, 0, SKIP, 0, NULL},
1547 {FNAME("protocolIdentifier") OID, BYTE, 0, 0, SKIP, 0, NULL},
1548 {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP | OPT, 0,
1549 _NonStandardParameter},
1550 {FNAME("gatekeeperIdentifier") BMPSTR, 7, 1, 0, SKIP | OPT, 0, NULL},
1551 {FNAME("rasAddress") CHOICE, 3, 7, 7, DECODE | EXT,
1552 offsetof(GatekeeperConfirm, rasAddress), _TransportAddress},
1553 {FNAME("alternateGatekeeper") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1554 {FNAME("authenticationMode") CHOICE, 3, 7, 8, STOP | EXT | OPT, 0,
1555 NULL},
1556 {FNAME("tokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1557 {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1558 {FNAME("algorithmOID") OID, BYTE, 0, 0, STOP | OPT, 0, NULL},
1559 {FNAME("integrity") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1560 {FNAME("integrityCheckValue") SEQ, 0, 2, 2, STOP | OPT, 0, NULL},
1561 {FNAME("featureSet") SEQ, 3, 4, 4, STOP | EXT | OPT, 0, NULL},
1562 {FNAME("genericData") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1563};
1564
1565static field_t _RegistrationRequest_callSignalAddress[] = { /* SEQUENCE OF */
1566 {FNAME("item") CHOICE, 3, 7, 7, DECODE | EXT,
1567 sizeof(TransportAddress), _TransportAddress}
1568 ,
1569};
1570
1571static field_t _RegistrationRequest_rasAddress[] = { /* SEQUENCE OF */
1572 {FNAME("item") CHOICE, 3, 7, 7, DECODE | EXT,
1573 sizeof(TransportAddress), _TransportAddress}
1574 ,
1575};
1576
1577static field_t _RegistrationRequest_terminalAlias[] = { /* SEQUENCE OF */
1578 {FNAME("item") CHOICE, 1, 2, 7, SKIP | EXT, 0, _AliasAddress},
1579};
1580
1581static field_t _RegistrationRequest[] = { /* SEQUENCE */
1582 {FNAME("requestSeqNum") INT, WORD, 1, 0, SKIP, 0, NULL},
1583 {FNAME("protocolIdentifier") OID, BYTE, 0, 0, SKIP, 0, NULL},
1584 {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP | OPT, 0,
1585 _NonStandardParameter},
1586 {FNAME("discoveryComplete") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
1587 {FNAME("callSignalAddress") SEQOF, SEMI, 0, 10, DECODE,
1588 offsetof(RegistrationRequest, callSignalAddress),
1589 _RegistrationRequest_callSignalAddress},
1590 {FNAME("rasAddress") SEQOF, SEMI, 0, 10, DECODE,
1591 offsetof(RegistrationRequest, rasAddress),
1592 _RegistrationRequest_rasAddress},
1593 {FNAME("terminalType") SEQ, 6, 8, 10, SKIP | EXT, 0, _EndpointType},
1594 {FNAME("terminalAlias") SEQOF, SEMI, 0, 0, SKIP | OPT, 0,
1595 _RegistrationRequest_terminalAlias},
1596 {FNAME("gatekeeperIdentifier") BMPSTR, 7, 1, 0, SKIP | OPT, 0, NULL},
1597 {FNAME("endpointVendor") SEQ, 2, 3, 3, SKIP | EXT, 0,
1598 _VendorIdentifier},
1599 {FNAME("alternateEndpoints") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
1600 {FNAME("timeToLive") INT, CONS, 1, 0, DECODE | OPT,
1601 offsetof(RegistrationRequest, timeToLive), NULL},
1602 {FNAME("tokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1603 {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1604 {FNAME("integrityCheckValue") SEQ, 0, 2, 2, STOP | OPT, 0, NULL},
1605 {FNAME("keepAlive") BOOL, FIXD, 0, 0, STOP, 0, NULL},
1606 {FNAME("endpointIdentifier") BMPSTR, 7, 1, 0, STOP | OPT, 0, NULL},
1607 {FNAME("willSupplyUUIEs") BOOL, FIXD, 0, 0, STOP, 0, NULL},
1608 {FNAME("maintainConnection") BOOL, FIXD, 0, 0, STOP, 0, NULL},
1609 {FNAME("alternateTransportAddresses") SEQ, 1, 1, 1, STOP | EXT | OPT,
1610 0, NULL},
1611 {FNAME("additiveRegistration") NUL, FIXD, 0, 0, STOP | OPT, 0, NULL},
1612 {FNAME("terminalAliasPattern") SEQOF, SEMI, 0, 0, STOP | OPT, 0,
1613 NULL},
1614 {FNAME("supportsAltGK") NUL, FIXD, 0, 0, STOP | OPT, 0, NULL},
1615 {FNAME("usageReportingCapability") SEQ, 3, 4, 4, STOP | EXT | OPT, 0,
1616 NULL},
1617 {FNAME("multipleCalls") BOOL, FIXD, 0, 0, STOP | OPT, 0, NULL},
1618 {FNAME("supportedH248Packages") SEQOF, SEMI, 0, 0, STOP | OPT, 0,
1619 NULL},
1620 {FNAME("callCreditCapability") SEQ, 2, 2, 2, STOP | EXT | OPT, 0,
1621 NULL},
1622 {FNAME("capacityReportingCapability") SEQ, 0, 1, 1, STOP | EXT | OPT,
1623 0, NULL},
1624 {FNAME("capacity") SEQ, 2, 2, 2, STOP | EXT | OPT, 0, NULL},
1625 {FNAME("featureSet") SEQ, 3, 4, 4, STOP | EXT | OPT, 0, NULL},
1626 {FNAME("genericData") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1627};
1628
1629static field_t _RegistrationConfirm_callSignalAddress[] = { /* SEQUENCE OF */
1630 {FNAME("item") CHOICE, 3, 7, 7, DECODE | EXT,
1631 sizeof(TransportAddress), _TransportAddress}
1632 ,
1633};
1634
1635static field_t _RegistrationConfirm_terminalAlias[] = { /* SEQUENCE OF */
1636 {FNAME("item") CHOICE, 1, 2, 7, SKIP | EXT, 0, _AliasAddress},
1637};
1638
1639static field_t _RegistrationConfirm[] = { /* SEQUENCE */
1640 {FNAME("requestSeqNum") INT, WORD, 1, 0, SKIP, 0, NULL},
1641 {FNAME("protocolIdentifier") OID, BYTE, 0, 0, SKIP, 0, NULL},
1642 {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP | OPT, 0,
1643 _NonStandardParameter},
1644 {FNAME("callSignalAddress") SEQOF, SEMI, 0, 10, DECODE,
1645 offsetof(RegistrationConfirm, callSignalAddress),
1646 _RegistrationConfirm_callSignalAddress},
1647 {FNAME("terminalAlias") SEQOF, SEMI, 0, 0, SKIP | OPT, 0,
1648 _RegistrationConfirm_terminalAlias},
1649 {FNAME("gatekeeperIdentifier") BMPSTR, 7, 1, 0, SKIP | OPT, 0, NULL},
1650 {FNAME("endpointIdentifier") BMPSTR, 7, 1, 0, SKIP, 0, NULL},
1651 {FNAME("alternateGatekeeper") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
1652 {FNAME("timeToLive") INT, CONS, 1, 0, DECODE | OPT,
1653 offsetof(RegistrationConfirm, timeToLive), NULL},
1654 {FNAME("tokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1655 {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1656 {FNAME("integrityCheckValue") SEQ, 0, 2, 2, STOP | OPT, 0, NULL},
1657 {FNAME("willRespondToIRR") BOOL, FIXD, 0, 0, STOP, 0, NULL},
1658 {FNAME("preGrantedARQ") SEQ, 0, 4, 8, STOP | EXT | OPT, 0, NULL},
1659 {FNAME("maintainConnection") BOOL, FIXD, 0, 0, STOP, 0, NULL},
1660 {FNAME("serviceControl") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1661 {FNAME("supportsAdditiveRegistration") NUL, FIXD, 0, 0, STOP | OPT, 0,
1662 NULL},
1663 {FNAME("terminalAliasPattern") SEQOF, SEMI, 0, 0, STOP | OPT, 0,
1664 NULL},
1665 {FNAME("supportedPrefixes") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1666 {FNAME("usageSpec") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1667 {FNAME("featureServerAlias") CHOICE, 1, 2, 7, STOP | EXT | OPT, 0,
1668 NULL},
1669 {FNAME("capacityReportingSpec") SEQ, 0, 1, 1, STOP | EXT | OPT, 0,
1670 NULL},
1671 {FNAME("featureSet") SEQ, 3, 4, 4, STOP | EXT | OPT, 0, NULL},
1672 {FNAME("genericData") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1673};
1674
1675static field_t _UnregistrationRequest_callSignalAddress[] = { /* SEQUENCE OF */
1676 {FNAME("item") CHOICE, 3, 7, 7, DECODE | EXT,
1677 sizeof(TransportAddress), _TransportAddress}
1678 ,
1679};
1680
1681static field_t _UnregistrationRequest[] = { /* SEQUENCE */
1682 {FNAME("requestSeqNum") INT, WORD, 1, 0, SKIP, 0, NULL},
1683 {FNAME("callSignalAddress") SEQOF, SEMI, 0, 10, DECODE,
1684 offsetof(UnregistrationRequest, callSignalAddress),
1685 _UnregistrationRequest_callSignalAddress},
1686 {FNAME("endpointAlias") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1687 {FNAME("nonStandardData") SEQ, 0, 2, 2, STOP | OPT, 0, NULL},
1688 {FNAME("endpointIdentifier") BMPSTR, 7, 1, 0, STOP | OPT, 0, NULL},
1689 {FNAME("alternateEndpoints") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1690 {FNAME("gatekeeperIdentifier") BMPSTR, 7, 1, 0, STOP | OPT, 0, NULL},
1691 {FNAME("tokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1692 {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1693 {FNAME("integrityCheckValue") SEQ, 0, 2, 2, STOP | OPT, 0, NULL},
1694 {FNAME("reason") CHOICE, 2, 4, 5, STOP | EXT | OPT, 0, NULL},
1695 {FNAME("endpointAliasPattern") SEQOF, SEMI, 0, 0, STOP | OPT, 0,
1696 NULL},
1697 {FNAME("supportedPrefixes") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1698 {FNAME("alternateGatekeeper") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1699 {FNAME("genericData") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1700};
1701
1702static field_t _CallModel[] = { /* CHOICE */
1703 {FNAME("direct") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1704 {FNAME("gatekeeperRouted") NUL, FIXD, 0, 0, SKIP, 0, NULL},
1705};
1706
1707static field_t _AdmissionRequest_destinationInfo[] = { /* SEQUENCE OF */
1708 {FNAME("item") CHOICE, 1, 2, 7, SKIP | EXT, 0, _AliasAddress},
1709};
1710
1711static field_t _AdmissionRequest_destExtraCallInfo[] = { /* SEQUENCE OF */
1712 {FNAME("item") CHOICE, 1, 2, 7, SKIP | EXT, 0, _AliasAddress},
1713};
1714
1715static field_t _AdmissionRequest_srcInfo[] = { /* SEQUENCE OF */
1716 {FNAME("item") CHOICE, 1, 2, 7, SKIP | EXT, 0, _AliasAddress},
1717};
1718
1719static field_t _AdmissionRequest[] = { /* SEQUENCE */
1720 {FNAME("requestSeqNum") INT, WORD, 1, 0, SKIP, 0, NULL},
1721 {FNAME("callType") CHOICE, 2, 4, 4, SKIP | EXT, 0, _CallType},
1722 {FNAME("callModel") CHOICE, 1, 2, 2, SKIP | EXT | OPT, 0, _CallModel},
1723 {FNAME("endpointIdentifier") BMPSTR, 7, 1, 0, SKIP, 0, NULL},
1724 {FNAME("destinationInfo") SEQOF, SEMI, 0, 0, SKIP | OPT, 0,
1725 _AdmissionRequest_destinationInfo},
1726 {FNAME("destCallSignalAddress") CHOICE, 3, 7, 7, DECODE | EXT | OPT,
1727 offsetof(AdmissionRequest, destCallSignalAddress),
1728 _TransportAddress},
1729 {FNAME("destExtraCallInfo") SEQOF, SEMI, 0, 0, SKIP | OPT, 0,
1730 _AdmissionRequest_destExtraCallInfo},
1731 {FNAME("srcInfo") SEQOF, SEMI, 0, 0, SKIP, 0,
1732 _AdmissionRequest_srcInfo},
1733 {FNAME("srcCallSignalAddress") CHOICE, 3, 7, 7, DECODE | EXT | OPT,
1734 offsetof(AdmissionRequest, srcCallSignalAddress), _TransportAddress},
1735 {FNAME("bandWidth") INT, CONS, 0, 0, STOP, 0, NULL},
1736 {FNAME("callReferenceValue") INT, WORD, 0, 0, STOP, 0, NULL},
1737 {FNAME("nonStandardData") SEQ, 0, 2, 2, STOP | OPT, 0, NULL},
1738 {FNAME("callServices") SEQ, 0, 8, 8, STOP | EXT | OPT, 0, NULL},
1739 {FNAME("conferenceID") OCTSTR, FIXD, 16, 0, STOP, 0, NULL},
1740 {FNAME("activeMC") BOOL, FIXD, 0, 0, STOP, 0, NULL},
1741 {FNAME("answerCall") BOOL, FIXD, 0, 0, STOP, 0, NULL},
1742 {FNAME("canMapAlias") BOOL, FIXD, 0, 0, STOP, 0, NULL},
1743 {FNAME("callIdentifier") SEQ, 0, 1, 1, STOP | EXT, 0, NULL},
1744 {FNAME("srcAlternatives") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1745 {FNAME("destAlternatives") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1746 {FNAME("gatekeeperIdentifier") BMPSTR, 7, 1, 0, STOP | OPT, 0, NULL},
1747 {FNAME("tokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1748 {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1749 {FNAME("integrityCheckValue") SEQ, 0, 2, 2, STOP | OPT, 0, NULL},
1750 {FNAME("transportQOS") CHOICE, 2, 3, 3, STOP | EXT | OPT, 0, NULL},
1751 {FNAME("willSupplyUUIEs") BOOL, FIXD, 0, 0, STOP, 0, NULL},
1752 {FNAME("callLinkage") SEQ, 2, 2, 2, STOP | EXT | OPT, 0, NULL},
1753 {FNAME("gatewayDataRate") SEQ, 2, 3, 3, STOP | EXT | OPT, 0, NULL},
1754 {FNAME("capacity") SEQ, 2, 2, 2, STOP | EXT | OPT, 0, NULL},
1755 {FNAME("circuitInfo") SEQ, 3, 3, 3, STOP | EXT | OPT, 0, NULL},
1756 {FNAME("desiredProtocols") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1757 {FNAME("desiredTunnelledProtocol") SEQ, 1, 2, 2, STOP | EXT | OPT, 0,
1758 NULL},
1759 {FNAME("featureSet") SEQ, 3, 4, 4, STOP | EXT | OPT, 0, NULL},
1760 {FNAME("genericData") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1761};
1762
1763static field_t _AdmissionConfirm[] = { /* SEQUENCE */
1764 {FNAME("requestSeqNum") INT, WORD, 1, 0, SKIP, 0, NULL},
1765 {FNAME("bandWidth") INT, CONS, 0, 0, SKIP, 0, NULL},
1766 {FNAME("callModel") CHOICE, 1, 2, 2, SKIP | EXT, 0, _CallModel},
1767 {FNAME("destCallSignalAddress") CHOICE, 3, 7, 7, DECODE | EXT,
1768 offsetof(AdmissionConfirm, destCallSignalAddress),
1769 _TransportAddress},
1770 {FNAME("irrFrequency") INT, WORD, 1, 0, STOP | OPT, 0, NULL},
1771 {FNAME("nonStandardData") SEQ, 0, 2, 2, STOP | OPT, 0, NULL},
1772 {FNAME("destinationInfo") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1773 {FNAME("destExtraCallInfo") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1774 {FNAME("destinationType") SEQ, 6, 8, 10, STOP | EXT | OPT, 0, NULL},
1775 {FNAME("remoteExtensionAddress") SEQOF, SEMI, 0, 0, STOP | OPT, 0,
1776 NULL},
1777 {FNAME("alternateEndpoints") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1778 {FNAME("tokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1779 {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1780 {FNAME("integrityCheckValue") SEQ, 0, 2, 2, STOP | OPT, 0, NULL},
1781 {FNAME("transportQOS") CHOICE, 2, 3, 3, STOP | EXT | OPT, 0, NULL},
1782 {FNAME("willRespondToIRR") BOOL, FIXD, 0, 0, STOP, 0, NULL},
1783 {FNAME("uuiesRequested") SEQ, 0, 9, 13, STOP | EXT, 0, NULL},
1784 {FNAME("language") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1785 {FNAME("alternateTransportAddresses") SEQ, 1, 1, 1, STOP | EXT | OPT,
1786 0, NULL},
1787 {FNAME("useSpecifiedTransport") CHOICE, 1, 2, 2, STOP | EXT | OPT, 0,
1788 NULL},
1789 {FNAME("circuitInfo") SEQ, 3, 3, 3, STOP | EXT | OPT, 0, NULL},
1790 {FNAME("usageSpec") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1791 {FNAME("supportedProtocols") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1792 {FNAME("serviceControl") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1793 {FNAME("multipleCalls") BOOL, FIXD, 0, 0, STOP | OPT, 0, NULL},
1794 {FNAME("featureSet") SEQ, 3, 4, 4, STOP | EXT | OPT, 0, NULL},
1795 {FNAME("genericData") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1796};
1797
1798static field_t _LocationRequest_destinationInfo[] = { /* SEQUENCE OF */
1799 {FNAME("item") CHOICE, 1, 2, 7, SKIP | EXT, 0, _AliasAddress},
1800};
1801
1802static field_t _LocationRequest[] = { /* SEQUENCE */
1803 {FNAME("requestSeqNum") INT, WORD, 1, 0, SKIP, 0, NULL},
1804 {FNAME("endpointIdentifier") BMPSTR, 7, 1, 0, SKIP | OPT, 0, NULL},
1805 {FNAME("destinationInfo") SEQOF, SEMI, 0, 0, SKIP, 0,
1806 _LocationRequest_destinationInfo},
1807 {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP | OPT, 0,
1808 _NonStandardParameter},
1809 {FNAME("replyAddress") CHOICE, 3, 7, 7, DECODE | EXT,
1810 offsetof(LocationRequest, replyAddress), _TransportAddress},
1811 {FNAME("sourceInfo") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1812 {FNAME("canMapAlias") BOOL, FIXD, 0, 0, STOP, 0, NULL},
1813 {FNAME("gatekeeperIdentifier") BMPSTR, 7, 1, 0, STOP | OPT, 0, NULL},
1814 {FNAME("tokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1815 {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1816 {FNAME("integrityCheckValue") SEQ, 0, 2, 2, STOP | OPT, 0, NULL},
1817 {FNAME("desiredProtocols") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1818 {FNAME("desiredTunnelledProtocol") SEQ, 1, 2, 2, STOP | EXT | OPT, 0,
1819 NULL},
1820 {FNAME("featureSet") SEQ, 3, 4, 4, STOP | EXT | OPT, 0, NULL},
1821 {FNAME("genericData") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1822 {FNAME("hopCount") INT, 8, 1, 0, STOP | OPT, 0, NULL},
1823 {FNAME("circuitInfo") SEQ, 3, 3, 3, STOP | EXT | OPT, 0, NULL},
1824};
1825
1826static field_t _LocationConfirm[] = { /* SEQUENCE */
1827 {FNAME("requestSeqNum") INT, WORD, 1, 0, SKIP, 0, NULL},
1828 {FNAME("callSignalAddress") CHOICE, 3, 7, 7, DECODE | EXT,
1829 offsetof(LocationConfirm, callSignalAddress), _TransportAddress},
1830 {FNAME("rasAddress") CHOICE, 3, 7, 7, DECODE | EXT,
1831 offsetof(LocationConfirm, rasAddress), _TransportAddress},
1832 {FNAME("nonStandardData") SEQ, 0, 2, 2, STOP | OPT, 0, NULL},
1833 {FNAME("destinationInfo") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1834 {FNAME("destExtraCallInfo") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1835 {FNAME("destinationType") SEQ, 6, 8, 10, STOP | EXT | OPT, 0, NULL},
1836 {FNAME("remoteExtensionAddress") SEQOF, SEMI, 0, 0, STOP | OPT, 0,
1837 NULL},
1838 {FNAME("alternateEndpoints") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1839 {FNAME("tokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1840 {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1841 {FNAME("integrityCheckValue") SEQ, 0, 2, 2, STOP | OPT, 0, NULL},
1842 {FNAME("alternateTransportAddresses") SEQ, 1, 1, 1, STOP | EXT | OPT,
1843 0, NULL},
1844 {FNAME("supportedProtocols") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1845 {FNAME("multipleCalls") BOOL, FIXD, 0, 0, STOP | OPT, 0, NULL},
1846 {FNAME("featureSet") SEQ, 3, 4, 4, STOP | EXT | OPT, 0, NULL},
1847 {FNAME("genericData") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1848 {FNAME("circuitInfo") SEQ, 3, 3, 3, STOP | EXT | OPT, 0, NULL},
1849 {FNAME("serviceControl") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1850};
1851
1852static field_t _InfoRequestResponse_callSignalAddress[] = { /* SEQUENCE OF */
1853 {FNAME("item") CHOICE, 3, 7, 7, DECODE | EXT,
1854 sizeof(TransportAddress), _TransportAddress}
1855 ,
1856};
1857
1858static field_t _InfoRequestResponse[] = { /* SEQUENCE */
1859 {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP | OPT, 0,
1860 _NonStandardParameter},
1861 {FNAME("requestSeqNum") INT, WORD, 1, 0, SKIP, 0, NULL},
1862 {FNAME("endpointType") SEQ, 6, 8, 10, SKIP | EXT, 0, _EndpointType},
1863 {FNAME("endpointIdentifier") BMPSTR, 7, 1, 0, SKIP, 0, NULL},
1864 {FNAME("rasAddress") CHOICE, 3, 7, 7, DECODE | EXT,
1865 offsetof(InfoRequestResponse, rasAddress), _TransportAddress},
1866 {FNAME("callSignalAddress") SEQOF, SEMI, 0, 10, DECODE,
1867 offsetof(InfoRequestResponse, callSignalAddress),
1868 _InfoRequestResponse_callSignalAddress},
1869 {FNAME("endpointAlias") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1870 {FNAME("perCallInfo") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1871 {FNAME("tokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1872 {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1873 {FNAME("integrityCheckValue") SEQ, 0, 2, 2, STOP | OPT, 0, NULL},
1874 {FNAME("needResponse") BOOL, FIXD, 0, 0, STOP, 0, NULL},
1875 {FNAME("capacity") SEQ, 2, 2, 2, STOP | EXT | OPT, 0, NULL},
1876 {FNAME("irrStatus") CHOICE, 2, 4, 4, STOP | EXT | OPT, 0, NULL},
1877 {FNAME("unsolicited") BOOL, FIXD, 0, 0, STOP, 0, NULL},
1878 {FNAME("genericData") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
1879};
1880
1881static field_t _RasMessage[] = { /* CHOICE */
1882 {FNAME("gatekeeperRequest") SEQ, 4, 8, 18, DECODE | EXT,
1883 offsetof(RasMessage, gatekeeperRequest), _GatekeeperRequest},
1884 {FNAME("gatekeeperConfirm") SEQ, 2, 5, 14, DECODE | EXT,
1885 offsetof(RasMessage, gatekeeperConfirm), _GatekeeperConfirm},
1886 {FNAME("gatekeeperReject") SEQ, 2, 5, 11, STOP | EXT, 0, NULL},
1887 {FNAME("registrationRequest") SEQ, 3, 10, 31, DECODE | EXT,
1888 offsetof(RasMessage, registrationRequest), _RegistrationRequest},
1889 {FNAME("registrationConfirm") SEQ, 3, 7, 24, DECODE | EXT,
1890 offsetof(RasMessage, registrationConfirm), _RegistrationConfirm},
1891 {FNAME("registrationReject") SEQ, 2, 5, 11, STOP | EXT, 0, NULL},
1892 {FNAME("unregistrationRequest") SEQ, 3, 5, 15, DECODE | EXT,
1893 offsetof(RasMessage, unregistrationRequest), _UnregistrationRequest},
1894 {FNAME("unregistrationConfirm") SEQ, 1, 2, 6, STOP | EXT, 0, NULL},
1895 {FNAME("unregistrationReject") SEQ, 1, 3, 8, STOP | EXT, 0, NULL},
1896 {FNAME("admissionRequest") SEQ, 7, 16, 34, DECODE | EXT,
1897 offsetof(RasMessage, admissionRequest), _AdmissionRequest},
1898 {FNAME("admissionConfirm") SEQ, 2, 6, 27, DECODE | EXT,
1899 offsetof(RasMessage, admissionConfirm), _AdmissionConfirm},
1900 {FNAME("admissionReject") SEQ, 1, 3, 11, STOP | EXT, 0, NULL},
1901 {FNAME("bandwidthRequest") SEQ, 2, 7, 18, STOP | EXT, 0, NULL},
1902 {FNAME("bandwidthConfirm") SEQ, 1, 3, 8, STOP | EXT, 0, NULL},
1903 {FNAME("bandwidthReject") SEQ, 1, 4, 9, STOP | EXT, 0, NULL},
1904 {FNAME("disengageRequest") SEQ, 1, 6, 19, STOP | EXT, 0, NULL},
1905 {FNAME("disengageConfirm") SEQ, 1, 2, 9, STOP | EXT, 0, NULL},
1906 {FNAME("disengageReject") SEQ, 1, 3, 8, STOP | EXT, 0, NULL},
1907 {FNAME("locationRequest") SEQ, 2, 5, 17, DECODE | EXT,
1908 offsetof(RasMessage, locationRequest), _LocationRequest},
1909 {FNAME("locationConfirm") SEQ, 1, 4, 19, DECODE | EXT,
1910 offsetof(RasMessage, locationConfirm), _LocationConfirm},
1911 {FNAME("locationReject") SEQ, 1, 3, 10, STOP | EXT, 0, NULL},
1912 {FNAME("infoRequest") SEQ, 2, 4, 15, STOP | EXT, 0, NULL},
1913 {FNAME("infoRequestResponse") SEQ, 3, 8, 16, DECODE | EXT,
1914 offsetof(RasMessage, infoRequestResponse), _InfoRequestResponse},
1915 {FNAME("nonStandardMessage") SEQ, 0, 2, 7, STOP | EXT, 0, NULL},
1916 {FNAME("unknownMessageResponse") SEQ, 0, 1, 5, STOP | EXT, 0, NULL},
1917 {FNAME("requestInProgress") SEQ, 4, 6, 6, STOP | EXT, 0, NULL},
1918 {FNAME("resourcesAvailableIndicate") SEQ, 4, 9, 11, STOP | EXT, 0,
1919 NULL},
1920 {FNAME("resourcesAvailableConfirm") SEQ, 4, 6, 7, STOP | EXT, 0,
1921 NULL},
1922 {FNAME("infoRequestAck") SEQ, 4, 5, 5, STOP | EXT, 0, NULL},
1923 {FNAME("infoRequestNak") SEQ, 5, 7, 7, STOP | EXT, 0, NULL},
1924 {FNAME("serviceControlIndication") SEQ, 8, 10, 10, STOP | EXT, 0,
1925 NULL},
1926 {FNAME("serviceControlResponse") SEQ, 7, 8, 8, STOP | EXT, 0, NULL},
1927};