Generated C files for E2AP v2.0
[sim/e2-interface.git] / e2sim / src / ASN1c / E2nodeComponentID.c
index 3ce23a0..ce3697d 100644 (file)
@@ -1,42 +1,97 @@
 /*
  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
  * From ASN.1 module "E2AP-IEs"
- *     found in "e2ap-v01.01.00.asn"
- *     `asn1c -pdu=auto -fincludes-quoted -fcompound-names -findirect-choice -fno-include-deps -gen-PER -no-gen-OER -no-gen-example`
+ *     found in "e2ap-v2.asn"
+ *     `asn1c -pdu=auto -fincludes-quoted -fcompound-names -findirect-choice -fno-include-deps -gen-PER -no-gen-example -no-gen-OER`
  */
 
 #include "E2nodeComponentID.h"
 
-#include "E2nodeComponentGNB-CU-UP-ID.h"
-#include "E2nodeComponentGNB-DU-ID.h"
+#include "E2nodeComponentInterfaceNG.h"
+#include "E2nodeComponentInterfaceXn.h"
+#include "E2nodeComponentInterfaceE1.h"
+#include "E2nodeComponentInterfaceF1.h"
+#include "E2nodeComponentInterfaceW1.h"
+#include "E2nodeComponentInterfaceS1.h"
+#include "E2nodeComponentInterfaceX2.h"
 asn_per_constraints_t asn_PER_type_E2nodeComponentID_constr_1 CC_NOTUSED = {
-       { APC_CONSTRAINED | APC_EXTENSIBLE,  1,  1,  0,  1 }    /* (0..1,...) */,
+       { APC_CONSTRAINED | APC_EXTENSIBLE,  3,  3,  0,  6 }    /* (0..6,...) */,
        { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
        0, 0    /* No PER value map */
 };
 asn_TYPE_member_t asn_MBR_E2nodeComponentID_1[] = {
-       { ATF_POINTER, 0, offsetof(struct E2nodeComponentID, choice.e2nodeComponentTypeGNB_CU_UP),
+       { ATF_POINTER, 0, offsetof(struct E2nodeComponentID, choice.e2nodeComponentInterfaceTypeNG),
                (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
                -1,     /* IMPLICIT tag at current level */
-               &asn_DEF_E2nodeComponentGNB_CU_UP_ID,
+               &asn_DEF_E2nodeComponentInterfaceNG,
                0,
                { 0, 0, 0 },
                0, 0, /* No default value */
-               "e2nodeComponentTypeGNB-CU-UP"
+               "e2nodeComponentInterfaceTypeNG"
                },
-       { ATF_POINTER, 0, offsetof(struct E2nodeComponentID, choice.e2nodeComponentTypeGNB_DU),
+       { ATF_POINTER, 0, offsetof(struct E2nodeComponentID, choice.e2nodeComponentInterfaceTypeXn),
                (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
                -1,     /* IMPLICIT tag at current level */
-               &asn_DEF_E2nodeComponentGNB_DU_ID,
+               &asn_DEF_E2nodeComponentInterfaceXn,
                0,
                { 0, 0, 0 },
                0, 0, /* No default value */
-               "e2nodeComponentTypeGNB-DU"
+               "e2nodeComponentInterfaceTypeXn"
+               },
+       { ATF_POINTER, 0, offsetof(struct E2nodeComponentID, choice.e2nodeComponentInterfaceTypeE1),
+               (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
+               -1,     /* IMPLICIT tag at current level */
+               &asn_DEF_E2nodeComponentInterfaceE1,
+               0,
+               { 0, 0, 0 },
+               0, 0, /* No default value */
+               "e2nodeComponentInterfaceTypeE1"
+               },
+       { ATF_POINTER, 0, offsetof(struct E2nodeComponentID, choice.e2nodeComponentInterfaceTypeF1),
+               (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
+               -1,     /* IMPLICIT tag at current level */
+               &asn_DEF_E2nodeComponentInterfaceF1,
+               0,
+               { 0, 0, 0 },
+               0, 0, /* No default value */
+               "e2nodeComponentInterfaceTypeF1"
+               },
+       { ATF_POINTER, 0, offsetof(struct E2nodeComponentID, choice.e2nodeComponentInterfaceTypeW1),
+               (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
+               -1,     /* IMPLICIT tag at current level */
+               &asn_DEF_E2nodeComponentInterfaceW1,
+               0,
+               { 0, 0, 0 },
+               0, 0, /* No default value */
+               "e2nodeComponentInterfaceTypeW1"
+               },
+       { ATF_POINTER, 0, offsetof(struct E2nodeComponentID, choice.e2nodeComponentInterfaceTypeS1),
+               (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
+               -1,     /* IMPLICIT tag at current level */
+               &asn_DEF_E2nodeComponentInterfaceS1,
+               0,
+               { 0, 0, 0 },
+               0, 0, /* No default value */
+               "e2nodeComponentInterfaceTypeS1"
+               },
+       { ATF_POINTER, 0, offsetof(struct E2nodeComponentID, choice.e2nodeComponentInterfaceTypeX2),
+               (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
+               -1,     /* IMPLICIT tag at current level */
+               &asn_DEF_E2nodeComponentInterfaceX2,
+               0,
+               { 0, 0, 0 },
+               0, 0, /* No default value */
+               "e2nodeComponentInterfaceTypeX2"
                },
 };
 static const asn_TYPE_tag2member_t asn_MAP_E2nodeComponentID_tag2el_1[] = {
-    { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* e2nodeComponentTypeGNB-CU-UP */
-    { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* e2nodeComponentTypeGNB-DU */
+    { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* e2nodeComponentInterfaceTypeNG */
+    { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* e2nodeComponentInterfaceTypeXn */
+    { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* e2nodeComponentInterfaceTypeE1 */
+    { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* e2nodeComponentInterfaceTypeF1 */
+    { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* e2nodeComponentInterfaceTypeW1 */
+    { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* e2nodeComponentInterfaceTypeS1 */
+    { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* e2nodeComponentInterfaceTypeX2 */
 };
 asn_CHOICE_specifics_t asn_SPC_E2nodeComponentID_specs_1 = {
        sizeof(struct E2nodeComponentID),
@@ -44,9 +99,9 @@ asn_CHOICE_specifics_t asn_SPC_E2nodeComponentID_specs_1 = {
        offsetof(struct E2nodeComponentID, present),
        sizeof(((struct E2nodeComponentID *)0)->present),
        asn_MAP_E2nodeComponentID_tag2el_1,
-       2,      /* Count of tags in the map */
+       7,      /* Count of tags in the map */
        0, 0,
-       2       /* Extensions start */
+       7       /* Extensions start */
 };
 asn_TYPE_descriptor_t asn_DEF_E2nodeComponentID = {
        "E2nodeComponentID",
@@ -58,7 +113,7 @@ asn_TYPE_descriptor_t asn_DEF_E2nodeComponentID = {
        0,      /* No tags (count) */
        { 0, &asn_PER_type_E2nodeComponentID_constr_1, CHOICE_constraint },
        asn_MBR_E2nodeComponentID_1,
-       2,      /* Elements count */
+       7,      /* Elements count */
        &asn_SPC_E2nodeComponentID_specs_1      /* Additional specs */
 };