nf_conntrack_h323_types.c 88 KB

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