nf_conntrack_h323_types.c 86 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927
  1. /* Generated by Jing Min Zhao's ASN.1 parser, Apr 20 2006
  2. *
  3. * Copyright (c) 2006 Jing Min Zhao <zhaojingmin@users.sourceforge.net>
  4. *
  5. * This source code is licensed under General Public License version 2.
  6. */
  7. static field_t _TransportAddress_ipAddress[] = { /* SEQUENCE */
  8. {FNAME("ip") OCTSTR, FIXD, 4, 0, DECODE,
  9. offsetof(TransportAddress_ipAddress, ip), NULL},
  10. {FNAME("port") INT, WORD, 0, 0, SKIP, 0, NULL},
  11. };
  12. static field_t _TransportAddress_ipSourceRoute_route[] = { /* SEQUENCE OF */
  13. {FNAME("item") OCTSTR, FIXD, 4, 0, SKIP, 0, NULL},
  14. };
  15. static field_t _TransportAddress_ipSourceRoute_routing[] = { /* CHOICE */
  16. {FNAME("strict") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  17. {FNAME("loose") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  18. };
  19. static field_t _TransportAddress_ipSourceRoute[] = { /* SEQUENCE */
  20. {FNAME("ip") OCTSTR, FIXD, 4, 0, SKIP, 0, NULL},
  21. {FNAME("port") INT, WORD, 0, 0, SKIP, 0, NULL},
  22. {FNAME("route") SEQOF, SEMI, 0, 0, SKIP, 0,
  23. _TransportAddress_ipSourceRoute_route},
  24. {FNAME("routing") CHOICE, 1, 2, 2, SKIP | EXT, 0,
  25. _TransportAddress_ipSourceRoute_routing},
  26. };
  27. static field_t _TransportAddress_ipxAddress[] = { /* SEQUENCE */
  28. {FNAME("node") OCTSTR, FIXD, 6, 0, SKIP, 0, NULL},
  29. {FNAME("netnum") OCTSTR, FIXD, 4, 0, SKIP, 0, NULL},
  30. {FNAME("port") OCTSTR, FIXD, 2, 0, SKIP, 0, NULL},
  31. };
  32. static field_t _TransportAddress_ip6Address[] = { /* SEQUENCE */
  33. {FNAME("ip") OCTSTR, FIXD, 16, 0, DECODE,
  34. offsetof(TransportAddress_ip6Address, ip6), NULL},
  35. {FNAME("port") INT, WORD, 0, 0, SKIP, 0, NULL},
  36. };
  37. static field_t _H221NonStandard[] = { /* SEQUENCE */
  38. {FNAME("t35CountryCode") INT, BYTE, 0, 0, SKIP, 0, NULL},
  39. {FNAME("t35Extension") INT, BYTE, 0, 0, SKIP, 0, NULL},
  40. {FNAME("manufacturerCode") INT, WORD, 0, 0, SKIP, 0, NULL},
  41. };
  42. static field_t _NonStandardIdentifier[] = { /* CHOICE */
  43. {FNAME("object") OID, BYTE, 0, 0, SKIP, 0, NULL},
  44. {FNAME("h221NonStandard") SEQ, 0, 3, 3, SKIP | EXT, 0,
  45. _H221NonStandard},
  46. };
  47. static field_t _NonStandardParameter[] = { /* SEQUENCE */
  48. {FNAME("nonStandardIdentifier") CHOICE, 1, 2, 2, SKIP | EXT, 0,
  49. _NonStandardIdentifier},
  50. {FNAME("data") OCTSTR, SEMI, 0, 0, SKIP, 0, NULL},
  51. };
  52. static field_t _TransportAddress[] = { /* CHOICE */
  53. {FNAME("ipAddress") SEQ, 0, 2, 2, DECODE,
  54. offsetof(TransportAddress, ipAddress), _TransportAddress_ipAddress},
  55. {FNAME("ipSourceRoute") SEQ, 0, 4, 4, SKIP | EXT, 0,
  56. _TransportAddress_ipSourceRoute},
  57. {FNAME("ipxAddress") SEQ, 0, 3, 3, SKIP, 0,
  58. _TransportAddress_ipxAddress},
  59. {FNAME("ip6Address") SEQ, 0, 2, 2, DECODE | EXT,
  60. offsetof(TransportAddress, ip6Address), _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 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 field_t _Setup_UUIE_sourceAddress[] = { /* SEQUENCE OF */
  76. {FNAME("item") CHOICE, 1, 2, 7, SKIP | EXT, 0, _AliasAddress},
  77. };
  78. static 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 field_t _GatekeeperInfo[] = { /* SEQUENCE */
  84. {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP | OPT, 0,
  85. _NonStandardParameter},
  86. };
  87. static 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 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 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 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 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 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 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 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 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 field_t _GatewayInfo_protocol[] = { /* SEQUENCE OF */
  150. {FNAME("item") CHOICE, 4, 9, 11, SKIP | EXT, 0, _SupportedProtocols},
  151. };
  152. static 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 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 field_t _TerminalInfo[] = { /* SEQUENCE */
  164. {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP | OPT, 0,
  165. _NonStandardParameter},
  166. };
  167. static 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 field_t _Setup_UUIE_destinationAddress[] = { /* SEQUENCE OF */
  184. {FNAME("item") CHOICE, 1, 2, 7, SKIP | EXT, 0, _AliasAddress},
  185. };
  186. static field_t _Setup_UUIE_destExtraCallInfo[] = { /* SEQUENCE OF */
  187. {FNAME("item") CHOICE, 1, 2, 7, SKIP | EXT, 0, _AliasAddress},
  188. };
  189. static field_t _Setup_UUIE_destExtraCRV[] = { /* SEQUENCE OF */
  190. {FNAME("item") INT, WORD, 0, 0, SKIP, 0, NULL},
  191. };
  192. static 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 field_t _V75Parameters[] = { /* SEQUENCE */
  543. {FNAME("audioHeaderPresent") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
  544. };
  545. static 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 field_t _H2250LogicalChannelParameters_nonStandard[] = { /* SEQUENCE OF */
  556. {FNAME("item") SEQ, 0, 2, 2, SKIP, 0, _H245_NonStandardParameter},
  557. };
  558. static 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 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 field_t _UnicastAddress_iP6Address[] = { /* SEQUENCE */
  569. {FNAME("network") OCTSTR, FIXD, 16, 0, SKIP, 0, NULL},
  570. {FNAME("tsapIdentifier") INT, WORD, 0, 0, SKIP, 0, NULL},
  571. };
  572. static field_t _UnicastAddress_iPSourceRouteAddress_routing[] = { /* CHOICE */
  573. {FNAME("strict") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  574. {FNAME("loose") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  575. };
  576. static field_t _UnicastAddress_iPSourceRouteAddress_route[] = { /* SEQUENCE OF */
  577. {FNAME("item") OCTSTR, FIXD, 4, 0, SKIP, 0, NULL},
  578. };
  579. static field_t _UnicastAddress_iPSourceRouteAddress[] = { /* SEQUENCE */
  580. {FNAME("routing") CHOICE, 1, 2, 2, SKIP, 0,
  581. _UnicastAddress_iPSourceRouteAddress_routing},
  582. {FNAME("network") OCTSTR, FIXD, 4, 0, SKIP, 0, NULL},
  583. {FNAME("tsapIdentifier") INT, WORD, 0, 0, SKIP, 0, NULL},
  584. {FNAME("route") SEQOF, SEMI, 0, 0, SKIP, 0,
  585. _UnicastAddress_iPSourceRouteAddress_route},
  586. };
  587. static field_t _UnicastAddress[] = { /* CHOICE */
  588. {FNAME("iPAddress") SEQ, 0, 2, 2, DECODE | EXT,
  589. offsetof(UnicastAddress, iPAddress), _UnicastAddress_iPAddress},
  590. {FNAME("iPXAddress") SEQ, 0, 3, 3, SKIP | EXT, 0,
  591. _UnicastAddress_iPXAddress},
  592. {FNAME("iP6Address") SEQ, 0, 2, 2, SKIP | EXT, 0,
  593. _UnicastAddress_iP6Address},
  594. {FNAME("netBios") OCTSTR, FIXD, 16, 0, SKIP, 0, NULL},
  595. {FNAME("iPSourceRouteAddress") SEQ, 0, 4, 4, SKIP | EXT, 0,
  596. _UnicastAddress_iPSourceRouteAddress},
  597. {FNAME("nsap") OCTSTR, 5, 1, 0, SKIP, 0, NULL},
  598. {FNAME("nonStandardAddress") SEQ, 0, 2, 2, SKIP, 0, NULL},
  599. };
  600. static field_t _MulticastAddress_iPAddress[] = { /* SEQUENCE */
  601. {FNAME("network") OCTSTR, FIXD, 4, 0, SKIP, 0, NULL},
  602. {FNAME("tsapIdentifier") INT, WORD, 0, 0, SKIP, 0, NULL},
  603. };
  604. static field_t _MulticastAddress_iP6Address[] = { /* SEQUENCE */
  605. {FNAME("network") OCTSTR, FIXD, 16, 0, SKIP, 0, NULL},
  606. {FNAME("tsapIdentifier") INT, WORD, 0, 0, SKIP, 0, NULL},
  607. };
  608. static field_t _MulticastAddress[] = { /* CHOICE */
  609. {FNAME("iPAddress") SEQ, 0, 2, 2, SKIP | EXT, 0,
  610. _MulticastAddress_iPAddress},
  611. {FNAME("iP6Address") SEQ, 0, 2, 2, SKIP | EXT, 0,
  612. _MulticastAddress_iP6Address},
  613. {FNAME("nsap") OCTSTR, 5, 1, 0, SKIP, 0, NULL},
  614. {FNAME("nonStandardAddress") SEQ, 0, 2, 2, SKIP, 0, NULL},
  615. };
  616. static field_t _H245_TransportAddress[] = { /* CHOICE */
  617. {FNAME("unicastAddress") CHOICE, 3, 5, 7, DECODE | EXT,
  618. offsetof(H245_TransportAddress, unicastAddress), _UnicastAddress},
  619. {FNAME("multicastAddress") CHOICE, 1, 2, 4, SKIP | EXT, 0,
  620. _MulticastAddress},
  621. };
  622. static field_t _H2250LogicalChannelParameters[] = { /* SEQUENCE */
  623. {FNAME("nonStandard") SEQOF, SEMI, 0, 0, SKIP | OPT, 0,
  624. _H2250LogicalChannelParameters_nonStandard},
  625. {FNAME("sessionID") INT, BYTE, 0, 0, SKIP, 0, NULL},
  626. {FNAME("associatedSessionID") INT, 8, 1, 0, SKIP | OPT, 0, NULL},
  627. {FNAME("mediaChannel") CHOICE, 1, 2, 2, DECODE | EXT | OPT,
  628. offsetof(H2250LogicalChannelParameters, mediaChannel),
  629. _H245_TransportAddress},
  630. {FNAME("mediaGuaranteedDelivery") BOOL, FIXD, 0, 0, SKIP | OPT, 0,
  631. NULL},
  632. {FNAME("mediaControlChannel") CHOICE, 1, 2, 2, DECODE | EXT | OPT,
  633. offsetof(H2250LogicalChannelParameters, mediaControlChannel),
  634. _H245_TransportAddress},
  635. {FNAME("mediaControlGuaranteedDelivery") BOOL, FIXD, 0, 0, STOP | OPT,
  636. 0, NULL},
  637. {FNAME("silenceSuppression") BOOL, FIXD, 0, 0, STOP | OPT, 0, NULL},
  638. {FNAME("destination") SEQ, 0, 2, 2, STOP | EXT | OPT, 0, NULL},
  639. {FNAME("dynamicRTPPayloadType") INT, 5, 96, 0, STOP | OPT, 0, NULL},
  640. {FNAME("mediaPacketization") CHOICE, 0, 1, 2, STOP | EXT | OPT, 0,
  641. NULL},
  642. {FNAME("transportCapability") SEQ, 3, 3, 3, STOP | EXT | OPT, 0,
  643. NULL},
  644. {FNAME("redundancyEncoding") SEQ, 1, 2, 2, STOP | EXT | OPT, 0, NULL},
  645. {FNAME("source") SEQ, 0, 2, 2, SKIP | EXT | OPT, 0, NULL},
  646. };
  647. static field_t _OpenLogicalChannel_forwardLogicalChannelParameters_multiplexParameters[] = { /* CHOICE */
  648. {FNAME("h222LogicalChannelParameters") SEQ, 3, 5, 5, SKIP | EXT, 0,
  649. _H222LogicalChannelParameters},
  650. {FNAME("h223LogicalChannelParameters") SEQ, 0, 2, 2, SKIP | EXT, 0,
  651. _H223LogicalChannelParameters},
  652. {FNAME("v76LogicalChannelParameters") SEQ, 0, 5, 5, SKIP | EXT, 0,
  653. _V76LogicalChannelParameters},
  654. {FNAME("h2250LogicalChannelParameters") SEQ, 10, 11, 14, DECODE | EXT,
  655. offsetof
  656. (OpenLogicalChannel_forwardLogicalChannelParameters_multiplexParameters,
  657. h2250LogicalChannelParameters), _H2250LogicalChannelParameters},
  658. {FNAME("none") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  659. };
  660. static field_t _OpenLogicalChannel_forwardLogicalChannelParameters[] = { /* SEQUENCE */
  661. {FNAME("portNumber") INT, WORD, 0, 0, SKIP | OPT, 0, NULL},
  662. {FNAME("dataType") CHOICE, 3, 6, 9, DECODE | EXT,
  663. offsetof(OpenLogicalChannel_forwardLogicalChannelParameters,
  664. dataType), _DataType},
  665. {FNAME("multiplexParameters") CHOICE, 2, 3, 5, DECODE | EXT,
  666. offsetof(OpenLogicalChannel_forwardLogicalChannelParameters,
  667. multiplexParameters),
  668. _OpenLogicalChannel_forwardLogicalChannelParameters_multiplexParameters},
  669. {FNAME("forwardLogicalChannelDependency") INT, WORD, 1, 0, SKIP | OPT,
  670. 0, NULL},
  671. {FNAME("replacementFor") INT, WORD, 1, 0, SKIP | OPT, 0, NULL},
  672. };
  673. static field_t _OpenLogicalChannel_reverseLogicalChannelParameters_multiplexParameters[] = { /* CHOICE */
  674. {FNAME("h223LogicalChannelParameters") SEQ, 0, 2, 2, SKIP | EXT, 0,
  675. _H223LogicalChannelParameters},
  676. {FNAME("v76LogicalChannelParameters") SEQ, 0, 5, 5, SKIP | EXT, 0,
  677. _V76LogicalChannelParameters},
  678. {FNAME("h2250LogicalChannelParameters") SEQ, 10, 11, 14, DECODE | EXT,
  679. offsetof
  680. (OpenLogicalChannel_reverseLogicalChannelParameters_multiplexParameters,
  681. h2250LogicalChannelParameters), _H2250LogicalChannelParameters},
  682. };
  683. static field_t _OpenLogicalChannel_reverseLogicalChannelParameters[] = { /* SEQUENCE */
  684. {FNAME("dataType") CHOICE, 3, 6, 9, SKIP | EXT, 0, _DataType},
  685. {FNAME("multiplexParameters") CHOICE, 1, 2, 3, DECODE | EXT | OPT,
  686. offsetof(OpenLogicalChannel_reverseLogicalChannelParameters,
  687. multiplexParameters),
  688. _OpenLogicalChannel_reverseLogicalChannelParameters_multiplexParameters},
  689. {FNAME("reverseLogicalChannelDependency") INT, WORD, 1, 0, SKIP | OPT,
  690. 0, NULL},
  691. {FNAME("replacementFor") INT, WORD, 1, 0, SKIP | OPT, 0, NULL},
  692. };
  693. static field_t _NetworkAccessParameters_distribution[] = { /* CHOICE */
  694. {FNAME("unicast") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  695. {FNAME("multicast") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  696. };
  697. static field_t _Q2931Address_address[] = { /* CHOICE */
  698. {FNAME("internationalNumber") NUMSTR, 4, 1, 0, SKIP, 0, NULL},
  699. {FNAME("nsapAddress") OCTSTR, 5, 1, 0, SKIP, 0, NULL},
  700. };
  701. static field_t _Q2931Address[] = { /* SEQUENCE */
  702. {FNAME("address") CHOICE, 1, 2, 2, SKIP | EXT, 0,
  703. _Q2931Address_address},
  704. {FNAME("subaddress") OCTSTR, 5, 1, 0, SKIP | OPT, 0, NULL},
  705. };
  706. static field_t _NetworkAccessParameters_networkAddress[] = { /* CHOICE */
  707. {FNAME("q2931Address") SEQ, 1, 2, 2, SKIP | EXT, 0, _Q2931Address},
  708. {FNAME("e164Address") NUMDGT, 7, 1, 0, SKIP, 0, NULL},
  709. {FNAME("localAreaAddress") CHOICE, 1, 2, 2, DECODE | EXT,
  710. offsetof(NetworkAccessParameters_networkAddress, localAreaAddress),
  711. _H245_TransportAddress},
  712. };
  713. static field_t _NetworkAccessParameters[] = { /* SEQUENCE */
  714. {FNAME("distribution") CHOICE, 1, 2, 2, SKIP | EXT | OPT, 0,
  715. _NetworkAccessParameters_distribution},
  716. {FNAME("networkAddress") CHOICE, 2, 3, 3, DECODE | EXT,
  717. offsetof(NetworkAccessParameters, networkAddress),
  718. _NetworkAccessParameters_networkAddress},
  719. {FNAME("associateConference") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
  720. {FNAME("externalReference") OCTSTR, 8, 1, 0, SKIP | OPT, 0, NULL},
  721. {FNAME("t120SetupProcedure") CHOICE, 2, 3, 3, SKIP | EXT | OPT, 0,
  722. NULL},
  723. };
  724. static field_t _OpenLogicalChannel[] = { /* SEQUENCE */
  725. {FNAME("forwardLogicalChannelNumber") INT, WORD, 1, 0, SKIP, 0, NULL},
  726. {FNAME("forwardLogicalChannelParameters") SEQ, 1, 3, 5, DECODE | EXT,
  727. offsetof(OpenLogicalChannel, forwardLogicalChannelParameters),
  728. _OpenLogicalChannel_forwardLogicalChannelParameters},
  729. {FNAME("reverseLogicalChannelParameters") SEQ, 1, 2, 4,
  730. DECODE | EXT | OPT, offsetof(OpenLogicalChannel,
  731. reverseLogicalChannelParameters),
  732. _OpenLogicalChannel_reverseLogicalChannelParameters},
  733. {FNAME("separateStack") SEQ, 2, 4, 5, DECODE | EXT | OPT,
  734. offsetof(OpenLogicalChannel, separateStack),
  735. _NetworkAccessParameters},
  736. {FNAME("encryptionSync") SEQ, 2, 4, 4, STOP | EXT | OPT, 0, NULL},
  737. };
  738. static field_t _Setup_UUIE_fastStart[] = { /* SEQUENCE OF */
  739. {FNAME("item") SEQ, 1, 3, 5, DECODE | OPEN | EXT,
  740. sizeof(OpenLogicalChannel), _OpenLogicalChannel}
  741. ,
  742. };
  743. static field_t _Setup_UUIE[] = { /* SEQUENCE */
  744. {FNAME("protocolIdentifier") OID, BYTE, 0, 0, SKIP, 0, NULL},
  745. {FNAME("h245Address") CHOICE, 3, 7, 7, DECODE | EXT | OPT,
  746. offsetof(Setup_UUIE, h245Address), _TransportAddress},
  747. {FNAME("sourceAddress") SEQOF, SEMI, 0, 0, SKIP | OPT, 0,
  748. _Setup_UUIE_sourceAddress},
  749. {FNAME("sourceInfo") SEQ, 6, 8, 10, SKIP | EXT, 0, _EndpointType},
  750. {FNAME("destinationAddress") SEQOF, SEMI, 0, 0, SKIP | OPT, 0,
  751. _Setup_UUIE_destinationAddress},
  752. {FNAME("destCallSignalAddress") CHOICE, 3, 7, 7, DECODE | EXT | OPT,
  753. offsetof(Setup_UUIE, destCallSignalAddress), _TransportAddress},
  754. {FNAME("destExtraCallInfo") SEQOF, SEMI, 0, 0, SKIP | OPT, 0,
  755. _Setup_UUIE_destExtraCallInfo},
  756. {FNAME("destExtraCRV") SEQOF, SEMI, 0, 0, SKIP | OPT, 0,
  757. _Setup_UUIE_destExtraCRV},
  758. {FNAME("activeMC") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
  759. {FNAME("conferenceID") OCTSTR, FIXD, 16, 0, SKIP, 0, NULL},
  760. {FNAME("conferenceGoal") CHOICE, 2, 3, 5, SKIP | EXT, 0,
  761. _Setup_UUIE_conferenceGoal},
  762. {FNAME("callServices") SEQ, 0, 8, 8, SKIP | EXT | OPT, 0,
  763. _QseriesOptions},
  764. {FNAME("callType") CHOICE, 2, 4, 4, SKIP | EXT, 0, _CallType},
  765. {FNAME("sourceCallSignalAddress") CHOICE, 3, 7, 7, DECODE | EXT | OPT,
  766. offsetof(Setup_UUIE, sourceCallSignalAddress), _TransportAddress},
  767. {FNAME("remoteExtensionAddress") CHOICE, 1, 2, 7, SKIP | EXT | OPT, 0,
  768. NULL},
  769. {FNAME("callIdentifier") SEQ, 0, 1, 1, SKIP | EXT, 0, NULL},
  770. {FNAME("h245SecurityCapability") SEQOF, SEMI, 0, 0, SKIP | OPT, 0,
  771. NULL},
  772. {FNAME("tokens") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
  773. {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
  774. {FNAME("fastStart") SEQOF, SEMI, 0, 30, DECODE | OPT,
  775. offsetof(Setup_UUIE, fastStart), _Setup_UUIE_fastStart},
  776. {FNAME("mediaWaitForConnect") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
  777. {FNAME("canOverlapSend") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
  778. {FNAME("endpointIdentifier") BMPSTR, 7, 1, 0, STOP | OPT, 0, NULL},
  779. {FNAME("multipleCalls") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
  780. {FNAME("maintainConnection") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
  781. {FNAME("connectionParameters") SEQ, 0, 3, 3, SKIP | EXT | OPT, 0,
  782. NULL},
  783. {FNAME("language") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
  784. {FNAME("presentationIndicator") CHOICE, 2, 3, 3, SKIP | EXT | OPT, 0,
  785. NULL},
  786. {FNAME("screeningIndicator") ENUM, 2, 0, 0, SKIP | EXT | OPT, 0,
  787. NULL},
  788. {FNAME("serviceControl") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
  789. {FNAME("symmetricOperationRequired") NUL, FIXD, 0, 0, SKIP | OPT, 0,
  790. NULL},
  791. {FNAME("capacity") SEQ, 2, 2, 2, SKIP | EXT | OPT, 0, NULL},
  792. {FNAME("circuitInfo") SEQ, 3, 3, 3, SKIP | EXT | OPT, 0, NULL},
  793. {FNAME("desiredProtocols") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
  794. {FNAME("neededFeatures") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
  795. {FNAME("desiredFeatures") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
  796. {FNAME("supportedFeatures") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
  797. {FNAME("parallelH245Control") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
  798. {FNAME("additionalSourceAddresses") SEQOF, SEMI, 0, 0, SKIP | OPT, 0,
  799. NULL},
  800. };
  801. static field_t _CallProceeding_UUIE_fastStart[] = { /* SEQUENCE OF */
  802. {FNAME("item") SEQ, 1, 3, 5, DECODE | OPEN | EXT,
  803. sizeof(OpenLogicalChannel), _OpenLogicalChannel}
  804. ,
  805. };
  806. static field_t _CallProceeding_UUIE[] = { /* SEQUENCE */
  807. {FNAME("protocolIdentifier") OID, BYTE, 0, 0, SKIP, 0, NULL},
  808. {FNAME("destinationInfo") SEQ, 6, 8, 10, SKIP | EXT, 0,
  809. _EndpointType},
  810. {FNAME("h245Address") CHOICE, 3, 7, 7, DECODE | EXT | OPT,
  811. offsetof(CallProceeding_UUIE, h245Address), _TransportAddress},
  812. {FNAME("callIdentifier") SEQ, 0, 1, 1, SKIP | EXT, 0, NULL},
  813. {FNAME("h245SecurityMode") CHOICE, 2, 4, 4, SKIP | EXT | OPT, 0,
  814. NULL},
  815. {FNAME("tokens") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
  816. {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
  817. {FNAME("fastStart") SEQOF, SEMI, 0, 30, DECODE | OPT,
  818. offsetof(CallProceeding_UUIE, fastStart),
  819. _CallProceeding_UUIE_fastStart},
  820. {FNAME("multipleCalls") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
  821. {FNAME("maintainConnection") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
  822. {FNAME("fastConnectRefused") NUL, FIXD, 0, 0, SKIP | OPT, 0, NULL},
  823. {FNAME("featureSet") SEQ, 3, 4, 4, SKIP | EXT | OPT, 0, NULL},
  824. };
  825. static field_t _Connect_UUIE_fastStart[] = { /* SEQUENCE OF */
  826. {FNAME("item") SEQ, 1, 3, 5, DECODE | OPEN | EXT,
  827. sizeof(OpenLogicalChannel), _OpenLogicalChannel}
  828. ,
  829. };
  830. static field_t _Connect_UUIE[] = { /* SEQUENCE */
  831. {FNAME("protocolIdentifier") OID, BYTE, 0, 0, SKIP, 0, NULL},
  832. {FNAME("h245Address") CHOICE, 3, 7, 7, DECODE | EXT | OPT,
  833. offsetof(Connect_UUIE, h245Address), _TransportAddress},
  834. {FNAME("destinationInfo") SEQ, 6, 8, 10, SKIP | EXT, 0,
  835. _EndpointType},
  836. {FNAME("conferenceID") OCTSTR, FIXD, 16, 0, SKIP, 0, NULL},
  837. {FNAME("callIdentifier") SEQ, 0, 1, 1, SKIP | EXT, 0, NULL},
  838. {FNAME("h245SecurityMode") CHOICE, 2, 4, 4, SKIP | EXT | OPT, 0,
  839. NULL},
  840. {FNAME("tokens") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
  841. {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
  842. {FNAME("fastStart") SEQOF, SEMI, 0, 30, DECODE | OPT,
  843. offsetof(Connect_UUIE, fastStart), _Connect_UUIE_fastStart},
  844. {FNAME("multipleCalls") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
  845. {FNAME("maintainConnection") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
  846. {FNAME("language") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
  847. {FNAME("connectedAddress") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
  848. {FNAME("presentationIndicator") CHOICE, 2, 3, 3, SKIP | EXT | OPT, 0,
  849. NULL},
  850. {FNAME("screeningIndicator") ENUM, 2, 0, 0, SKIP | EXT | OPT, 0,
  851. NULL},
  852. {FNAME("fastConnectRefused") NUL, FIXD, 0, 0, SKIP | OPT, 0, NULL},
  853. {FNAME("serviceControl") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
  854. {FNAME("capacity") SEQ, 2, 2, 2, SKIP | EXT | OPT, 0, NULL},
  855. {FNAME("featureSet") SEQ, 3, 4, 4, SKIP | EXT | OPT, 0, NULL},
  856. };
  857. static field_t _Alerting_UUIE_fastStart[] = { /* SEQUENCE OF */
  858. {FNAME("item") SEQ, 1, 3, 5, DECODE | OPEN | EXT,
  859. sizeof(OpenLogicalChannel), _OpenLogicalChannel}
  860. ,
  861. };
  862. static field_t _Alerting_UUIE[] = { /* SEQUENCE */
  863. {FNAME("protocolIdentifier") OID, BYTE, 0, 0, SKIP, 0, NULL},
  864. {FNAME("destinationInfo") SEQ, 6, 8, 10, SKIP | EXT, 0,
  865. _EndpointType},
  866. {FNAME("h245Address") CHOICE, 3, 7, 7, DECODE | EXT | OPT,
  867. offsetof(Alerting_UUIE, h245Address), _TransportAddress},
  868. {FNAME("callIdentifier") SEQ, 0, 1, 1, SKIP | EXT, 0, NULL},
  869. {FNAME("h245SecurityMode") CHOICE, 2, 4, 4, SKIP | EXT | OPT, 0,
  870. NULL},
  871. {FNAME("tokens") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
  872. {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
  873. {FNAME("fastStart") SEQOF, SEMI, 0, 30, DECODE | OPT,
  874. offsetof(Alerting_UUIE, fastStart), _Alerting_UUIE_fastStart},
  875. {FNAME("multipleCalls") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
  876. {FNAME("maintainConnection") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
  877. {FNAME("alertingAddress") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
  878. {FNAME("presentationIndicator") CHOICE, 2, 3, 3, SKIP | EXT | OPT, 0,
  879. NULL},
  880. {FNAME("screeningIndicator") ENUM, 2, 0, 0, SKIP | EXT | OPT, 0,
  881. NULL},
  882. {FNAME("fastConnectRefused") NUL, FIXD, 0, 0, SKIP | OPT, 0, NULL},
  883. {FNAME("serviceControl") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
  884. {FNAME("capacity") SEQ, 2, 2, 2, SKIP | EXT | OPT, 0, NULL},
  885. {FNAME("featureSet") SEQ, 3, 4, 4, SKIP | EXT | OPT, 0, NULL},
  886. };
  887. static field_t _Information_UUIE_fastStart[] = { /* SEQUENCE OF */
  888. {FNAME("item") SEQ, 1, 3, 5, DECODE | OPEN | EXT,
  889. sizeof(OpenLogicalChannel), _OpenLogicalChannel}
  890. ,
  891. };
  892. static field_t _Information_UUIE[] = { /* SEQUENCE */
  893. {FNAME("protocolIdentifier") OID, BYTE, 0, 0, SKIP, 0, NULL},
  894. {FNAME("callIdentifier") SEQ, 0, 1, 1, SKIP | EXT, 0, NULL},
  895. {FNAME("tokens") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
  896. {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
  897. {FNAME("fastStart") SEQOF, SEMI, 0, 30, DECODE | OPT,
  898. offsetof(Information_UUIE, fastStart), _Information_UUIE_fastStart},
  899. {FNAME("fastConnectRefused") NUL, FIXD, 0, 0, SKIP | OPT, 0, NULL},
  900. {FNAME("circuitInfo") SEQ, 3, 3, 3, SKIP | EXT | OPT, 0, NULL},
  901. };
  902. static field_t _ReleaseCompleteReason[] = { /* CHOICE */
  903. {FNAME("noBandwidth") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  904. {FNAME("gatekeeperResources") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  905. {FNAME("unreachableDestination") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  906. {FNAME("destinationRejection") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  907. {FNAME("invalidRevision") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  908. {FNAME("noPermission") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  909. {FNAME("unreachableGatekeeper") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  910. {FNAME("gatewayResources") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  911. {FNAME("badFormatAddress") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  912. {FNAME("adaptiveBusy") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  913. {FNAME("inConf") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  914. {FNAME("undefinedReason") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  915. {FNAME("facilityCallDeflection") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  916. {FNAME("securityDenied") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  917. {FNAME("calledPartyNotRegistered") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  918. {FNAME("callerNotRegistered") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  919. {FNAME("newConnectionNeeded") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  920. {FNAME("nonStandardReason") SEQ, 0, 2, 2, SKIP, 0, NULL},
  921. {FNAME("replaceWithConferenceInvite") OCTSTR, FIXD, 16, 0, SKIP, 0,
  922. NULL},
  923. {FNAME("genericDataReason") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  924. {FNAME("neededFeatureNotSupported") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  925. {FNAME("tunnelledSignallingRejected") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  926. };
  927. static field_t _ReleaseComplete_UUIE[] = { /* SEQUENCE */
  928. {FNAME("protocolIdentifier") OID, BYTE, 0, 0, SKIP, 0, NULL},
  929. {FNAME("reason") CHOICE, 4, 12, 22, SKIP | EXT | OPT, 0,
  930. _ReleaseCompleteReason},
  931. {FNAME("callIdentifier") SEQ, 0, 1, 1, SKIP | EXT, 0, NULL},
  932. {FNAME("tokens") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
  933. {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
  934. {FNAME("busyAddress") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
  935. {FNAME("presentationIndicator") CHOICE, 2, 3, 3, SKIP | EXT | OPT, 0,
  936. NULL},
  937. {FNAME("screeningIndicator") ENUM, 2, 0, 0, SKIP | EXT | OPT, 0,
  938. NULL},
  939. {FNAME("capacity") SEQ, 2, 2, 2, SKIP | EXT | OPT, 0, NULL},
  940. {FNAME("serviceControl") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
  941. {FNAME("featureSet") SEQ, 3, 4, 4, SKIP | EXT | OPT, 0, NULL},
  942. };
  943. static field_t _Facility_UUIE_alternativeAliasAddress[] = { /* SEQUENCE OF */
  944. {FNAME("item") CHOICE, 1, 2, 7, SKIP | EXT, 0, _AliasAddress},
  945. };
  946. static field_t _FacilityReason[] = { /* CHOICE */
  947. {FNAME("routeCallToGatekeeper") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  948. {FNAME("callForwarded") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  949. {FNAME("routeCallToMC") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  950. {FNAME("undefinedReason") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  951. {FNAME("conferenceListChoice") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  952. {FNAME("startH245") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  953. {FNAME("noH245") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  954. {FNAME("newTokens") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  955. {FNAME("featureSetUpdate") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  956. {FNAME("forwardedElements") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  957. {FNAME("transportedInformation") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  958. };
  959. static field_t _Facility_UUIE_fastStart[] = { /* SEQUENCE OF */
  960. {FNAME("item") SEQ, 1, 3, 5, DECODE | OPEN | EXT,
  961. sizeof(OpenLogicalChannel), _OpenLogicalChannel}
  962. ,
  963. };
  964. static field_t _Facility_UUIE[] = { /* SEQUENCE */
  965. {FNAME("protocolIdentifier") OID, BYTE, 0, 0, SKIP, 0, NULL},
  966. {FNAME("alternativeAddress") CHOICE, 3, 7, 7, DECODE | EXT | OPT,
  967. offsetof(Facility_UUIE, alternativeAddress), _TransportAddress},
  968. {FNAME("alternativeAliasAddress") SEQOF, SEMI, 0, 0, SKIP | OPT, 0,
  969. _Facility_UUIE_alternativeAliasAddress},
  970. {FNAME("conferenceID") OCTSTR, FIXD, 16, 0, SKIP | OPT, 0, NULL},
  971. {FNAME("reason") CHOICE, 2, 4, 11, DECODE | EXT,
  972. offsetof(Facility_UUIE, reason), _FacilityReason},
  973. {FNAME("callIdentifier") SEQ, 0, 1, 1, SKIP | EXT, 0, NULL},
  974. {FNAME("destExtraCallInfo") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
  975. {FNAME("remoteExtensionAddress") CHOICE, 1, 2, 7, SKIP | EXT | OPT, 0,
  976. NULL},
  977. {FNAME("tokens") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
  978. {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
  979. {FNAME("conferences") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
  980. {FNAME("h245Address") CHOICE, 3, 7, 7, DECODE | EXT | OPT,
  981. offsetof(Facility_UUIE, h245Address), _TransportAddress},
  982. {FNAME("fastStart") SEQOF, SEMI, 0, 30, DECODE | OPT,
  983. offsetof(Facility_UUIE, fastStart), _Facility_UUIE_fastStart},
  984. {FNAME("multipleCalls") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
  985. {FNAME("maintainConnection") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
  986. {FNAME("fastConnectRefused") NUL, FIXD, 0, 0, SKIP | OPT, 0, NULL},
  987. {FNAME("serviceControl") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
  988. {FNAME("circuitInfo") SEQ, 3, 3, 3, SKIP | EXT | OPT, 0, NULL},
  989. {FNAME("featureSet") SEQ, 3, 4, 4, SKIP | EXT | OPT, 0, NULL},
  990. {FNAME("destinationInfo") SEQ, 6, 8, 10, SKIP | EXT | OPT, 0, NULL},
  991. {FNAME("h245SecurityMode") CHOICE, 2, 4, 4, SKIP | EXT | OPT, 0,
  992. NULL},
  993. };
  994. static field_t _CallIdentifier[] = { /* SEQUENCE */
  995. {FNAME("guid") OCTSTR, FIXD, 16, 0, SKIP, 0, NULL},
  996. };
  997. static field_t _SecurityServiceMode[] = { /* CHOICE */
  998. {FNAME("nonStandard") SEQ, 0, 2, 2, SKIP, 0, _NonStandardParameter},
  999. {FNAME("none") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  1000. {FNAME("default") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  1001. };
  1002. static field_t _SecurityCapabilities[] = { /* SEQUENCE */
  1003. {FNAME("nonStandard") SEQ, 0, 2, 2, SKIP | OPT, 0,
  1004. _NonStandardParameter},
  1005. {FNAME("encryption") CHOICE, 2, 3, 3, SKIP | EXT, 0,
  1006. _SecurityServiceMode},
  1007. {FNAME("authenticaton") CHOICE, 2, 3, 3, SKIP | EXT, 0,
  1008. _SecurityServiceMode},
  1009. {FNAME("integrity") CHOICE, 2, 3, 3, SKIP | EXT, 0,
  1010. _SecurityServiceMode},
  1011. };
  1012. static field_t _H245Security[] = { /* CHOICE */
  1013. {FNAME("nonStandard") SEQ, 0, 2, 2, SKIP, 0, _NonStandardParameter},
  1014. {FNAME("noSecurity") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  1015. {FNAME("tls") SEQ, 1, 4, 4, SKIP | EXT, 0, _SecurityCapabilities},
  1016. {FNAME("ipsec") SEQ, 1, 4, 4, SKIP | EXT, 0, _SecurityCapabilities},
  1017. };
  1018. static field_t _DHset[] = { /* SEQUENCE */
  1019. {FNAME("halfkey") BITSTR, WORD, 0, 0, SKIP, 0, NULL},
  1020. {FNAME("modSize") BITSTR, WORD, 0, 0, SKIP, 0, NULL},
  1021. {FNAME("generator") BITSTR, WORD, 0, 0, SKIP, 0, NULL},
  1022. };
  1023. static field_t _TypedCertificate[] = { /* SEQUENCE */
  1024. {FNAME("type") OID, BYTE, 0, 0, SKIP, 0, NULL},
  1025. {FNAME("certificate") OCTSTR, SEMI, 0, 0, SKIP, 0, NULL},
  1026. };
  1027. static field_t _H235_NonStandardParameter[] = { /* SEQUENCE */
  1028. {FNAME("nonStandardIdentifier") OID, BYTE, 0, 0, SKIP, 0, NULL},
  1029. {FNAME("data") OCTSTR, SEMI, 0, 0, SKIP, 0, NULL},
  1030. };
  1031. static field_t _ClearToken[] = { /* SEQUENCE */
  1032. {FNAME("tokenOID") OID, BYTE, 0, 0, SKIP, 0, NULL},
  1033. {FNAME("timeStamp") INT, CONS, 1, 0, SKIP | OPT, 0, NULL},
  1034. {FNAME("password") BMPSTR, 7, 1, 0, SKIP | OPT, 0, NULL},
  1035. {FNAME("dhkey") SEQ, 0, 3, 3, SKIP | EXT | OPT, 0, _DHset},
  1036. {FNAME("challenge") OCTSTR, 7, 8, 0, SKIP | OPT, 0, NULL},
  1037. {FNAME("random") INT, UNCO, 0, 0, SKIP | OPT, 0, NULL},
  1038. {FNAME("certificate") SEQ, 0, 2, 2, SKIP | EXT | OPT, 0,
  1039. _TypedCertificate},
  1040. {FNAME("generalID") BMPSTR, 7, 1, 0, SKIP | OPT, 0, NULL},
  1041. {FNAME("nonStandard") SEQ, 0, 2, 2, SKIP | OPT, 0,
  1042. _H235_NonStandardParameter},
  1043. {FNAME("eckasdhkey") CHOICE, 1, 2, 2, SKIP | EXT | OPT, 0, NULL},
  1044. {FNAME("sendersID") BMPSTR, 7, 1, 0, SKIP | OPT, 0, NULL},
  1045. };
  1046. static field_t _Progress_UUIE_tokens[] = { /* SEQUENCE OF */
  1047. {FNAME("item") SEQ, 8, 9, 11, SKIP | EXT, 0, _ClearToken},
  1048. };
  1049. static field_t _Params[] = { /* SEQUENCE */
  1050. {FNAME("ranInt") INT, UNCO, 0, 0, SKIP | OPT, 0, NULL},
  1051. {FNAME("iv8") OCTSTR, FIXD, 8, 0, SKIP | OPT, 0, NULL},
  1052. {FNAME("iv16") OCTSTR, FIXD, 16, 0, SKIP | OPT, 0, NULL},
  1053. };
  1054. static field_t _CryptoH323Token_cryptoEPPwdHash_token[] = { /* SEQUENCE */
  1055. {FNAME("algorithmOID") OID, BYTE, 0, 0, SKIP, 0, NULL},
  1056. {FNAME("paramS") SEQ, 2, 2, 3, SKIP | EXT, 0, _Params},
  1057. {FNAME("hash") BITSTR, SEMI, 0, 0, SKIP, 0, NULL},
  1058. };
  1059. static field_t _CryptoH323Token_cryptoEPPwdHash[] = { /* SEQUENCE */
  1060. {FNAME("alias") CHOICE, 1, 2, 7, SKIP | EXT, 0, _AliasAddress},
  1061. {FNAME("timeStamp") INT, CONS, 1, 0, SKIP, 0, NULL},
  1062. {FNAME("token") SEQ, 0, 3, 3, SKIP, 0,
  1063. _CryptoH323Token_cryptoEPPwdHash_token},
  1064. };
  1065. static field_t _CryptoH323Token_cryptoGKPwdHash_token[] = { /* SEQUENCE */
  1066. {FNAME("algorithmOID") OID, BYTE, 0, 0, SKIP, 0, NULL},
  1067. {FNAME("paramS") SEQ, 2, 2, 3, SKIP | EXT, 0, _Params},
  1068. {FNAME("hash") BITSTR, SEMI, 0, 0, SKIP, 0, NULL},
  1069. };
  1070. static field_t _CryptoH323Token_cryptoGKPwdHash[] = { /* SEQUENCE */
  1071. {FNAME("gatekeeperId") BMPSTR, 7, 1, 0, SKIP, 0, NULL},
  1072. {FNAME("timeStamp") INT, CONS, 1, 0, SKIP, 0, NULL},
  1073. {FNAME("token") SEQ, 0, 3, 3, SKIP, 0,
  1074. _CryptoH323Token_cryptoGKPwdHash_token},
  1075. };
  1076. static field_t _CryptoH323Token_cryptoEPPwdEncr[] = { /* 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 field_t _CryptoH323Token_cryptoGKPwdEncr[] = { /* SEQUENCE */
  1082. {FNAME("algorithmOID") OID, BYTE, 0, 0, SKIP, 0, NULL},
  1083. {FNAME("paramS") SEQ, 2, 2, 3, SKIP | EXT, 0, _Params},
  1084. {FNAME("encryptedData") OCTSTR, SEMI, 0, 0, SKIP, 0, NULL},
  1085. };
  1086. static field_t _CryptoH323Token_cryptoEPCert[] = { /* SEQUENCE */
  1087. {FNAME("toBeSigned") SEQ, 8, 9, 11, SKIP | OPEN | EXT, 0, NULL},
  1088. {FNAME("algorithmOID") OID, BYTE, 0, 0, SKIP, 0, NULL},
  1089. {FNAME("paramS") SEQ, 2, 2, 3, SKIP | EXT, 0, _Params},
  1090. {FNAME("signature") BITSTR, SEMI, 0, 0, SKIP, 0, NULL},
  1091. };
  1092. static field_t _CryptoH323Token_cryptoGKCert[] = { /* SEQUENCE */
  1093. {FNAME("toBeSigned") SEQ, 8, 9, 11, SKIP | OPEN | EXT, 0, NULL},
  1094. {FNAME("algorithmOID") OID, BYTE, 0, 0, SKIP, 0, NULL},
  1095. {FNAME("paramS") SEQ, 2, 2, 3, SKIP | EXT, 0, _Params},
  1096. {FNAME("signature") BITSTR, SEMI, 0, 0, SKIP, 0, NULL},
  1097. };
  1098. static field_t _CryptoH323Token_cryptoFastStart[] = { /* SEQUENCE */
  1099. {FNAME("toBeSigned") SEQ, 8, 9, 11, SKIP | OPEN | EXT, 0, NULL},
  1100. {FNAME("algorithmOID") OID, BYTE, 0, 0, SKIP, 0, NULL},
  1101. {FNAME("paramS") SEQ, 2, 2, 3, SKIP | EXT, 0, _Params},
  1102. {FNAME("signature") BITSTR, SEMI, 0, 0, SKIP, 0, NULL},
  1103. };
  1104. static field_t _CryptoToken_cryptoEncryptedToken_token[] = { /* SEQUENCE */
  1105. {FNAME("algorithmOID") OID, BYTE, 0, 0, SKIP, 0, NULL},
  1106. {FNAME("paramS") SEQ, 2, 2, 3, SKIP | EXT, 0, _Params},
  1107. {FNAME("encryptedData") OCTSTR, SEMI, 0, 0, SKIP, 0, NULL},
  1108. };
  1109. static field_t _CryptoToken_cryptoEncryptedToken[] = { /* SEQUENCE */
  1110. {FNAME("tokenOID") OID, BYTE, 0, 0, SKIP, 0, NULL},
  1111. {FNAME("token") SEQ, 0, 3, 3, SKIP, 0,
  1112. _CryptoToken_cryptoEncryptedToken_token},
  1113. };
  1114. static field_t _CryptoToken_cryptoSignedToken_token[] = { /* SEQUENCE */
  1115. {FNAME("toBeSigned") SEQ, 8, 9, 11, SKIP | OPEN | EXT, 0, NULL},
  1116. {FNAME("algorithmOID") OID, BYTE, 0, 0, SKIP, 0, NULL},
  1117. {FNAME("paramS") SEQ, 2, 2, 3, SKIP | EXT, 0, _Params},
  1118. {FNAME("signature") BITSTR, SEMI, 0, 0, SKIP, 0, NULL},
  1119. };
  1120. static field_t _CryptoToken_cryptoSignedToken[] = { /* SEQUENCE */
  1121. {FNAME("tokenOID") OID, BYTE, 0, 0, SKIP, 0, NULL},
  1122. {FNAME("token") SEQ, 0, 4, 4, SKIP, 0,
  1123. _CryptoToken_cryptoSignedToken_token},
  1124. };
  1125. static field_t _CryptoToken_cryptoHashedToken_token[] = { /* SEQUENCE */
  1126. {FNAME("algorithmOID") OID, BYTE, 0, 0, SKIP, 0, NULL},
  1127. {FNAME("paramS") SEQ, 2, 2, 3, SKIP | EXT, 0, _Params},
  1128. {FNAME("hash") BITSTR, SEMI, 0, 0, SKIP, 0, NULL},
  1129. };
  1130. static field_t _CryptoToken_cryptoHashedToken[] = { /* SEQUENCE */
  1131. {FNAME("tokenOID") OID, BYTE, 0, 0, SKIP, 0, NULL},
  1132. {FNAME("hashedVals") SEQ, 8, 9, 11, SKIP | EXT, 0, _ClearToken},
  1133. {FNAME("token") SEQ, 0, 3, 3, SKIP, 0,
  1134. _CryptoToken_cryptoHashedToken_token},
  1135. };
  1136. static field_t _CryptoToken_cryptoPwdEncr[] = { /* SEQUENCE */
  1137. {FNAME("algorithmOID") OID, BYTE, 0, 0, SKIP, 0, NULL},
  1138. {FNAME("paramS") SEQ, 2, 2, 3, SKIP | EXT, 0, _Params},
  1139. {FNAME("encryptedData") OCTSTR, SEMI, 0, 0, SKIP, 0, NULL},
  1140. };
  1141. static field_t _CryptoToken[] = { /* CHOICE */
  1142. {FNAME("cryptoEncryptedToken") SEQ, 0, 2, 2, SKIP, 0,
  1143. _CryptoToken_cryptoEncryptedToken},
  1144. {FNAME("cryptoSignedToken") SEQ, 0, 2, 2, SKIP, 0,
  1145. _CryptoToken_cryptoSignedToken},
  1146. {FNAME("cryptoHashedToken") SEQ, 0, 3, 3, SKIP, 0,
  1147. _CryptoToken_cryptoHashedToken},
  1148. {FNAME("cryptoPwdEncr") SEQ, 0, 3, 3, SKIP, 0,
  1149. _CryptoToken_cryptoPwdEncr},
  1150. };
  1151. static field_t _CryptoH323Token[] = { /* CHOICE */
  1152. {FNAME("cryptoEPPwdHash") SEQ, 0, 3, 3, SKIP, 0,
  1153. _CryptoH323Token_cryptoEPPwdHash},
  1154. {FNAME("cryptoGKPwdHash") SEQ, 0, 3, 3, SKIP, 0,
  1155. _CryptoH323Token_cryptoGKPwdHash},
  1156. {FNAME("cryptoEPPwdEncr") SEQ, 0, 3, 3, SKIP, 0,
  1157. _CryptoH323Token_cryptoEPPwdEncr},
  1158. {FNAME("cryptoGKPwdEncr") SEQ, 0, 3, 3, SKIP, 0,
  1159. _CryptoH323Token_cryptoGKPwdEncr},
  1160. {FNAME("cryptoEPCert") SEQ, 0, 4, 4, SKIP, 0,
  1161. _CryptoH323Token_cryptoEPCert},
  1162. {FNAME("cryptoGKCert") SEQ, 0, 4, 4, SKIP, 0,
  1163. _CryptoH323Token_cryptoGKCert},
  1164. {FNAME("cryptoFastStart") SEQ, 0, 4, 4, SKIP, 0,
  1165. _CryptoH323Token_cryptoFastStart},
  1166. {FNAME("nestedcryptoToken") CHOICE, 2, 4, 4, SKIP | EXT, 0,
  1167. _CryptoToken},
  1168. };
  1169. static field_t _Progress_UUIE_cryptoTokens[] = { /* SEQUENCE OF */
  1170. {FNAME("item") CHOICE, 3, 8, 8, SKIP | EXT, 0, _CryptoH323Token},
  1171. };
  1172. static field_t _Progress_UUIE_fastStart[] = { /* SEQUENCE OF */
  1173. {FNAME("item") SEQ, 1, 3, 5, DECODE | OPEN | EXT,
  1174. sizeof(OpenLogicalChannel), _OpenLogicalChannel}
  1175. ,
  1176. };
  1177. static field_t _Progress_UUIE[] = { /* SEQUENCE */
  1178. {FNAME("protocolIdentifier") OID, BYTE, 0, 0, SKIP, 0, NULL},
  1179. {FNAME("destinationInfo") SEQ, 6, 8, 10, SKIP | EXT, 0,
  1180. _EndpointType},
  1181. {FNAME("h245Address") CHOICE, 3, 7, 7, DECODE | EXT | OPT,
  1182. offsetof(Progress_UUIE, h245Address), _TransportAddress},
  1183. {FNAME("callIdentifier") SEQ, 0, 1, 1, SKIP | EXT, 0,
  1184. _CallIdentifier},
  1185. {FNAME("h245SecurityMode") CHOICE, 2, 4, 4, SKIP | EXT | OPT, 0,
  1186. _H245Security},
  1187. {FNAME("tokens") SEQOF, SEMI, 0, 0, SKIP | OPT, 0,
  1188. _Progress_UUIE_tokens},
  1189. {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, SKIP | OPT, 0,
  1190. _Progress_UUIE_cryptoTokens},
  1191. {FNAME("fastStart") SEQOF, SEMI, 0, 30, DECODE | OPT,
  1192. offsetof(Progress_UUIE, fastStart), _Progress_UUIE_fastStart},
  1193. {FNAME("multipleCalls") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
  1194. {FNAME("maintainConnection") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
  1195. {FNAME("fastConnectRefused") NUL, FIXD, 0, 0, SKIP | OPT, 0, NULL},
  1196. };
  1197. static field_t _H323_UU_PDU_h323_message_body[] = { /* CHOICE */
  1198. {FNAME("setup") SEQ, 7, 13, 39, DECODE | EXT,
  1199. offsetof(H323_UU_PDU_h323_message_body, setup), _Setup_UUIE},
  1200. {FNAME("callProceeding") SEQ, 1, 3, 12, DECODE | EXT,
  1201. offsetof(H323_UU_PDU_h323_message_body, callProceeding),
  1202. _CallProceeding_UUIE},
  1203. {FNAME("connect") SEQ, 1, 4, 19, DECODE | EXT,
  1204. offsetof(H323_UU_PDU_h323_message_body, connect), _Connect_UUIE},
  1205. {FNAME("alerting") SEQ, 1, 3, 17, DECODE | EXT,
  1206. offsetof(H323_UU_PDU_h323_message_body, alerting), _Alerting_UUIE},
  1207. {FNAME("information") SEQ, 0, 1, 7, DECODE | EXT,
  1208. offsetof(H323_UU_PDU_h323_message_body, information),
  1209. _Information_UUIE},
  1210. {FNAME("releaseComplete") SEQ, 1, 2, 11, SKIP | EXT, 0,
  1211. _ReleaseComplete_UUIE},
  1212. {FNAME("facility") SEQ, 3, 5, 21, DECODE | EXT,
  1213. offsetof(H323_UU_PDU_h323_message_body, facility), _Facility_UUIE},
  1214. {FNAME("progress") SEQ, 5, 8, 11, DECODE | EXT,
  1215. offsetof(H323_UU_PDU_h323_message_body, progress), _Progress_UUIE},
  1216. {FNAME("empty") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  1217. {FNAME("status") SEQ, 2, 4, 4, SKIP | EXT, 0, NULL},
  1218. {FNAME("statusInquiry") SEQ, 2, 4, 4, SKIP | EXT, 0, NULL},
  1219. {FNAME("setupAcknowledge") SEQ, 2, 4, 4, SKIP | EXT, 0, NULL},
  1220. {FNAME("notify") SEQ, 2, 4, 4, SKIP | EXT, 0, NULL},
  1221. };
  1222. static field_t _RequestMessage[] = { /* CHOICE */
  1223. {FNAME("nonStandard") SEQ, 0, 1, 1, STOP | EXT, 0, NULL},
  1224. {FNAME("masterSlaveDetermination") SEQ, 0, 2, 2, STOP | EXT, 0, NULL},
  1225. {FNAME("terminalCapabilitySet") SEQ, 3, 5, 5, STOP | EXT, 0, NULL},
  1226. {FNAME("openLogicalChannel") SEQ, 1, 3, 5, DECODE | EXT,
  1227. offsetof(RequestMessage, openLogicalChannel), _OpenLogicalChannel},
  1228. {FNAME("closeLogicalChannel") SEQ, 0, 2, 3, STOP | EXT, 0, NULL},
  1229. {FNAME("requestChannelClose") SEQ, 0, 1, 3, STOP | EXT, 0, NULL},
  1230. {FNAME("multiplexEntrySend") SEQ, 0, 2, 2, STOP | EXT, 0, NULL},
  1231. {FNAME("requestMultiplexEntry") SEQ, 0, 1, 1, STOP | EXT, 0, NULL},
  1232. {FNAME("requestMode") SEQ, 0, 2, 2, STOP | EXT, 0, NULL},
  1233. {FNAME("roundTripDelayRequest") SEQ, 0, 1, 1, STOP | EXT, 0, NULL},
  1234. {FNAME("maintenanceLoopRequest") SEQ, 0, 1, 1, STOP | EXT, 0, NULL},
  1235. {FNAME("communicationModeRequest") SEQ, 0, 0, 0, STOP | EXT, 0, NULL},
  1236. {FNAME("conferenceRequest") CHOICE, 3, 8, 16, STOP | EXT, 0, NULL},
  1237. {FNAME("multilinkRequest") CHOICE, 3, 5, 5, STOP | EXT, 0, NULL},
  1238. {FNAME("logicalChannelRateRequest") SEQ, 0, 3, 3, STOP | EXT, 0,
  1239. NULL},
  1240. };
  1241. static field_t _OpenLogicalChannelAck_reverseLogicalChannelParameters_multiplexParameters[] = { /* CHOICE */
  1242. {FNAME("h222LogicalChannelParameters") SEQ, 3, 5, 5, SKIP | EXT, 0,
  1243. _H222LogicalChannelParameters},
  1244. {FNAME("h2250LogicalChannelParameters") SEQ, 10, 11, 14, DECODE | EXT,
  1245. offsetof
  1246. (OpenLogicalChannelAck_reverseLogicalChannelParameters_multiplexParameters,
  1247. h2250LogicalChannelParameters), _H2250LogicalChannelParameters},
  1248. };
  1249. static field_t _OpenLogicalChannelAck_reverseLogicalChannelParameters[] = { /* SEQUENCE */
  1250. {FNAME("reverseLogicalChannelNumber") INT, WORD, 1, 0, SKIP, 0, NULL},
  1251. {FNAME("portNumber") INT, WORD, 0, 0, SKIP | OPT, 0, NULL},
  1252. {FNAME("multiplexParameters") CHOICE, 0, 1, 2, DECODE | EXT | OPT,
  1253. offsetof(OpenLogicalChannelAck_reverseLogicalChannelParameters,
  1254. multiplexParameters),
  1255. _OpenLogicalChannelAck_reverseLogicalChannelParameters_multiplexParameters},
  1256. {FNAME("replacementFor") INT, WORD, 1, 0, SKIP | OPT, 0, NULL},
  1257. };
  1258. static field_t _H2250LogicalChannelAckParameters_nonStandard[] = { /* SEQUENCE OF */
  1259. {FNAME("item") SEQ, 0, 2, 2, SKIP, 0, _H245_NonStandardParameter},
  1260. };
  1261. static field_t _H2250LogicalChannelAckParameters[] = { /* SEQUENCE */
  1262. {FNAME("nonStandard") SEQOF, SEMI, 0, 0, SKIP | OPT, 0,
  1263. _H2250LogicalChannelAckParameters_nonStandard},
  1264. {FNAME("sessionID") INT, 8, 1, 0, SKIP | OPT, 0, NULL},
  1265. {FNAME("mediaChannel") CHOICE, 1, 2, 2, DECODE | EXT | OPT,
  1266. offsetof(H2250LogicalChannelAckParameters, mediaChannel),
  1267. _H245_TransportAddress},
  1268. {FNAME("mediaControlChannel") CHOICE, 1, 2, 2, DECODE | EXT | OPT,
  1269. offsetof(H2250LogicalChannelAckParameters, mediaControlChannel),
  1270. _H245_TransportAddress},
  1271. {FNAME("dynamicRTPPayloadType") INT, 5, 96, 0, SKIP | OPT, 0, NULL},
  1272. {FNAME("flowControlToZero") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
  1273. {FNAME("portNumber") INT, WORD, 0, 0, SKIP | OPT, 0, NULL},
  1274. };
  1275. static field_t _OpenLogicalChannelAck_forwardMultiplexAckParameters[] = { /* CHOICE */
  1276. {FNAME("h2250LogicalChannelAckParameters") SEQ, 5, 5, 7, DECODE | EXT,
  1277. offsetof(OpenLogicalChannelAck_forwardMultiplexAckParameters,
  1278. h2250LogicalChannelAckParameters),
  1279. _H2250LogicalChannelAckParameters},
  1280. };
  1281. static field_t _OpenLogicalChannelAck[] = { /* SEQUENCE */
  1282. {FNAME("forwardLogicalChannelNumber") INT, WORD, 1, 0, SKIP, 0, NULL},
  1283. {FNAME("reverseLogicalChannelParameters") SEQ, 2, 3, 4,
  1284. DECODE | EXT | OPT, offsetof(OpenLogicalChannelAck,
  1285. reverseLogicalChannelParameters),
  1286. _OpenLogicalChannelAck_reverseLogicalChannelParameters},
  1287. {FNAME("separateStack") SEQ, 2, 4, 5, SKIP | EXT | OPT, 0, NULL},
  1288. {FNAME("forwardMultiplexAckParameters") CHOICE, 0, 1, 1,
  1289. DECODE | EXT | OPT, offsetof(OpenLogicalChannelAck,
  1290. forwardMultiplexAckParameters),
  1291. _OpenLogicalChannelAck_forwardMultiplexAckParameters},
  1292. {FNAME("encryptionSync") SEQ, 2, 4, 4, STOP | EXT | OPT, 0, NULL},
  1293. };
  1294. static field_t _ResponseMessage[] = { /* CHOICE */
  1295. {FNAME("nonStandard") SEQ, 0, 1, 1, STOP | EXT, 0, NULL},
  1296. {FNAME("masterSlaveDeterminationAck") SEQ, 0, 1, 1, STOP | EXT, 0,
  1297. NULL},
  1298. {FNAME("masterSlaveDeterminationReject") SEQ, 0, 1, 1, STOP | EXT, 0,
  1299. NULL},
  1300. {FNAME("terminalCapabilitySetAck") SEQ, 0, 1, 1, STOP | EXT, 0, NULL},
  1301. {FNAME("terminalCapabilitySetReject") SEQ, 0, 2, 2, STOP | EXT, 0,
  1302. NULL},
  1303. {FNAME("openLogicalChannelAck") SEQ, 1, 2, 5, DECODE | EXT,
  1304. offsetof(ResponseMessage, openLogicalChannelAck),
  1305. _OpenLogicalChannelAck},
  1306. {FNAME("openLogicalChannelReject") SEQ, 0, 2, 2, STOP | EXT, 0, NULL},
  1307. {FNAME("closeLogicalChannelAck") SEQ, 0, 1, 1, STOP | EXT, 0, NULL},
  1308. {FNAME("requestChannelCloseAck") SEQ, 0, 1, 1, STOP | EXT, 0, NULL},
  1309. {FNAME("requestChannelCloseReject") SEQ, 0, 2, 2, STOP | EXT, 0,
  1310. NULL},
  1311. {FNAME("multiplexEntrySendAck") SEQ, 0, 2, 2, STOP | EXT, 0, NULL},
  1312. {FNAME("multiplexEntrySendReject") SEQ, 0, 2, 2, STOP | EXT, 0, NULL},
  1313. {FNAME("requestMultiplexEntryAck") SEQ, 0, 1, 1, STOP | EXT, 0, NULL},
  1314. {FNAME("requestMultiplexEntryReject") SEQ, 0, 2, 2, STOP | EXT, 0,
  1315. NULL},
  1316. {FNAME("requestModeAck") SEQ, 0, 2, 2, STOP | EXT, 0, NULL},
  1317. {FNAME("requestModeReject") SEQ, 0, 2, 2, STOP | EXT, 0, NULL},
  1318. {FNAME("roundTripDelayResponse") SEQ, 0, 1, 1, STOP | EXT, 0, NULL},
  1319. {FNAME("maintenanceLoopAck") SEQ, 0, 1, 1, STOP | EXT, 0, NULL},
  1320. {FNAME("maintenanceLoopReject") SEQ, 0, 2, 2, STOP | EXT, 0, NULL},
  1321. {FNAME("communicationModeResponse") CHOICE, 0, 1, 1, STOP | EXT, 0,
  1322. NULL},
  1323. {FNAME("conferenceResponse") CHOICE, 3, 8, 16, STOP | EXT, 0, NULL},
  1324. {FNAME("multilinkResponse") CHOICE, 3, 5, 5, STOP | EXT, 0, NULL},
  1325. {FNAME("logicalChannelRateAcknowledge") SEQ, 0, 3, 3, STOP | EXT, 0,
  1326. NULL},
  1327. {FNAME("logicalChannelRateReject") SEQ, 1, 4, 4, STOP | EXT, 0, NULL},
  1328. };
  1329. static field_t _MultimediaSystemControlMessage[] = { /* CHOICE */
  1330. {FNAME("request") CHOICE, 4, 11, 15, DECODE | EXT,
  1331. offsetof(MultimediaSystemControlMessage, request), _RequestMessage},
  1332. {FNAME("response") CHOICE, 5, 19, 24, DECODE | EXT,
  1333. offsetof(MultimediaSystemControlMessage, response),
  1334. _ResponseMessage},
  1335. {FNAME("command") CHOICE, 3, 7, 12, STOP | EXT, 0, NULL},
  1336. {FNAME("indication") CHOICE, 4, 14, 23, STOP | EXT, 0, NULL},
  1337. };
  1338. static field_t _H323_UU_PDU_h245Control[] = { /* SEQUENCE OF */
  1339. {FNAME("item") CHOICE, 2, 4, 4, DECODE | OPEN | EXT,
  1340. sizeof(MultimediaSystemControlMessage),
  1341. _MultimediaSystemControlMessage}
  1342. ,
  1343. };
  1344. static field_t _H323_UU_PDU[] = { /* SEQUENCE */
  1345. {FNAME("h323-message-body") CHOICE, 3, 7, 13, DECODE | EXT,
  1346. offsetof(H323_UU_PDU, h323_message_body),
  1347. _H323_UU_PDU_h323_message_body},
  1348. {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP | OPT, 0,
  1349. _NonStandardParameter},
  1350. {FNAME("h4501SupplementaryService") SEQOF, SEMI, 0, 0, SKIP | OPT, 0,
  1351. NULL},
  1352. {FNAME("h245Tunneling") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
  1353. {FNAME("h245Control") SEQOF, SEMI, 0, 4, DECODE | OPT,
  1354. offsetof(H323_UU_PDU, h245Control), _H323_UU_PDU_h245Control},
  1355. {FNAME("nonStandardControl") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1356. {FNAME("callLinkage") SEQ, 2, 2, 2, STOP | EXT | OPT, 0, NULL},
  1357. {FNAME("tunnelledSignallingMessage") SEQ, 2, 4, 4, STOP | EXT | OPT,
  1358. 0, NULL},
  1359. {FNAME("provisionalRespToH245Tunneling") NUL, FIXD, 0, 0, STOP | OPT,
  1360. 0, NULL},
  1361. {FNAME("stimulusControl") SEQ, 3, 3, 3, STOP | EXT | OPT, 0, NULL},
  1362. {FNAME("genericData") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1363. };
  1364. static field_t _H323_UserInformation[] = { /* SEQUENCE */
  1365. {FNAME("h323-uu-pdu") SEQ, 1, 2, 11, DECODE | EXT,
  1366. offsetof(H323_UserInformation, h323_uu_pdu), _H323_UU_PDU},
  1367. {FNAME("user-data") SEQ, 0, 2, 2, STOP | EXT | OPT, 0, NULL},
  1368. };
  1369. static field_t _GatekeeperRequest[] = { /* SEQUENCE */
  1370. {FNAME("requestSeqNum") INT, WORD, 1, 0, SKIP, 0, NULL},
  1371. {FNAME("protocolIdentifier") OID, BYTE, 0, 0, SKIP, 0, NULL},
  1372. {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP | OPT, 0,
  1373. _NonStandardParameter},
  1374. {FNAME("rasAddress") CHOICE, 3, 7, 7, DECODE | EXT,
  1375. offsetof(GatekeeperRequest, rasAddress), _TransportAddress},
  1376. {FNAME("endpointType") SEQ, 6, 8, 10, STOP | EXT, 0, NULL},
  1377. {FNAME("gatekeeperIdentifier") BMPSTR, 7, 1, 0, STOP | OPT, 0, NULL},
  1378. {FNAME("callServices") SEQ, 0, 8, 8, STOP | EXT | OPT, 0, NULL},
  1379. {FNAME("endpointAlias") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1380. {FNAME("alternateEndpoints") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1381. {FNAME("tokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1382. {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1383. {FNAME("authenticationCapability") SEQOF, SEMI, 0, 0, STOP | OPT, 0,
  1384. NULL},
  1385. {FNAME("algorithmOIDs") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1386. {FNAME("integrity") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1387. {FNAME("integrityCheckValue") SEQ, 0, 2, 2, STOP | OPT, 0, NULL},
  1388. {FNAME("supportsAltGK") NUL, FIXD, 0, 0, STOP | OPT, 0, NULL},
  1389. {FNAME("featureSet") SEQ, 3, 4, 4, STOP | EXT | OPT, 0, NULL},
  1390. {FNAME("genericData") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1391. };
  1392. static field_t _GatekeeperConfirm[] = { /* SEQUENCE */
  1393. {FNAME("requestSeqNum") INT, WORD, 1, 0, SKIP, 0, NULL},
  1394. {FNAME("protocolIdentifier") OID, BYTE, 0, 0, SKIP, 0, NULL},
  1395. {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP | OPT, 0,
  1396. _NonStandardParameter},
  1397. {FNAME("gatekeeperIdentifier") BMPSTR, 7, 1, 0, SKIP | OPT, 0, NULL},
  1398. {FNAME("rasAddress") CHOICE, 3, 7, 7, DECODE | EXT,
  1399. offsetof(GatekeeperConfirm, rasAddress), _TransportAddress},
  1400. {FNAME("alternateGatekeeper") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1401. {FNAME("authenticationMode") CHOICE, 3, 7, 8, STOP | EXT | OPT, 0,
  1402. NULL},
  1403. {FNAME("tokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1404. {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1405. {FNAME("algorithmOID") OID, BYTE, 0, 0, STOP | OPT, 0, NULL},
  1406. {FNAME("integrity") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1407. {FNAME("integrityCheckValue") SEQ, 0, 2, 2, STOP | OPT, 0, NULL},
  1408. {FNAME("featureSet") SEQ, 3, 4, 4, STOP | EXT | OPT, 0, NULL},
  1409. {FNAME("genericData") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1410. };
  1411. static field_t _RegistrationRequest_callSignalAddress[] = { /* SEQUENCE OF */
  1412. {FNAME("item") CHOICE, 3, 7, 7, DECODE | EXT,
  1413. sizeof(TransportAddress), _TransportAddress}
  1414. ,
  1415. };
  1416. static field_t _RegistrationRequest_rasAddress[] = { /* SEQUENCE OF */
  1417. {FNAME("item") CHOICE, 3, 7, 7, DECODE | EXT,
  1418. sizeof(TransportAddress), _TransportAddress}
  1419. ,
  1420. };
  1421. static field_t _RegistrationRequest_terminalAlias[] = { /* SEQUENCE OF */
  1422. {FNAME("item") CHOICE, 1, 2, 7, SKIP | EXT, 0, _AliasAddress},
  1423. };
  1424. static field_t _RegistrationRequest[] = { /* SEQUENCE */
  1425. {FNAME("requestSeqNum") INT, WORD, 1, 0, SKIP, 0, NULL},
  1426. {FNAME("protocolIdentifier") OID, BYTE, 0, 0, SKIP, 0, NULL},
  1427. {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP | OPT, 0,
  1428. _NonStandardParameter},
  1429. {FNAME("discoveryComplete") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
  1430. {FNAME("callSignalAddress") SEQOF, SEMI, 0, 10, DECODE,
  1431. offsetof(RegistrationRequest, callSignalAddress),
  1432. _RegistrationRequest_callSignalAddress},
  1433. {FNAME("rasAddress") SEQOF, SEMI, 0, 10, DECODE,
  1434. offsetof(RegistrationRequest, rasAddress),
  1435. _RegistrationRequest_rasAddress},
  1436. {FNAME("terminalType") SEQ, 6, 8, 10, SKIP | EXT, 0, _EndpointType},
  1437. {FNAME("terminalAlias") SEQOF, SEMI, 0, 0, SKIP | OPT, 0,
  1438. _RegistrationRequest_terminalAlias},
  1439. {FNAME("gatekeeperIdentifier") BMPSTR, 7, 1, 0, SKIP | OPT, 0, NULL},
  1440. {FNAME("endpointVendor") SEQ, 2, 3, 3, SKIP | EXT, 0,
  1441. _VendorIdentifier},
  1442. {FNAME("alternateEndpoints") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
  1443. {FNAME("timeToLive") INT, CONS, 1, 0, DECODE | OPT,
  1444. offsetof(RegistrationRequest, timeToLive), NULL},
  1445. {FNAME("tokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1446. {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1447. {FNAME("integrityCheckValue") SEQ, 0, 2, 2, STOP | OPT, 0, NULL},
  1448. {FNAME("keepAlive") BOOL, FIXD, 0, 0, STOP, 0, NULL},
  1449. {FNAME("endpointIdentifier") BMPSTR, 7, 1, 0, STOP | OPT, 0, NULL},
  1450. {FNAME("willSupplyUUIEs") BOOL, FIXD, 0, 0, STOP, 0, NULL},
  1451. {FNAME("maintainConnection") BOOL, FIXD, 0, 0, STOP, 0, NULL},
  1452. {FNAME("alternateTransportAddresses") SEQ, 1, 1, 1, STOP | EXT | OPT,
  1453. 0, NULL},
  1454. {FNAME("additiveRegistration") NUL, FIXD, 0, 0, STOP | OPT, 0, NULL},
  1455. {FNAME("terminalAliasPattern") SEQOF, SEMI, 0, 0, STOP | OPT, 0,
  1456. NULL},
  1457. {FNAME("supportsAltGK") NUL, FIXD, 0, 0, STOP | OPT, 0, NULL},
  1458. {FNAME("usageReportingCapability") SEQ, 3, 4, 4, STOP | EXT | OPT, 0,
  1459. NULL},
  1460. {FNAME("multipleCalls") BOOL, FIXD, 0, 0, STOP | OPT, 0, NULL},
  1461. {FNAME("supportedH248Packages") SEQOF, SEMI, 0, 0, STOP | OPT, 0,
  1462. NULL},
  1463. {FNAME("callCreditCapability") SEQ, 2, 2, 2, STOP | EXT | OPT, 0,
  1464. NULL},
  1465. {FNAME("capacityReportingCapability") SEQ, 0, 1, 1, STOP | EXT | OPT,
  1466. 0, NULL},
  1467. {FNAME("capacity") SEQ, 2, 2, 2, STOP | EXT | OPT, 0, NULL},
  1468. {FNAME("featureSet") SEQ, 3, 4, 4, STOP | EXT | OPT, 0, NULL},
  1469. {FNAME("genericData") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1470. };
  1471. static field_t _RegistrationConfirm_callSignalAddress[] = { /* SEQUENCE OF */
  1472. {FNAME("item") CHOICE, 3, 7, 7, DECODE | EXT,
  1473. sizeof(TransportAddress), _TransportAddress}
  1474. ,
  1475. };
  1476. static field_t _RegistrationConfirm_terminalAlias[] = { /* SEQUENCE OF */
  1477. {FNAME("item") CHOICE, 1, 2, 7, SKIP | EXT, 0, _AliasAddress},
  1478. };
  1479. static field_t _RegistrationConfirm[] = { /* SEQUENCE */
  1480. {FNAME("requestSeqNum") INT, WORD, 1, 0, SKIP, 0, NULL},
  1481. {FNAME("protocolIdentifier") OID, BYTE, 0, 0, SKIP, 0, NULL},
  1482. {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP | OPT, 0,
  1483. _NonStandardParameter},
  1484. {FNAME("callSignalAddress") SEQOF, SEMI, 0, 10, DECODE,
  1485. offsetof(RegistrationConfirm, callSignalAddress),
  1486. _RegistrationConfirm_callSignalAddress},
  1487. {FNAME("terminalAlias") SEQOF, SEMI, 0, 0, SKIP | OPT, 0,
  1488. _RegistrationConfirm_terminalAlias},
  1489. {FNAME("gatekeeperIdentifier") BMPSTR, 7, 1, 0, SKIP | OPT, 0, NULL},
  1490. {FNAME("endpointIdentifier") BMPSTR, 7, 1, 0, SKIP, 0, NULL},
  1491. {FNAME("alternateGatekeeper") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
  1492. {FNAME("timeToLive") INT, CONS, 1, 0, DECODE | OPT,
  1493. offsetof(RegistrationConfirm, timeToLive), NULL},
  1494. {FNAME("tokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1495. {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1496. {FNAME("integrityCheckValue") SEQ, 0, 2, 2, STOP | OPT, 0, NULL},
  1497. {FNAME("willRespondToIRR") BOOL, FIXD, 0, 0, STOP, 0, NULL},
  1498. {FNAME("preGrantedARQ") SEQ, 0, 4, 8, STOP | EXT | OPT, 0, NULL},
  1499. {FNAME("maintainConnection") BOOL, FIXD, 0, 0, STOP, 0, NULL},
  1500. {FNAME("serviceControl") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1501. {FNAME("supportsAdditiveRegistration") NUL, FIXD, 0, 0, STOP | OPT, 0,
  1502. NULL},
  1503. {FNAME("terminalAliasPattern") SEQOF, SEMI, 0, 0, STOP | OPT, 0,
  1504. NULL},
  1505. {FNAME("supportedPrefixes") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1506. {FNAME("usageSpec") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1507. {FNAME("featureServerAlias") CHOICE, 1, 2, 7, STOP | EXT | OPT, 0,
  1508. NULL},
  1509. {FNAME("capacityReportingSpec") SEQ, 0, 1, 1, STOP | EXT | OPT, 0,
  1510. NULL},
  1511. {FNAME("featureSet") SEQ, 3, 4, 4, STOP | EXT | OPT, 0, NULL},
  1512. {FNAME("genericData") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1513. };
  1514. static field_t _UnregistrationRequest_callSignalAddress[] = { /* SEQUENCE OF */
  1515. {FNAME("item") CHOICE, 3, 7, 7, DECODE | EXT,
  1516. sizeof(TransportAddress), _TransportAddress}
  1517. ,
  1518. };
  1519. static field_t _UnregistrationRequest[] = { /* SEQUENCE */
  1520. {FNAME("requestSeqNum") INT, WORD, 1, 0, SKIP, 0, NULL},
  1521. {FNAME("callSignalAddress") SEQOF, SEMI, 0, 10, DECODE,
  1522. offsetof(UnregistrationRequest, callSignalAddress),
  1523. _UnregistrationRequest_callSignalAddress},
  1524. {FNAME("endpointAlias") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1525. {FNAME("nonStandardData") SEQ, 0, 2, 2, STOP | OPT, 0, NULL},
  1526. {FNAME("endpointIdentifier") BMPSTR, 7, 1, 0, STOP | OPT, 0, NULL},
  1527. {FNAME("alternateEndpoints") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1528. {FNAME("gatekeeperIdentifier") BMPSTR, 7, 1, 0, STOP | OPT, 0, NULL},
  1529. {FNAME("tokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1530. {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1531. {FNAME("integrityCheckValue") SEQ, 0, 2, 2, STOP | OPT, 0, NULL},
  1532. {FNAME("reason") CHOICE, 2, 4, 5, STOP | EXT | OPT, 0, NULL},
  1533. {FNAME("endpointAliasPattern") SEQOF, SEMI, 0, 0, STOP | OPT, 0,
  1534. NULL},
  1535. {FNAME("supportedPrefixes") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1536. {FNAME("alternateGatekeeper") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1537. {FNAME("genericData") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1538. };
  1539. static field_t _CallModel[] = { /* CHOICE */
  1540. {FNAME("direct") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  1541. {FNAME("gatekeeperRouted") NUL, FIXD, 0, 0, SKIP, 0, NULL},
  1542. };
  1543. static field_t _AdmissionRequest_destinationInfo[] = { /* SEQUENCE OF */
  1544. {FNAME("item") CHOICE, 1, 2, 7, SKIP | EXT, 0, _AliasAddress},
  1545. };
  1546. static field_t _AdmissionRequest_destExtraCallInfo[] = { /* SEQUENCE OF */
  1547. {FNAME("item") CHOICE, 1, 2, 7, SKIP | EXT, 0, _AliasAddress},
  1548. };
  1549. static field_t _AdmissionRequest_srcInfo[] = { /* SEQUENCE OF */
  1550. {FNAME("item") CHOICE, 1, 2, 7, SKIP | EXT, 0, _AliasAddress},
  1551. };
  1552. static field_t _AdmissionRequest[] = { /* SEQUENCE */
  1553. {FNAME("requestSeqNum") INT, WORD, 1, 0, SKIP, 0, NULL},
  1554. {FNAME("callType") CHOICE, 2, 4, 4, SKIP | EXT, 0, _CallType},
  1555. {FNAME("callModel") CHOICE, 1, 2, 2, SKIP | EXT | OPT, 0, _CallModel},
  1556. {FNAME("endpointIdentifier") BMPSTR, 7, 1, 0, SKIP, 0, NULL},
  1557. {FNAME("destinationInfo") SEQOF, SEMI, 0, 0, SKIP | OPT, 0,
  1558. _AdmissionRequest_destinationInfo},
  1559. {FNAME("destCallSignalAddress") CHOICE, 3, 7, 7, DECODE | EXT | OPT,
  1560. offsetof(AdmissionRequest, destCallSignalAddress),
  1561. _TransportAddress},
  1562. {FNAME("destExtraCallInfo") SEQOF, SEMI, 0, 0, SKIP | OPT, 0,
  1563. _AdmissionRequest_destExtraCallInfo},
  1564. {FNAME("srcInfo") SEQOF, SEMI, 0, 0, SKIP, 0,
  1565. _AdmissionRequest_srcInfo},
  1566. {FNAME("srcCallSignalAddress") CHOICE, 3, 7, 7, DECODE | EXT | OPT,
  1567. offsetof(AdmissionRequest, srcCallSignalAddress), _TransportAddress},
  1568. {FNAME("bandWidth") INT, CONS, 0, 0, STOP, 0, NULL},
  1569. {FNAME("callReferenceValue") INT, WORD, 0, 0, STOP, 0, NULL},
  1570. {FNAME("nonStandardData") SEQ, 0, 2, 2, STOP | OPT, 0, NULL},
  1571. {FNAME("callServices") SEQ, 0, 8, 8, STOP | EXT | OPT, 0, NULL},
  1572. {FNAME("conferenceID") OCTSTR, FIXD, 16, 0, STOP, 0, NULL},
  1573. {FNAME("activeMC") BOOL, FIXD, 0, 0, STOP, 0, NULL},
  1574. {FNAME("answerCall") BOOL, FIXD, 0, 0, STOP, 0, NULL},
  1575. {FNAME("canMapAlias") BOOL, FIXD, 0, 0, STOP, 0, NULL},
  1576. {FNAME("callIdentifier") SEQ, 0, 1, 1, STOP | EXT, 0, NULL},
  1577. {FNAME("srcAlternatives") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1578. {FNAME("destAlternatives") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1579. {FNAME("gatekeeperIdentifier") BMPSTR, 7, 1, 0, STOP | OPT, 0, NULL},
  1580. {FNAME("tokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1581. {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1582. {FNAME("integrityCheckValue") SEQ, 0, 2, 2, STOP | OPT, 0, NULL},
  1583. {FNAME("transportQOS") CHOICE, 2, 3, 3, STOP | EXT | OPT, 0, NULL},
  1584. {FNAME("willSupplyUUIEs") BOOL, FIXD, 0, 0, STOP, 0, NULL},
  1585. {FNAME("callLinkage") SEQ, 2, 2, 2, STOP | EXT | OPT, 0, NULL},
  1586. {FNAME("gatewayDataRate") SEQ, 2, 3, 3, STOP | EXT | OPT, 0, NULL},
  1587. {FNAME("capacity") SEQ, 2, 2, 2, STOP | EXT | OPT, 0, NULL},
  1588. {FNAME("circuitInfo") SEQ, 3, 3, 3, STOP | EXT | OPT, 0, NULL},
  1589. {FNAME("desiredProtocols") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1590. {FNAME("desiredTunnelledProtocol") SEQ, 1, 2, 2, STOP | EXT | OPT, 0,
  1591. NULL},
  1592. {FNAME("featureSet") SEQ, 3, 4, 4, STOP | EXT | OPT, 0, NULL},
  1593. {FNAME("genericData") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1594. };
  1595. static field_t _AdmissionConfirm[] = { /* SEQUENCE */
  1596. {FNAME("requestSeqNum") INT, WORD, 1, 0, SKIP, 0, NULL},
  1597. {FNAME("bandWidth") INT, CONS, 0, 0, SKIP, 0, NULL},
  1598. {FNAME("callModel") CHOICE, 1, 2, 2, SKIP | EXT, 0, _CallModel},
  1599. {FNAME("destCallSignalAddress") CHOICE, 3, 7, 7, DECODE | EXT,
  1600. offsetof(AdmissionConfirm, destCallSignalAddress),
  1601. _TransportAddress},
  1602. {FNAME("irrFrequency") INT, WORD, 1, 0, STOP | OPT, 0, NULL},
  1603. {FNAME("nonStandardData") SEQ, 0, 2, 2, STOP | OPT, 0, NULL},
  1604. {FNAME("destinationInfo") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1605. {FNAME("destExtraCallInfo") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1606. {FNAME("destinationType") SEQ, 6, 8, 10, STOP | EXT | OPT, 0, NULL},
  1607. {FNAME("remoteExtensionAddress") SEQOF, SEMI, 0, 0, STOP | OPT, 0,
  1608. NULL},
  1609. {FNAME("alternateEndpoints") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1610. {FNAME("tokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1611. {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1612. {FNAME("integrityCheckValue") SEQ, 0, 2, 2, STOP | OPT, 0, NULL},
  1613. {FNAME("transportQOS") CHOICE, 2, 3, 3, STOP | EXT | OPT, 0, NULL},
  1614. {FNAME("willRespondToIRR") BOOL, FIXD, 0, 0, STOP, 0, NULL},
  1615. {FNAME("uuiesRequested") SEQ, 0, 9, 13, STOP | EXT, 0, NULL},
  1616. {FNAME("language") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1617. {FNAME("alternateTransportAddresses") SEQ, 1, 1, 1, STOP | EXT | OPT,
  1618. 0, NULL},
  1619. {FNAME("useSpecifiedTransport") CHOICE, 1, 2, 2, STOP | EXT | OPT, 0,
  1620. NULL},
  1621. {FNAME("circuitInfo") SEQ, 3, 3, 3, STOP | EXT | OPT, 0, NULL},
  1622. {FNAME("usageSpec") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1623. {FNAME("supportedProtocols") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1624. {FNAME("serviceControl") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1625. {FNAME("multipleCalls") BOOL, FIXD, 0, 0, STOP | OPT, 0, NULL},
  1626. {FNAME("featureSet") SEQ, 3, 4, 4, STOP | EXT | OPT, 0, NULL},
  1627. {FNAME("genericData") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1628. };
  1629. static field_t _LocationRequest_destinationInfo[] = { /* SEQUENCE OF */
  1630. {FNAME("item") CHOICE, 1, 2, 7, SKIP | EXT, 0, _AliasAddress},
  1631. };
  1632. static field_t _LocationRequest[] = { /* SEQUENCE */
  1633. {FNAME("requestSeqNum") INT, WORD, 1, 0, SKIP, 0, NULL},
  1634. {FNAME("endpointIdentifier") BMPSTR, 7, 1, 0, SKIP | OPT, 0, NULL},
  1635. {FNAME("destinationInfo") SEQOF, SEMI, 0, 0, SKIP, 0,
  1636. _LocationRequest_destinationInfo},
  1637. {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP | OPT, 0,
  1638. _NonStandardParameter},
  1639. {FNAME("replyAddress") CHOICE, 3, 7, 7, DECODE | EXT,
  1640. offsetof(LocationRequest, replyAddress), _TransportAddress},
  1641. {FNAME("sourceInfo") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1642. {FNAME("canMapAlias") BOOL, FIXD, 0, 0, STOP, 0, NULL},
  1643. {FNAME("gatekeeperIdentifier") BMPSTR, 7, 1, 0, STOP | OPT, 0, NULL},
  1644. {FNAME("tokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1645. {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1646. {FNAME("integrityCheckValue") SEQ, 0, 2, 2, STOP | OPT, 0, NULL},
  1647. {FNAME("desiredProtocols") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1648. {FNAME("desiredTunnelledProtocol") SEQ, 1, 2, 2, STOP | EXT | OPT, 0,
  1649. NULL},
  1650. {FNAME("featureSet") SEQ, 3, 4, 4, STOP | EXT | OPT, 0, NULL},
  1651. {FNAME("genericData") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1652. {FNAME("hopCount") INT, 8, 1, 0, STOP | OPT, 0, NULL},
  1653. {FNAME("circuitInfo") SEQ, 3, 3, 3, STOP | EXT | OPT, 0, NULL},
  1654. };
  1655. static field_t _LocationConfirm[] = { /* SEQUENCE */
  1656. {FNAME("requestSeqNum") INT, WORD, 1, 0, SKIP, 0, NULL},
  1657. {FNAME("callSignalAddress") CHOICE, 3, 7, 7, DECODE | EXT,
  1658. offsetof(LocationConfirm, callSignalAddress), _TransportAddress},
  1659. {FNAME("rasAddress") CHOICE, 3, 7, 7, DECODE | EXT,
  1660. offsetof(LocationConfirm, rasAddress), _TransportAddress},
  1661. {FNAME("nonStandardData") SEQ, 0, 2, 2, STOP | OPT, 0, NULL},
  1662. {FNAME("destinationInfo") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1663. {FNAME("destExtraCallInfo") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1664. {FNAME("destinationType") SEQ, 6, 8, 10, STOP | EXT | OPT, 0, NULL},
  1665. {FNAME("remoteExtensionAddress") SEQOF, SEMI, 0, 0, STOP | OPT, 0,
  1666. NULL},
  1667. {FNAME("alternateEndpoints") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1668. {FNAME("tokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1669. {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1670. {FNAME("integrityCheckValue") SEQ, 0, 2, 2, STOP | OPT, 0, NULL},
  1671. {FNAME("alternateTransportAddresses") SEQ, 1, 1, 1, STOP | EXT | OPT,
  1672. 0, NULL},
  1673. {FNAME("supportedProtocols") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1674. {FNAME("multipleCalls") BOOL, FIXD, 0, 0, STOP | OPT, 0, NULL},
  1675. {FNAME("featureSet") SEQ, 3, 4, 4, STOP | EXT | OPT, 0, NULL},
  1676. {FNAME("genericData") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1677. {FNAME("circuitInfo") SEQ, 3, 3, 3, STOP | EXT | OPT, 0, NULL},
  1678. {FNAME("serviceControl") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1679. };
  1680. static field_t _InfoRequestResponse_callSignalAddress[] = { /* SEQUENCE OF */
  1681. {FNAME("item") CHOICE, 3, 7, 7, DECODE | EXT,
  1682. sizeof(TransportAddress), _TransportAddress}
  1683. ,
  1684. };
  1685. static field_t _InfoRequestResponse[] = { /* SEQUENCE */
  1686. {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP | OPT, 0,
  1687. _NonStandardParameter},
  1688. {FNAME("requestSeqNum") INT, WORD, 1, 0, SKIP, 0, NULL},
  1689. {FNAME("endpointType") SEQ, 6, 8, 10, SKIP | EXT, 0, _EndpointType},
  1690. {FNAME("endpointIdentifier") BMPSTR, 7, 1, 0, SKIP, 0, NULL},
  1691. {FNAME("rasAddress") CHOICE, 3, 7, 7, DECODE | EXT,
  1692. offsetof(InfoRequestResponse, rasAddress), _TransportAddress},
  1693. {FNAME("callSignalAddress") SEQOF, SEMI, 0, 10, DECODE,
  1694. offsetof(InfoRequestResponse, callSignalAddress),
  1695. _InfoRequestResponse_callSignalAddress},
  1696. {FNAME("endpointAlias") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1697. {FNAME("perCallInfo") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1698. {FNAME("tokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1699. {FNAME("cryptoTokens") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1700. {FNAME("integrityCheckValue") SEQ, 0, 2, 2, STOP | OPT, 0, NULL},
  1701. {FNAME("needResponse") BOOL, FIXD, 0, 0, STOP, 0, NULL},
  1702. {FNAME("capacity") SEQ, 2, 2, 2, STOP | EXT | OPT, 0, NULL},
  1703. {FNAME("irrStatus") CHOICE, 2, 4, 4, STOP | EXT | OPT, 0, NULL},
  1704. {FNAME("unsolicited") BOOL, FIXD, 0, 0, STOP, 0, NULL},
  1705. {FNAME("genericData") SEQOF, SEMI, 0, 0, STOP | OPT, 0, NULL},
  1706. };
  1707. static field_t _RasMessage[] = { /* CHOICE */
  1708. {FNAME("gatekeeperRequest") SEQ, 4, 8, 18, DECODE | EXT,
  1709. offsetof(RasMessage, gatekeeperRequest), _GatekeeperRequest},
  1710. {FNAME("gatekeeperConfirm") SEQ, 2, 5, 14, DECODE | EXT,
  1711. offsetof(RasMessage, gatekeeperConfirm), _GatekeeperConfirm},
  1712. {FNAME("gatekeeperReject") SEQ, 2, 5, 11, STOP | EXT, 0, NULL},
  1713. {FNAME("registrationRequest") SEQ, 3, 10, 31, DECODE | EXT,
  1714. offsetof(RasMessage, registrationRequest), _RegistrationRequest},
  1715. {FNAME("registrationConfirm") SEQ, 3, 7, 24, DECODE | EXT,
  1716. offsetof(RasMessage, registrationConfirm), _RegistrationConfirm},
  1717. {FNAME("registrationReject") SEQ, 2, 5, 11, STOP | EXT, 0, NULL},
  1718. {FNAME("unregistrationRequest") SEQ, 3, 5, 15, DECODE | EXT,
  1719. offsetof(RasMessage, unregistrationRequest), _UnregistrationRequest},
  1720. {FNAME("unregistrationConfirm") SEQ, 1, 2, 6, STOP | EXT, 0, NULL},
  1721. {FNAME("unregistrationReject") SEQ, 1, 3, 8, STOP | EXT, 0, NULL},
  1722. {FNAME("admissionRequest") SEQ, 7, 16, 34, DECODE | EXT,
  1723. offsetof(RasMessage, admissionRequest), _AdmissionRequest},
  1724. {FNAME("admissionConfirm") SEQ, 2, 6, 27, DECODE | EXT,
  1725. offsetof(RasMessage, admissionConfirm), _AdmissionConfirm},
  1726. {FNAME("admissionReject") SEQ, 1, 3, 11, STOP | EXT, 0, NULL},
  1727. {FNAME("bandwidthRequest") SEQ, 2, 7, 18, STOP | EXT, 0, NULL},
  1728. {FNAME("bandwidthConfirm") SEQ, 1, 3, 8, STOP | EXT, 0, NULL},
  1729. {FNAME("bandwidthReject") SEQ, 1, 4, 9, STOP | EXT, 0, NULL},
  1730. {FNAME("disengageRequest") SEQ, 1, 6, 19, STOP | EXT, 0, NULL},
  1731. {FNAME("disengageConfirm") SEQ, 1, 2, 9, STOP | EXT, 0, NULL},
  1732. {FNAME("disengageReject") SEQ, 1, 3, 8, STOP | EXT, 0, NULL},
  1733. {FNAME("locationRequest") SEQ, 2, 5, 17, DECODE | EXT,
  1734. offsetof(RasMessage, locationRequest), _LocationRequest},
  1735. {FNAME("locationConfirm") SEQ, 1, 4, 19, DECODE | EXT,
  1736. offsetof(RasMessage, locationConfirm), _LocationConfirm},
  1737. {FNAME("locationReject") SEQ, 1, 3, 10, STOP | EXT, 0, NULL},
  1738. {FNAME("infoRequest") SEQ, 2, 4, 15, STOP | EXT, 0, NULL},
  1739. {FNAME("infoRequestResponse") SEQ, 3, 8, 16, DECODE | EXT,
  1740. offsetof(RasMessage, infoRequestResponse), _InfoRequestResponse},
  1741. {FNAME("nonStandardMessage") SEQ, 0, 2, 7, STOP | EXT, 0, NULL},
  1742. {FNAME("unknownMessageResponse") SEQ, 0, 1, 5, STOP | EXT, 0, NULL},
  1743. {FNAME("requestInProgress") SEQ, 4, 6, 6, STOP | EXT, 0, NULL},
  1744. {FNAME("resourcesAvailableIndicate") SEQ, 4, 9, 11, STOP | EXT, 0,
  1745. NULL},
  1746. {FNAME("resourcesAvailableConfirm") SEQ, 4, 6, 7, STOP | EXT, 0,
  1747. NULL},
  1748. {FNAME("infoRequestAck") SEQ, 4, 5, 5, STOP | EXT, 0, NULL},
  1749. {FNAME("infoRequestNak") SEQ, 5, 7, 7, STOP | EXT, 0, NULL},
  1750. {FNAME("serviceControlIndication") SEQ, 8, 10, 10, STOP | EXT, 0,
  1751. NULL},
  1752. {FNAME("serviceControlResponse") SEQ, 7, 8, 8, STOP | EXT, 0, NULL},
  1753. };