Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

899 lines
30 KiB

  1. /***********************************************************************
  2. * INTEL Corporation Proprietary Information *
  3. * *
  4. * This listing is supplied under the terms of a license agreement *
  5. * with INTEL Corporation and may not be copied nor disclosed except *
  6. * in accordance with the terms of that agreement. *
  7. * *
  8. * Copyright (c) 1997 Intel Corporation. All rights reserved. *
  9. ***********************************************************************/
  10. /* Abstract syntax: gkpdu */
  11. /* Created: Wed Jan 15 13:27:58 1997 */
  12. /* ASN.1 compiler version: 4.2 */
  13. /* Target operating system: Windows NT 3.5 or later/Windows 95 */
  14. /* Target machine type: Intel x86 */
  15. /* C compiler options required: -Zp8 (Microsoft) */
  16. /* ASN.1 compiler options and file names specified:
  17. * -c++ -per ASN1DF~1.zp8 gkpdu.asn
  18. */
  19. #ifndef OSS_gkpdu
  20. #define OSS_gkpdu
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif /* __cplusplus */
  24. #include "asn1hdr.h"
  25. #include "asn1code.h"
  26. #define RasMessage_PDU 1
  27. typedef struct ObjectID_ {
  28. struct ObjectID_ *next;
  29. unsigned short value;
  30. } *ObjectID;
  31. typedef struct H221NonStandard {
  32. unsigned short t35CountryCode;
  33. unsigned short t35Extension;
  34. unsigned short manufacturerCode;
  35. } H221NonStandard;
  36. typedef struct NonStandardIdentifier {
  37. unsigned short choice;
  38. # define object_chosen 1
  39. # define h221NonStandard_chosen 2
  40. union _union {
  41. struct ObjectID_ *object;
  42. H221NonStandard h221NonStandard;
  43. } u;
  44. } NonStandardIdentifier;
  45. typedef struct NonStandardParameter {
  46. NonStandardIdentifier nonStandardIdentifier;
  47. struct {
  48. unsigned int length;
  49. unsigned char *value;
  50. } data;
  51. } NonStandardParameter;
  52. typedef struct _choice1 {
  53. unsigned short choice;
  54. # define strict_chosen 1
  55. # define loose_chosen 2
  56. union _union {
  57. Nulltype strict;
  58. Nulltype loose;
  59. } u;
  60. } _choice1;
  61. typedef struct TransportAddress {
  62. unsigned short choice;
  63. # define ipAddress_chosen 1
  64. # define ipSourceRoute_chosen 2
  65. # define ipxAddress_chosen 3
  66. # define ip6Address_chosen 4
  67. # define netBios_chosen 5
  68. # define nsap_chosen 6
  69. # define nonStandardAddress_chosen 7
  70. union _union {
  71. struct _seq1 {
  72. struct {
  73. unsigned short length;
  74. unsigned char value[4];
  75. } ip;
  76. unsigned short port;
  77. } ipAddress;
  78. struct _seq2 {
  79. struct {
  80. unsigned short length;
  81. unsigned char value[4];
  82. } ip;
  83. unsigned short port;
  84. struct _seqof1 {
  85. struct _seqof1 *next;
  86. struct {
  87. unsigned short length;
  88. unsigned char value[4];
  89. } value;
  90. } *route;
  91. _choice1 routing;
  92. } ipSourceRoute;
  93. struct _seq3 {
  94. struct {
  95. unsigned short length;
  96. unsigned char value[6];
  97. } node;
  98. struct {
  99. unsigned short length;
  100. unsigned char value[4];
  101. } netnum;
  102. struct {
  103. unsigned short length;
  104. unsigned char value[2];
  105. } port;
  106. } ipxAddress;
  107. struct _seq4 {
  108. struct {
  109. unsigned short length;
  110. unsigned char value[16];
  111. } ip;
  112. unsigned short port;
  113. } ip6Address;
  114. struct _octet1 {
  115. unsigned short length;
  116. unsigned char value[16];
  117. } netBios;
  118. struct _octet2 {
  119. unsigned short length;
  120. unsigned char value[20];
  121. } nsap;
  122. NonStandardParameter nonStandardAddress;
  123. } u;
  124. } TransportAddress;
  125. typedef struct VendorIdentifier {
  126. unsigned char bit_mask;
  127. # define productId_present 0x80
  128. # define versionId_present 0x40
  129. H221NonStandard vendor;
  130. struct {
  131. unsigned short length;
  132. unsigned char value[256];
  133. } productId; /* optional */
  134. struct {
  135. unsigned short length;
  136. unsigned char value[256];
  137. } versionId; /* optional */
  138. } VendorIdentifier;
  139. typedef struct GatekeeperInfo {
  140. unsigned char bit_mask;
  141. # define GtkprInf_nnStndrdDt_present 0x80
  142. NonStandardParameter GtkprInf_nnStndrdDt; /* optional */
  143. } GatekeeperInfo;
  144. typedef struct H310Caps {
  145. unsigned char bit_mask;
  146. # define GtkprInf_nnStndrdDt_present 0x80
  147. NonStandardParameter GtkprInf_nnStndrdDt; /* optional */
  148. } H310Caps;
  149. typedef struct H320Caps {
  150. unsigned char bit_mask;
  151. # define GtkprInf_nnStndrdDt_present 0x80
  152. NonStandardParameter GtkprInf_nnStndrdDt; /* optional */
  153. } H320Caps;
  154. typedef struct H321Caps {
  155. unsigned char bit_mask;
  156. # define GtkprInf_nnStndrdDt_present 0x80
  157. NonStandardParameter GtkprInf_nnStndrdDt; /* optional */
  158. } H321Caps;
  159. typedef struct H322Caps {
  160. unsigned char bit_mask;
  161. # define GtkprInf_nnStndrdDt_present 0x80
  162. NonStandardParameter GtkprInf_nnStndrdDt; /* optional */
  163. } H322Caps;
  164. typedef struct H323Caps {
  165. unsigned char bit_mask;
  166. # define GtkprInf_nnStndrdDt_present 0x80
  167. NonStandardParameter GtkprInf_nnStndrdDt; /* optional */
  168. } H323Caps;
  169. typedef struct H324Caps {
  170. unsigned char bit_mask;
  171. # define GtkprInf_nnStndrdDt_present 0x80
  172. NonStandardParameter GtkprInf_nnStndrdDt; /* optional */
  173. } H324Caps;
  174. typedef struct VoiceCaps {
  175. unsigned char bit_mask;
  176. # define GtkprInf_nnStndrdDt_present 0x80
  177. NonStandardParameter GtkprInf_nnStndrdDt; /* optional */
  178. } VoiceCaps;
  179. typedef struct T120OnlyCaps {
  180. unsigned char bit_mask;
  181. # define GtkprInf_nnStndrdDt_present 0x80
  182. NonStandardParameter GtkprInf_nnStndrdDt; /* optional */
  183. } T120OnlyCaps;
  184. typedef struct SupportedProtocols {
  185. unsigned short choice;
  186. # define nonStandardData_chosen 1
  187. # define h310_chosen 2
  188. # define h320_chosen 3
  189. # define h321_chosen 4
  190. # define h322_chosen 5
  191. # define h323_chosen 6
  192. # define h324_chosen 7
  193. # define voice_chosen 8
  194. # define t120_only_chosen 9
  195. union _union {
  196. NonStandardParameter nonStandardData;
  197. H310Caps h310;
  198. H320Caps h320;
  199. H321Caps h321;
  200. H322Caps h322;
  201. H323Caps h323;
  202. H324Caps h324;
  203. VoiceCaps voice;
  204. T120OnlyCaps t120_only;
  205. } u;
  206. } SupportedProtocols;
  207. typedef struct GatewayInfo {
  208. unsigned char bit_mask;
  209. # define protocol_present 0x80
  210. # define GtwyInf_nonStandardData_present 0x40
  211. struct _seqof2 {
  212. struct _seqof2 *next;
  213. SupportedProtocols value;
  214. } *protocol; /* optional */
  215. NonStandardParameter GtwyInf_nonStandardData; /* optional */
  216. } GatewayInfo;
  217. typedef struct McuInfo {
  218. unsigned char bit_mask;
  219. # define GtkprInf_nnStndrdDt_present 0x80
  220. NonStandardParameter GtkprInf_nnStndrdDt; /* optional */
  221. } McuInfo;
  222. typedef struct TerminalInfo {
  223. unsigned char bit_mask;
  224. # define GtkprInf_nnStndrdDt_present 0x80
  225. NonStandardParameter GtkprInf_nnStndrdDt; /* optional */
  226. } TerminalInfo;
  227. typedef struct EndpointType {
  228. unsigned char bit_mask;
  229. # define EndpntTyp_nnStndrdDt_present 0x80
  230. # define vendor_present 0x40
  231. # define gatekeeper_present 0x20
  232. # define gateway_present 0x10
  233. # define mcu_present 0x08
  234. # define terminal_present 0x04
  235. NonStandardParameter EndpntTyp_nnStndrdDt; /* optional */
  236. VendorIdentifier vendor; /* optional */
  237. GatekeeperInfo gatekeeper; /* optional */
  238. GatewayInfo gateway; /* optional */
  239. McuInfo mcu; /* optional */
  240. TerminalInfo terminal; /* optional */
  241. ossBoolean mc;
  242. ossBoolean undefinedNode;
  243. } EndpointType;
  244. typedef struct AliasAddress {
  245. unsigned short choice;
  246. # define e164_chosen 1
  247. # define h323_ID_chosen 2
  248. union _union {
  249. char e164[129];
  250. struct _char1 {
  251. unsigned short length;
  252. unsigned short *value;
  253. } h323_ID;
  254. } u;
  255. } AliasAddress;
  256. typedef struct Q954Details {
  257. ossBoolean conferenceCalling;
  258. ossBoolean threePartyService;
  259. } Q954Details;
  260. typedef struct QseriesOptions {
  261. ossBoolean q932Full;
  262. ossBoolean q951Full;
  263. ossBoolean q952Full;
  264. ossBoolean q953Full;
  265. ossBoolean q955Full;
  266. ossBoolean q956Full;
  267. ossBoolean q957Full;
  268. Q954Details q954Info;
  269. } QseriesOptions;
  270. typedef struct ConferenceIdentifier {
  271. unsigned short length;
  272. unsigned char value[16];
  273. } ConferenceIdentifier;
  274. typedef unsigned short RequestSeqNum;
  275. typedef struct GatekeeperIdentifier {
  276. unsigned short length;
  277. unsigned short *value;
  278. } GatekeeperIdentifier;
  279. typedef unsigned int BandWidth;
  280. typedef unsigned short CallReferenceValue;
  281. typedef struct EndpointIdentifier {
  282. unsigned short length;
  283. unsigned short *value;
  284. } EndpointIdentifier;
  285. typedef struct ObjectID_ *ProtocolIdentifier;
  286. typedef struct GatekeeperRequest {
  287. unsigned char bit_mask;
  288. # define GtkprRqst_nnStndrdDt_present 0x80
  289. # define GtkprRqst_gtkprIdntfr_present 0x40
  290. # define GtkprRqst_callServices_present 0x20
  291. # define GtkprRqst_endpointAlias_present 0x10
  292. RequestSeqNum requestSeqNum;
  293. struct ObjectID_ *protocolIdentifier;
  294. NonStandardParameter GtkprRqst_nnStndrdDt; /* optional */
  295. TransportAddress rasAddress;
  296. EndpointType endpointType;
  297. GatekeeperIdentifier GtkprRqst_gtkprIdntfr; /* optional */
  298. QseriesOptions GtkprRqst_callServices; /* optional */
  299. struct _seqof3 {
  300. struct _seqof3 *next;
  301. AliasAddress value;
  302. } *GtkprRqst_endpointAlias; /* optional */
  303. } GatekeeperRequest;
  304. typedef struct GatekeeperConfirm {
  305. unsigned char bit_mask;
  306. # define GtkprCnfrm_nnStndrdDt_present 0x80
  307. # define GtkprCnfrm_gtkprIdntfr_present 0x40
  308. RequestSeqNum requestSeqNum;
  309. struct ObjectID_ *protocolIdentifier;
  310. NonStandardParameter GtkprCnfrm_nnStndrdDt; /* optional */
  311. GatekeeperIdentifier GtkprCnfrm_gtkprIdntfr; /* optional */
  312. TransportAddress rasAddress;
  313. } GatekeeperConfirm;
  314. typedef struct GatekeeperRejectReason {
  315. unsigned short choice;
  316. # define GtkprRjctRsn_rsrcUnvlbl_chosen 1
  317. # define terminalExcluded_chosen 2
  318. # define GtkprRjctRsn_invldRvsn_chosen 3
  319. # define GtkprRjctRsn_undfndRsn_chosen 4
  320. union _union {
  321. Nulltype GtkprRjctRsn_rsrcUnvlbl;
  322. Nulltype terminalExcluded;
  323. Nulltype GtkprRjctRsn_invldRvsn;
  324. Nulltype GtkprRjctRsn_undfndRsn;
  325. } u;
  326. } GatekeeperRejectReason;
  327. typedef struct GatekeeperReject {
  328. unsigned char bit_mask;
  329. # define GtkprRjct_nnStndrdDt_present 0x80
  330. # define GtkprRjct_gtkprIdntfr_present 0x40
  331. RequestSeqNum requestSeqNum;
  332. struct ObjectID_ *protocolIdentifier;
  333. NonStandardParameter GtkprRjct_nnStndrdDt; /* optional */
  334. GatekeeperIdentifier GtkprRjct_gtkprIdntfr; /* optional */
  335. GatekeeperRejectReason rejectReason;
  336. } GatekeeperReject;
  337. typedef struct RegistrationRequest {
  338. unsigned char bit_mask;
  339. # define RgstrtnRqst_nnStndrdDt_present 0x80
  340. # define RgstrtnRqst_trmnlAls_present 0x40
  341. # define RgstrtnRqst_gtkprIdntfr_present 0x20
  342. RequestSeqNum requestSeqNum;
  343. struct ObjectID_ *protocolIdentifier;
  344. NonStandardParameter RgstrtnRqst_nnStndrdDt; /* optional */
  345. ossBoolean discoveryComplete;
  346. struct _seqof4 {
  347. struct _seqof4 *next;
  348. TransportAddress value;
  349. } *callSignalAddress;
  350. struct _seqof5 {
  351. struct _seqof5 *next;
  352. TransportAddress value;
  353. } *rasAddress;
  354. EndpointType terminalType;
  355. struct _seqof6 {
  356. struct _seqof6 *next;
  357. AliasAddress value;
  358. } *RgstrtnRqst_trmnlAls; /* optional */
  359. GatekeeperIdentifier RgstrtnRqst_gtkprIdntfr; /* optional */
  360. VendorIdentifier endpointVendor;
  361. } RegistrationRequest;
  362. typedef struct RegistrationConfirm {
  363. unsigned char bit_mask;
  364. # define RgstrtnCnfrm_nnStndrdDt_present 0x80
  365. # define RgstrtnCnfrm_trmnlAls_present 0x40
  366. # define RCm_gtkprIdntfr_present 0x20
  367. RequestSeqNum requestSeqNum;
  368. struct ObjectID_ *protocolIdentifier;
  369. NonStandardParameter RgstrtnCnfrm_nnStndrdDt; /* optional */
  370. struct _seqof7 {
  371. struct _seqof7 *next;
  372. TransportAddress value;
  373. } *callSignalAddress;
  374. struct _seqof8 {
  375. struct _seqof8 *next;
  376. AliasAddress value;
  377. } *RgstrtnCnfrm_trmnlAls; /* optional */
  378. GatekeeperIdentifier RCm_gtkprIdntfr; /* optional */
  379. EndpointIdentifier endpointIdentifier;
  380. } RegistrationConfirm;
  381. typedef struct RegistrationRejectReason {
  382. unsigned short choice;
  383. # define discoveryRequired_chosen 1
  384. # define RgstrtnRjctRsn_invldRvsn_chosen 2
  385. # define invalidCallSignalAddress_chosen 3
  386. # define invalidRASAddress_chosen 4
  387. # define duplicateAlias_chosen 5
  388. # define invalidTerminalType_chosen 6
  389. # define RgstrtnRjctRsn_undfndRsn_chosen 7
  390. # define transportNotSupported_chosen 8
  391. union _union {
  392. Nulltype discoveryRequired;
  393. Nulltype RgstrtnRjctRsn_invldRvsn;
  394. Nulltype invalidCallSignalAddress;
  395. Nulltype invalidRASAddress;
  396. struct _seqof9 {
  397. struct _seqof9 *next;
  398. AliasAddress value;
  399. } *duplicateAlias;
  400. Nulltype invalidTerminalType;
  401. Nulltype RgstrtnRjctRsn_undfndRsn;
  402. Nulltype transportNotSupported;
  403. } u;
  404. } RegistrationRejectReason;
  405. typedef struct RegistrationReject {
  406. unsigned char bit_mask;
  407. # define RgstrtnRjct_nnStndrdDt_present 0x80
  408. # define RgstrtnRjct_gtkprIdntfr_present 0x40
  409. RequestSeqNum requestSeqNum;
  410. struct ObjectID_ *protocolIdentifier;
  411. NonStandardParameter RgstrtnRjct_nnStndrdDt; /* optional */
  412. RegistrationRejectReason rejectReason;
  413. GatekeeperIdentifier RgstrtnRjct_gtkprIdntfr; /* optional */
  414. } RegistrationReject;
  415. typedef struct UnregistrationRequest {
  416. unsigned char bit_mask;
  417. # define UnrgstrtnRqst_endpntAls_present 0x80
  418. # define URt_nnStndrdDt_1_present 0x40
  419. # define URt_endpntIdntfr_present 0x20
  420. RequestSeqNum requestSeqNum;
  421. struct _seqof10 {
  422. struct _seqof10 *next;
  423. TransportAddress value;
  424. } *callSignalAddress;
  425. struct _seqof11 {
  426. struct _seqof11 *next;
  427. AliasAddress value;
  428. } *UnrgstrtnRqst_endpntAls; /* optional */
  429. NonStandardParameter URt_nnStndrdDt_1; /* optional */
  430. EndpointIdentifier URt_endpntIdntfr; /* optional */
  431. } UnregistrationRequest;
  432. typedef struct UnregistrationConfirm {
  433. unsigned char bit_mask;
  434. # define UCm_nnStndrdDt_present 0x80
  435. RequestSeqNum requestSeqNum;
  436. NonStandardParameter UCm_nnStndrdDt; /* optional */
  437. } UnregistrationConfirm;
  438. typedef struct UnregRejectReason {
  439. unsigned short choice;
  440. # define notCurrentlyRegistered_chosen 1
  441. # define callInProgress_chosen 2
  442. # define UnrgRjctRsn_undfndRsn_chosen 3
  443. union _union {
  444. Nulltype notCurrentlyRegistered;
  445. Nulltype callInProgress;
  446. Nulltype UnrgRjctRsn_undfndRsn;
  447. } u;
  448. } UnregRejectReason;
  449. typedef struct UnregistrationReject {
  450. unsigned char bit_mask;
  451. # define URt_nnStndrdDt_2_present 0x80
  452. RequestSeqNum requestSeqNum;
  453. UnregRejectReason rejectReason;
  454. NonStandardParameter URt_nnStndrdDt_2; /* optional */
  455. } UnregistrationReject;
  456. typedef struct CallType {
  457. unsigned short choice;
  458. # define pointToPoint_chosen 1
  459. # define oneToN_chosen 2
  460. # define nToOne_chosen 3
  461. # define nToN_chosen 4
  462. union _union {
  463. Nulltype pointToPoint;
  464. Nulltype oneToN;
  465. Nulltype nToOne;
  466. Nulltype nToN;
  467. } u;
  468. } CallType;
  469. typedef struct CallModel {
  470. unsigned short choice;
  471. # define direct_chosen 1
  472. # define gatekeeperRouted_chosen 2
  473. union _union {
  474. Nulltype direct;
  475. Nulltype gatekeeperRouted;
  476. } u;
  477. } CallModel;
  478. typedef struct AdmissionRequest {
  479. unsigned char bit_mask;
  480. # define callModel_present 0x80
  481. # define destinationInfo_present 0x40
  482. # define destCallSignalAddress_present 0x20
  483. # define destExtraCallInfo_present 0x10
  484. # define srcCallSignalAddress_present 0x08
  485. # define AdmssnRqst_nnStndrdDt_present 0x04
  486. # define AdmssnRqst_callServices_present 0x02
  487. RequestSeqNum requestSeqNum;
  488. CallType callType;
  489. CallModel callModel; /* optional */
  490. EndpointIdentifier endpointIdentifier;
  491. struct _seqof12 {
  492. struct _seqof12 *next;
  493. AliasAddress value;
  494. } *destinationInfo; /* optional */
  495. TransportAddress destCallSignalAddress; /* optional */
  496. struct _seqof13 {
  497. struct _seqof13 *next;
  498. AliasAddress value;
  499. } *destExtraCallInfo; /* optional */
  500. struct _seqof14 {
  501. struct _seqof14 *next;
  502. AliasAddress value;
  503. } *srcInfo;
  504. TransportAddress srcCallSignalAddress; /* optional */
  505. BandWidth bandWidth;
  506. CallReferenceValue callReferenceValue;
  507. NonStandardParameter AdmssnRqst_nnStndrdDt; /* optional */
  508. QseriesOptions AdmssnRqst_callServices; /* optional */
  509. ConferenceIdentifier conferenceID;
  510. ossBoolean activeMC;
  511. ossBoolean answerCall;
  512. } AdmissionRequest;
  513. typedef struct AdmissionConfirm {
  514. unsigned char bit_mask;
  515. # define irrFrequency_present 0x80
  516. # define AdmssnCnfrm_nnStndrdDt_present 0x40
  517. RequestSeqNum requestSeqNum;
  518. BandWidth bandWidth;
  519. CallModel callModel;
  520. TransportAddress destCallSignalAddress;
  521. unsigned short irrFrequency; /* optional */
  522. NonStandardParameter AdmssnCnfrm_nnStndrdDt; /* optional */
  523. } AdmissionConfirm;
  524. typedef struct AdmissionRejectReason {
  525. unsigned short choice;
  526. # define calledPartyNotRegistered_chosen 1
  527. # define ARRn_invldPrmssn_chosen 2
  528. # define AdmssnRjctRsn_rqstDnd_chosen 3
  529. # define AdmssnRjctRsn_undfndRsn_chosen 4
  530. # define callerNotRegistered_chosen 5
  531. # define routeCallToGatekeeper_chosen 6
  532. # define invldEndpntIdntfr_chosen 7
  533. # define AdmssnRjctRsn_rsrcUnvlbl_chosen 8
  534. union _union {
  535. Nulltype calledPartyNotRegistered;
  536. Nulltype ARRn_invldPrmssn;
  537. Nulltype AdmssnRjctRsn_rqstDnd;
  538. Nulltype AdmssnRjctRsn_undfndRsn;
  539. Nulltype callerNotRegistered;
  540. Nulltype routeCallToGatekeeper;
  541. Nulltype invldEndpntIdntfr;
  542. Nulltype AdmssnRjctRsn_rsrcUnvlbl;
  543. } u;
  544. } AdmissionRejectReason;
  545. typedef struct AdmissionReject {
  546. unsigned char bit_mask;
  547. # define AdmssnRjct_nnStndrdDt_present 0x80
  548. RequestSeqNum requestSeqNum;
  549. AdmissionRejectReason rejectReason;
  550. NonStandardParameter AdmssnRjct_nnStndrdDt; /* optional */
  551. } AdmissionReject;
  552. typedef struct BandwidthRequest {
  553. unsigned char bit_mask;
  554. # define callType_present 0x80
  555. # define BndwdthRqst_nnStndrdDt_present 0x40
  556. RequestSeqNum requestSeqNum;
  557. EndpointIdentifier endpointIdentifier;
  558. ConferenceIdentifier conferenceID;
  559. CallReferenceValue callReferenceValue;
  560. CallType callType; /* optional */
  561. BandWidth bandWidth;
  562. NonStandardParameter BndwdthRqst_nnStndrdDt; /* optional */
  563. } BandwidthRequest;
  564. typedef struct BandwidthConfirm {
  565. unsigned char bit_mask;
  566. # define BndwdthCnfrm_nnStndrdDt_present 0x80
  567. RequestSeqNum requestSeqNum;
  568. BandWidth bandWidth;
  569. NonStandardParameter BndwdthCnfrm_nnStndrdDt; /* optional */
  570. } BandwidthConfirm;
  571. typedef struct BandRejectReason {
  572. unsigned short choice;
  573. # define notBound_chosen 1
  574. # define invalidConferenceID_chosen 2
  575. # define BndRjctRsn_invldPrmssn_chosen 3
  576. # define insufficientResources_chosen 4
  577. # define BndRjctRsn_invldRvsn_chosen 5
  578. # define BndRjctRsn_undfndRsn_chosen 6
  579. union _union {
  580. Nulltype notBound;
  581. Nulltype invalidConferenceID;
  582. Nulltype BndRjctRsn_invldPrmssn;
  583. Nulltype insufficientResources;
  584. Nulltype BndRjctRsn_invldRvsn;
  585. Nulltype BndRjctRsn_undfndRsn;
  586. } u;
  587. } BandRejectReason;
  588. typedef struct BandwidthReject {
  589. unsigned char bit_mask;
  590. # define BndwdthRjct_nnStndrdDt_present 0x80
  591. RequestSeqNum requestSeqNum;
  592. BandRejectReason rejectReason;
  593. BandWidth allowedBandWidth;
  594. NonStandardParameter BndwdthRjct_nnStndrdDt; /* optional */
  595. } BandwidthReject;
  596. typedef struct DisengageReason {
  597. unsigned short choice;
  598. # define forcedDrop_chosen 1
  599. # define normalDrop_chosen 2
  600. # define DsnggRsn_undefinedReason_chosen 3
  601. union _union {
  602. Nulltype forcedDrop;
  603. Nulltype normalDrop;
  604. Nulltype DsnggRsn_undefinedReason;
  605. } u;
  606. } DisengageReason;
  607. typedef struct DisengageRequest {
  608. unsigned char bit_mask;
  609. # define DsnggRqst_nnStndrdDt_present 0x80
  610. RequestSeqNum requestSeqNum;
  611. EndpointIdentifier endpointIdentifier;
  612. ConferenceIdentifier conferenceID;
  613. CallReferenceValue callReferenceValue;
  614. DisengageReason disengageReason;
  615. NonStandardParameter DsnggRqst_nnStndrdDt; /* optional */
  616. } DisengageRequest;
  617. typedef struct DisengageConfirm {
  618. unsigned char bit_mask;
  619. # define UCm_nnStndrdDt_present 0x80
  620. RequestSeqNum requestSeqNum;
  621. NonStandardParameter UCm_nnStndrdDt; /* optional */
  622. } DisengageConfirm;
  623. typedef struct DisengageRejectReason {
  624. unsigned short choice;
  625. # define DsnggRjctRsn_ntRgstrd_chosen 1
  626. # define requestToDropOther_chosen 2
  627. union _union {
  628. Nulltype DsnggRjctRsn_ntRgstrd;
  629. Nulltype requestToDropOther;
  630. } u;
  631. } DisengageRejectReason;
  632. typedef struct DisengageReject {
  633. unsigned char bit_mask;
  634. # define DsnggRjct_nnStndrdDt_present 0x80
  635. RequestSeqNum requestSeqNum;
  636. DisengageRejectReason rejectReason;
  637. NonStandardParameter DsnggRjct_nnStndrdDt; /* optional */
  638. } DisengageReject;
  639. typedef struct LocationRequest {
  640. unsigned char bit_mask;
  641. # define LctnRqst_endpntIdntfr_present 0x80
  642. # define LctnRqst_nnStndrdDt_present 0x40
  643. RequestSeqNum requestSeqNum;
  644. EndpointIdentifier LctnRqst_endpntIdntfr; /* optional */
  645. struct _seqof15 {
  646. struct _seqof15 *next;
  647. AliasAddress value;
  648. } *destinationInfo;
  649. NonStandardParameter LctnRqst_nnStndrdDt; /* optional */
  650. TransportAddress replyAddress;
  651. } LocationRequest;
  652. typedef struct LocationConfirm {
  653. unsigned char bit_mask;
  654. # define LctnCnfrm_nnStndrdDt_present 0x80
  655. RequestSeqNum requestSeqNum;
  656. TransportAddress callSignalAddress;
  657. TransportAddress rasAddress;
  658. NonStandardParameter LctnCnfrm_nnStndrdDt; /* optional */
  659. } LocationConfirm;
  660. typedef struct LocationRejectReason {
  661. unsigned short choice;
  662. # define LctnRjctRsn_ntRgstrd_chosen 1
  663. # define LctnRjctRsn_invldPrmssn_chosen 2
  664. # define LctnRjctRsn_rqstDnd_chosen 3
  665. # define LctnRjctRsn_undfndRsn_chosen 4
  666. union _union {
  667. Nulltype LctnRjctRsn_ntRgstrd;
  668. Nulltype LctnRjctRsn_invldPrmssn;
  669. Nulltype LctnRjctRsn_rqstDnd;
  670. Nulltype LctnRjctRsn_undfndRsn;
  671. } u;
  672. } LocationRejectReason;
  673. typedef struct LocationReject {
  674. unsigned char bit_mask;
  675. # define LctnRjct_nnStndrdDt_present 0x80
  676. RequestSeqNum requestSeqNum;
  677. LocationRejectReason rejectReason;
  678. NonStandardParameter LctnRjct_nnStndrdDt; /* optional */
  679. } LocationReject;
  680. typedef struct InfoRequest {
  681. unsigned char bit_mask;
  682. # define InfRqst_nonStandardData_present 0x80
  683. # define replyAddress_present 0x40
  684. RequestSeqNum requestSeqNum;
  685. CallReferenceValue callReferenceValue;
  686. NonStandardParameter InfRqst_nonStandardData; /* optional */
  687. TransportAddress replyAddress; /* optional */
  688. } InfoRequest;
  689. typedef struct TransportChannelInfo {
  690. unsigned char bit_mask;
  691. # define sendAddress_present 0x80
  692. # define recvAddress_present 0x40
  693. TransportAddress sendAddress; /* optional */
  694. TransportAddress recvAddress; /* optional */
  695. } TransportChannelInfo;
  696. typedef struct RTPSession {
  697. TransportChannelInfo rtpAddress;
  698. TransportChannelInfo rtcpAddress;
  699. char *cname;
  700. unsigned int ssrc;
  701. unsigned short sessionId;
  702. struct _seqof16 {
  703. struct _seqof16 *next;
  704. unsigned short value;
  705. } *associatedSessionIds;
  706. } RTPSession;
  707. typedef struct InfoRequestResponse {
  708. unsigned char bit_mask;
  709. # define InfRqstRspns_nnStndrdDt_present 0x80
  710. # define InfRqstRspns_endpntAls_present 0x40
  711. # define perCallInfo_present 0x20
  712. NonStandardParameter InfRqstRspns_nnStndrdDt; /* optional */
  713. RequestSeqNum requestSeqNum;
  714. EndpointType endpointType;
  715. EndpointIdentifier endpointIdentifier;
  716. TransportAddress rasAddress;
  717. struct _seqof20 {
  718. struct _seqof20 *next;
  719. TransportAddress value;
  720. } *callSignalAddress;
  721. struct _seqof21 {
  722. struct _seqof21 *next;
  723. AliasAddress value;
  724. } *InfRqstRspns_endpntAls; /* optional */
  725. struct _seqof22 {
  726. struct _seqof22 *next;
  727. struct {
  728. unsigned char bit_mask;
  729. # define prCllInf_nnStndrdDt_present 0x80
  730. # define originator_present 0x40
  731. # define audio_present 0x20
  732. # define video_present 0x10
  733. # define data_present 0x08
  734. NonStandardParameter prCllInf_nnStndrdDt; /* optional */
  735. CallReferenceValue callReferenceValue;
  736. ConferenceIdentifier conferenceID;
  737. ossBoolean originator; /* optional */
  738. struct _seqof17 {
  739. struct _seqof17 *next;
  740. RTPSession value;
  741. } *audio; /* optional */
  742. struct _seqof18 {
  743. struct _seqof18 *next;
  744. RTPSession value;
  745. } *video; /* optional */
  746. struct _seqof19 {
  747. struct _seqof19 *next;
  748. TransportChannelInfo value;
  749. } *data; /* optional */
  750. TransportChannelInfo h245;
  751. TransportChannelInfo callSignaling;
  752. CallType callType;
  753. BandWidth bandWidth;
  754. CallModel callModel;
  755. } value;
  756. } *perCallInfo; /* optional */
  757. } InfoRequestResponse;
  758. typedef struct NonStandardMessage {
  759. RequestSeqNum requestSeqNum;
  760. NonStandardParameter nonStandardData;
  761. } NonStandardMessage;
  762. typedef struct UnknownMessageResponse {
  763. RequestSeqNum requestSeqNum;
  764. } UnknownMessageResponse;
  765. typedef struct RasMessage {
  766. unsigned short choice;
  767. # define gatekeeperRequest_chosen 1
  768. # define gatekeeperConfirm_chosen 2
  769. # define gatekeeperReject_chosen 3
  770. # define registrationRequest_chosen 4
  771. # define registrationConfirm_chosen 5
  772. # define registrationReject_chosen 6
  773. # define unregistrationRequest_chosen 7
  774. # define unregistrationConfirm_chosen 8
  775. # define unregistrationReject_chosen 9
  776. # define admissionRequest_chosen 10
  777. # define admissionConfirm_chosen 11
  778. # define admissionReject_chosen 12
  779. # define bandwidthRequest_chosen 13
  780. # define bandwidthConfirm_chosen 14
  781. # define bandwidthReject_chosen 15
  782. # define disengageRequest_chosen 16
  783. # define disengageConfirm_chosen 17
  784. # define disengageReject_chosen 18
  785. # define locationRequest_chosen 19
  786. # define locationConfirm_chosen 20
  787. # define locationReject_chosen 21
  788. # define infoRequest_chosen 22
  789. # define infoRequestResponse_chosen 23
  790. # define nonStandardMessage_chosen 24
  791. # define unknownMessageResponse_chosen 25
  792. union _union {
  793. GatekeeperRequest gatekeeperRequest;
  794. GatekeeperConfirm gatekeeperConfirm;
  795. GatekeeperReject gatekeeperReject;
  796. RegistrationRequest registrationRequest;
  797. RegistrationConfirm registrationConfirm;
  798. RegistrationReject registrationReject;
  799. UnregistrationRequest unregistrationRequest;
  800. UnregistrationConfirm unregistrationConfirm;
  801. UnregistrationReject unregistrationReject;
  802. AdmissionRequest admissionRequest;
  803. AdmissionConfirm admissionConfirm;
  804. AdmissionReject admissionReject;
  805. BandwidthRequest bandwidthRequest;
  806. BandwidthConfirm bandwidthConfirm;
  807. BandwidthReject bandwidthReject;
  808. DisengageRequest disengageRequest;
  809. DisengageConfirm disengageConfirm;
  810. DisengageReject disengageReject;
  811. LocationRequest locationRequest;
  812. LocationConfirm locationConfirm;
  813. LocationReject locationReject;
  814. InfoRequest infoRequest;
  815. InfoRequestResponse infoRequestResponse;
  816. NonStandardMessage nonStandardMessage;
  817. UnknownMessageResponse unknownMessageResponse;
  818. } u;
  819. } RasMessage;
  820. extern void *gkpdu; /* encoder-decoder control table */
  821. #ifdef __cplusplus
  822. } /* extern "C" */
  823. #endif /* __cplusplus */
  824. #endif /* OSS_gkpdu */