Add User-level metrics
[sim/e2-interface.git] / e2sim / e2apv1sim / ASN1c / RAN-Container.h
index f2b97a5..8184460 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
  * From ASN.1 module "E2SM-KPM-IEs"
- *     found in "/home/rshacham/e2sm_kpm_approved.asn"
+ *     found in "/home/rshacham/e2sm-kpm-v01.02.asn"
  *     `asn1c -fcompound-names`
  */
 
 #include <asn_application.h>
 
 /* Including external dependencies */
-#include <OCTET_STRING.h>
+#include "Timestamp.h"
+#include "DU-Usage-Report-Per-UE.h"
+#include "CU-CP-Usage-Report-Per-UE.h"
+#include "CU-UP-Usage-Report-Per-UE.h"
+#include <constr_CHOICE.h>
+#include <constr_SEQUENCE.h>
 
 #ifdef __cplusplus
 extern "C" {
 #endif
 
+/* Dependencies */
+typedef enum RAN_Container__reportContainer_PR {
+       RAN_Container__reportContainer_PR_NOTHING,      /* No components present */
+       RAN_Container__reportContainer_PR_oDU_UE,
+       RAN_Container__reportContainer_PR_oCU_CP_UE,
+       RAN_Container__reportContainer_PR_oCU_UP_UE
+       /* Extensions may appear below */
+       
+} RAN_Container__reportContainer_PR;
+
 /* RAN-Container */
-typedef OCTET_STRING_t  RAN_Container_t;
+typedef struct RAN_Container {
+       Timestamp_t      timestamp;
+       struct RAN_Container__reportContainer {
+               RAN_Container__reportContainer_PR present;
+               union RAN_Container__reportContainer_u {
+                       DU_Usage_Report_Per_UE_t         oDU_UE;
+                       CU_CP_Usage_Report_Per_UE_t      oCU_CP_UE;
+                       CU_UP_Usage_Report_Per_UE_t      oCU_UP_UE;
+                       /*
+                        * This type is extensible,
+                        * possible extensions are below.
+                        */
+               } choice;
+               
+               /* Context for parsing across buffer boundaries */
+               asn_struct_ctx_t _asn_ctx;
+       } reportContainer;
+       /*
+        * This type is extensible,
+        * possible extensions are below.
+        */
+       
+       /* Context for parsing across buffer boundaries */
+       asn_struct_ctx_t _asn_ctx;
+} RAN_Container_t;
 
 /* Implementation */
 extern asn_TYPE_descriptor_t asn_DEF_RAN_Container;
-asn_struct_free_f RAN_Container_free;
-asn_struct_print_f RAN_Container_print;
-asn_constr_check_f RAN_Container_constraint;
-ber_type_decoder_f RAN_Container_decode_ber;
-der_type_encoder_f RAN_Container_encode_der;
-xer_type_decoder_f RAN_Container_decode_xer;
-xer_type_encoder_f RAN_Container_encode_xer;
-oer_type_decoder_f RAN_Container_decode_oer;
-oer_type_encoder_f RAN_Container_encode_oer;
-per_type_decoder_f RAN_Container_decode_uper;
-per_type_encoder_f RAN_Container_encode_uper;
-per_type_decoder_f RAN_Container_decode_aper;
-per_type_encoder_f RAN_Container_encode_aper;
+extern asn_SEQUENCE_specifics_t asn_SPC_RAN_Container_specs_1;
+extern asn_TYPE_member_t asn_MBR_RAN_Container_1[2];
 
 #ifdef __cplusplus
 }