nf_conntrack_h323_types.c 88 KB

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