PageRenderTime 1150ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/net/netfilter/nf_conntrack_h323_types.c

https://github.com/Mengqi/linux-2.6
C | 1093 lines | 981 code | 106 blank | 6 comment | 0 complexity | 7d09f14e1ba7e05b13da7a5dc1b4edbe MD5 | raw file
  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, S