Moving in e2sim originally from it/test/simulators

Signed-off-by: Harry Tran <tuyen@research.att.com>
Change-Id: I3bef295a1328667a3f9d40b96839207ffb99b332
diff --git a/e2sim/ASN1c/pdu_collection.c b/e2sim/ASN1c/pdu_collection.c
new file mode 100644
index 0000000..6dbb55d
--- /dev/null
+++ b/e2sim/ASN1c/pdu_collection.c
@@ -0,0 +1,189 @@
+/*****************************************************************************
+#                                                                            *
+# Copyright 2019 AT&T Intellectual Property                                  *
+#                                                                            *
+# Licensed under the Apache License, Version 2.0 (the "License");            *
+# you may not use this file except in compliance with the License.           *
+# You may obtain a copy of the License at                                    *
+#                                                                            *
+#      http://www.apache.org/licenses/LICENSE-2.0                            *
+#                                                                            *
+# Unless required by applicable law or agreed to in writing, software        *
+# distributed under the License is distributed on an "AS IS" BASIS,          *
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   *
+# See the License for the specific language governing permissions and        *
+# limitations under the License.                                             *
+#                                                                            *
+******************************************************************************/
+
+/*
+ * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
+ */
+
+struct asn_TYPE_descriptor_s;	/* Forward declaration */
+
+extern struct asn_TYPE_descriptor_s asn_DEF_E2AP_PDU;
+extern struct asn_TYPE_descriptor_s asn_DEF_HandoverRequest;
+extern struct asn_TYPE_descriptor_s asn_DEF_HandoverRequestAcknowledge;
+extern struct asn_TYPE_descriptor_s asn_DEF_HandoverPreparationFailure;
+extern struct asn_TYPE_descriptor_s asn_DEF_HandoverReport;
+extern struct asn_TYPE_descriptor_s asn_DEF_SNStatusTransfer;
+extern struct asn_TYPE_descriptor_s asn_DEF_UEContextRelease;
+extern struct asn_TYPE_descriptor_s asn_DEF_HandoverCancel;
+extern struct asn_TYPE_descriptor_s asn_DEF_PrivateMessage;
+extern struct asn_TYPE_descriptor_s asn_DEF_MobilityChangeRequest;
+extern struct asn_TYPE_descriptor_s asn_DEF_MobilityChangeAcknowledge;
+extern struct asn_TYPE_descriptor_s asn_DEF_MobilityChangeFailure;
+extern struct asn_TYPE_descriptor_s asn_DEF_RLFIndication;
+extern struct asn_TYPE_descriptor_s asn_DEF_CellActivationRequest;
+extern struct asn_TYPE_descriptor_s asn_DEF_CellActivationResponse;
+extern struct asn_TYPE_descriptor_s asn_DEF_CellActivationFailure;
+extern struct asn_TYPE_descriptor_s asn_DEF_X2Release;
+extern struct asn_TYPE_descriptor_s asn_DEF_X2APMessageTransfer;
+extern struct asn_TYPE_descriptor_s asn_DEF_SeNBAdditionRequest;
+extern struct asn_TYPE_descriptor_s asn_DEF_SeNBAdditionRequestAcknowledge;
+extern struct asn_TYPE_descriptor_s asn_DEF_SeNBAdditionRequestReject;
+extern struct asn_TYPE_descriptor_s asn_DEF_SeNBReconfigurationComplete;
+extern struct asn_TYPE_descriptor_s asn_DEF_SeNBModificationRequest;
+extern struct asn_TYPE_descriptor_s asn_DEF_SeNBModificationRequestAcknowledge;
+extern struct asn_TYPE_descriptor_s asn_DEF_SeNBModificationRequestReject;
+extern struct asn_TYPE_descriptor_s asn_DEF_SeNBModificationRequired;
+extern struct asn_TYPE_descriptor_s asn_DEF_SeNBModificationConfirm;
+extern struct asn_TYPE_descriptor_s asn_DEF_SeNBModificationRefuse;
+extern struct asn_TYPE_descriptor_s asn_DEF_SeNBReleaseRequest;
+extern struct asn_TYPE_descriptor_s asn_DEF_SeNBReleaseRequired;
+extern struct asn_TYPE_descriptor_s asn_DEF_SeNBReleaseConfirm;
+extern struct asn_TYPE_descriptor_s asn_DEF_SeNBCounterCheckRequest;
+extern struct asn_TYPE_descriptor_s asn_DEF_X2RemovalRequest;
+extern struct asn_TYPE_descriptor_s asn_DEF_X2RemovalResponse;
+extern struct asn_TYPE_descriptor_s asn_DEF_X2RemovalFailure;
+extern struct asn_TYPE_descriptor_s asn_DEF_RetrieveUEContextRequest;
+extern struct asn_TYPE_descriptor_s asn_DEF_RetrieveUEContextResponse;
+extern struct asn_TYPE_descriptor_s asn_DEF_RetrieveUEContextFailure;
+extern struct asn_TYPE_descriptor_s asn_DEF_SgNBAdditionRequest;
+extern struct asn_TYPE_descriptor_s asn_DEF_SgNBAdditionRequestAcknowledge;
+extern struct asn_TYPE_descriptor_s asn_DEF_SgNBAdditionRequestReject;
+extern struct asn_TYPE_descriptor_s asn_DEF_SgNBReconfigurationComplete;
+extern struct asn_TYPE_descriptor_s asn_DEF_SgNBModificationRequest;
+extern struct asn_TYPE_descriptor_s asn_DEF_SgNBModificationRequestAcknowledge;
+extern struct asn_TYPE_descriptor_s asn_DEF_SgNBModificationRequestReject;
+extern struct asn_TYPE_descriptor_s asn_DEF_SgNBModificationRequired;
+extern struct asn_TYPE_descriptor_s asn_DEF_SgNBModificationConfirm;
+extern struct asn_TYPE_descriptor_s asn_DEF_SgNBModificationRefuse;
+extern struct asn_TYPE_descriptor_s asn_DEF_SgNBReleaseRequest;
+extern struct asn_TYPE_descriptor_s asn_DEF_SgNBReleaseRequestAcknowledge;
+extern struct asn_TYPE_descriptor_s asn_DEF_SgNBReleaseRequestReject;
+extern struct asn_TYPE_descriptor_s asn_DEF_SgNBReleaseRequired;
+extern struct asn_TYPE_descriptor_s asn_DEF_SgNBReleaseConfirm;
+extern struct asn_TYPE_descriptor_s asn_DEF_SgNBCounterCheckRequest;
+extern struct asn_TYPE_descriptor_s asn_DEF_SgNBChangeRequired;
+extern struct asn_TYPE_descriptor_s asn_DEF_SgNBChangeConfirm;
+extern struct asn_TYPE_descriptor_s asn_DEF_RRCTransfer;
+extern struct asn_TYPE_descriptor_s asn_DEF_SgNBChangeRefuse;
+extern struct asn_TYPE_descriptor_s asn_DEF_ENDCCellActivationRequest;
+extern struct asn_TYPE_descriptor_s asn_DEF_ENDCCellActivationResponse;
+extern struct asn_TYPE_descriptor_s asn_DEF_ENDCCellActivationFailure;
+extern struct asn_TYPE_descriptor_s asn_DEF_SecondaryRATDataUsageReport;
+extern struct asn_TYPE_descriptor_s asn_DEF_SgNBActivityNotification;
+extern struct asn_TYPE_descriptor_s asn_DEF_ENDCPartialResetRequired;
+extern struct asn_TYPE_descriptor_s asn_DEF_ENDCPartialResetConfirm;
+extern struct asn_TYPE_descriptor_s asn_DEF_EUTRANRCellResourceCoordinationRequest;
+extern struct asn_TYPE_descriptor_s asn_DEF_EUTRANRCellResourceCoordinationResponse;
+extern struct asn_TYPE_descriptor_s asn_DEF_ENDCX2RemovalRequest;
+extern struct asn_TYPE_descriptor_s asn_DEF_ENDCX2RemovalResponse;
+extern struct asn_TYPE_descriptor_s asn_DEF_ENDCX2RemovalFailure;
+extern struct asn_TYPE_descriptor_s asn_DEF_DataForwardingAddressIndication;
+extern struct asn_TYPE_descriptor_s asn_DEF_E2SM_gNB_X2_eventTriggerDefinition;
+extern struct asn_TYPE_descriptor_s asn_DEF_E2SM_gNB_X2_actionDefinition;
+extern struct asn_TYPE_descriptor_s asn_DEF_E2SM_gNB_X2_indicationHeader;
+extern struct asn_TYPE_descriptor_s asn_DEF_E2SM_gNB_X2_indicationMessage;
+extern struct asn_TYPE_descriptor_s asn_DEF_E2SM_gNB_X2_callProcessID;
+extern struct asn_TYPE_descriptor_s asn_DEF_E2SM_gNB_X2_controlHeader;
+extern struct asn_TYPE_descriptor_s asn_DEF_E2SM_gNB_X2_controlMessage;
+
+
+struct asn_TYPE_descriptor_s *asn_pdu_collection[] = {
+	/* From module E2AP-PDU-Descriptions in ../../asnFiles/e2ap-v031.asn */
+	&asn_DEF_E2AP_PDU,	
+	/* From module X2AP-PDU-Contents in ../../asnFiles/X2AP-PDU-Contents.asn */
+	&asn_DEF_HandoverRequest,	
+	&asn_DEF_HandoverRequestAcknowledge,	
+	&asn_DEF_HandoverPreparationFailure,	
+	&asn_DEF_HandoverReport,	
+	&asn_DEF_SNStatusTransfer,	
+	&asn_DEF_UEContextRelease,	
+	&asn_DEF_HandoverCancel,	
+	&asn_DEF_PrivateMessage,	
+	&asn_DEF_MobilityChangeRequest,	
+	&asn_DEF_MobilityChangeAcknowledge,	
+	&asn_DEF_MobilityChangeFailure,	
+	&asn_DEF_RLFIndication,	
+	&asn_DEF_CellActivationRequest,	
+	&asn_DEF_CellActivationResponse,	
+	&asn_DEF_CellActivationFailure,	
+	&asn_DEF_X2Release,	
+	&asn_DEF_X2APMessageTransfer,	
+	&asn_DEF_SeNBAdditionRequest,	
+	&asn_DEF_SeNBAdditionRequestAcknowledge,	
+	&asn_DEF_SeNBAdditionRequestReject,	
+	&asn_DEF_SeNBReconfigurationComplete,	
+	&asn_DEF_SeNBModificationRequest,	
+	&asn_DEF_SeNBModificationRequestAcknowledge,	
+	&asn_DEF_SeNBModificationRequestReject,	
+	&asn_DEF_SeNBModificationRequired,	
+	&asn_DEF_SeNBModificationConfirm,	
+	&asn_DEF_SeNBModificationRefuse,	
+	&asn_DEF_SeNBReleaseRequest,	
+	&asn_DEF_SeNBReleaseRequired,	
+	&asn_DEF_SeNBReleaseConfirm,	
+	&asn_DEF_SeNBCounterCheckRequest,	
+	&asn_DEF_X2RemovalRequest,	
+	&asn_DEF_X2RemovalResponse,	
+	&asn_DEF_X2RemovalFailure,	
+	&asn_DEF_RetrieveUEContextRequest,	
+	&asn_DEF_RetrieveUEContextResponse,	
+	&asn_DEF_RetrieveUEContextFailure,	
+	&asn_DEF_SgNBAdditionRequest,	
+	&asn_DEF_SgNBAdditionRequestAcknowledge,	
+	&asn_DEF_SgNBAdditionRequestReject,	
+	&asn_DEF_SgNBReconfigurationComplete,	
+	&asn_DEF_SgNBModificationRequest,	
+	&asn_DEF_SgNBModificationRequestAcknowledge,	
+	&asn_DEF_SgNBModificationRequestReject,	
+	&asn_DEF_SgNBModificationRequired,	
+	&asn_DEF_SgNBModificationConfirm,	
+	&asn_DEF_SgNBModificationRefuse,	
+	&asn_DEF_SgNBReleaseRequest,	
+	&asn_DEF_SgNBReleaseRequestAcknowledge,	
+	&asn_DEF_SgNBReleaseRequestReject,	
+	&asn_DEF_SgNBReleaseRequired,	
+	&asn_DEF_SgNBReleaseConfirm,	
+	&asn_DEF_SgNBCounterCheckRequest,	
+	&asn_DEF_SgNBChangeRequired,	
+	&asn_DEF_SgNBChangeConfirm,	
+	&asn_DEF_RRCTransfer,	
+	&asn_DEF_SgNBChangeRefuse,	
+	&asn_DEF_ENDCCellActivationRequest,	
+	&asn_DEF_ENDCCellActivationResponse,	
+	&asn_DEF_ENDCCellActivationFailure,	
+	&asn_DEF_SecondaryRATDataUsageReport,	
+	&asn_DEF_SgNBActivityNotification,	
+	&asn_DEF_ENDCPartialResetRequired,	
+	&asn_DEF_ENDCPartialResetConfirm,	
+	&asn_DEF_EUTRANRCellResourceCoordinationRequest,	
+	&asn_DEF_EUTRANRCellResourceCoordinationResponse,	
+	&asn_DEF_ENDCX2RemovalRequest,	
+	&asn_DEF_ENDCX2RemovalResponse,	
+	&asn_DEF_ENDCX2RemovalFailure,	
+	&asn_DEF_DataForwardingAddressIndication,	
+	/* From module E2SM-gNB-X2-IEs in ../../asnFiles/e2sm-gNB-X2-release-1-v041.asn */
+	&asn_DEF_E2SM_gNB_X2_eventTriggerDefinition,	
+	&asn_DEF_E2SM_gNB_X2_actionDefinition,	
+	&asn_DEF_E2SM_gNB_X2_indicationHeader,	
+	&asn_DEF_E2SM_gNB_X2_indicationMessage,	
+	&asn_DEF_E2SM_gNB_X2_callProcessID,	
+	&asn_DEF_E2SM_gNB_X2_controlHeader,	
+	&asn_DEF_E2SM_gNB_X2_controlMessage,	
+	0
+};
+