2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "E2SM-gNB-X2-IEs"
4 * found in "Spec/e2_and_x2-combined-and-minimized.asn1"
5 * `asn1c -pdu=auto -fincludes-quoted -fcompound-names -fno-include-deps -gen-PER -no-gen-OER -no-gen-example`
8 #include "Interface-ID.h"
10 asn_per_constraints_t asn_PER_type_Interface_ID_constr_1 CC_NOTUSED = {
11 { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */,
12 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
13 0, 0 /* No PER value map */
15 asn_TYPE_member_t asn_MBR_Interface_ID_1[] = {
16 { ATF_NOFLAGS, 0, offsetof(struct Interface_ID, choice.global_eNB_ID),
17 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
18 -1, /* IMPLICIT tag at current level */
19 &asn_DEF_GlobalENB_ID,
22 0, 0, /* No default value */
25 { ATF_NOFLAGS, 0, offsetof(struct Interface_ID, choice.global_gNB_ID),
26 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
27 -1, /* IMPLICIT tag at current level */
28 &asn_DEF_GlobalGNB_ID,
31 0, 0, /* No default value */
35 static const asn_TYPE_tag2member_t asn_MAP_Interface_ID_tag2el_1[] = {
36 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* global-eNB-ID */
37 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* global-gNB-ID */
39 asn_CHOICE_specifics_t asn_SPC_Interface_ID_specs_1 = {
40 sizeof(struct Interface_ID),
41 offsetof(struct Interface_ID, _asn_ctx),
42 offsetof(struct Interface_ID, present),
43 sizeof(((struct Interface_ID *)0)->present),
44 asn_MAP_Interface_ID_tag2el_1,
45 2, /* Count of tags in the map */
47 2 /* Extensions start */
49 asn_TYPE_descriptor_t asn_DEF_Interface_ID = {
53 0, /* No effective tags (pointer) */
54 0, /* No effective tags (count) */
55 0, /* No tags (pointer) */
56 0, /* No tags (count) */
57 { 0, &asn_PER_type_Interface_ID_constr_1, CHOICE_constraint },
58 asn_MBR_Interface_ID_1,
59 2, /* Elements count */
60 &asn_SPC_Interface_ID_specs_1 /* Additional specs */