blob: 854feade1b9c37ac909a133fcaca38d8f62415cb [file] [log] [blame]
Juha Hyttinenff8dccd2019-12-10 14:34:07 +02001/*
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`
6 */
7
8#include "Interface-ID.h"
9
10asn_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 */
14};
15asn_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,
20 0,
21 { 0, 0, 0 },
22 0, 0, /* No default value */
23 "global-eNB-ID"
24 },
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,
29 0,
30 { 0, 0, 0 },
31 0, 0, /* No default value */
32 "global-gNB-ID"
33 },
34};
35static 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 */
38};
39asn_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 */
46 0, 0,
47 2 /* Extensions start */
48};
49asn_TYPE_descriptor_t asn_DEF_Interface_ID = {
50 "Interface-ID",
51 "Interface-ID",
52 &asn_OP_CHOICE,
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 */
61};
62