Updated documentation for mock a1 tool
[ric-app/admin.git] / asn1c_defs / X2N_RNL-Header.c
1 /*
2  * Generated by asn1c-0.9.29 n1 (http://lionet.info/asn1c)
3  * From ASN.1 module "X2AP-PDU-Contents"
4  *      found in "../../asn_defs/asn1/x2ap-15-04.asn"
5  *      `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-OER`
6  */
7
8 #include "X2N_RNL-Header.h"
9
10 #include "X2N_GlobalENB-ID.h"
11 #include "X2N_ProtocolExtensionContainer.h"
12 static asn_TYPE_member_t asn_MBR_X2N_RNL_Header_1[] = {
13         { ATF_NOFLAGS, 0, offsetof(struct X2N_RNL_Header, source_GlobalENB_ID),
14                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
15                 -1,     /* IMPLICIT tag at current level */
16                 &asn_DEF_X2N_GlobalENB_ID,
17                 0,
18                 { 0, 0, 0 },
19                 0, 0, /* No default value */
20                 "source-GlobalENB-ID"
21                 },
22         { ATF_POINTER, 2, offsetof(struct X2N_RNL_Header, target_GlobalENB_ID),
23                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
24                 -1,     /* IMPLICIT tag at current level */
25                 &asn_DEF_X2N_GlobalENB_ID,
26                 0,
27                 { 0, 0, 0 },
28                 0, 0, /* No default value */
29                 "target-GlobalENB-ID"
30                 },
31         { ATF_POINTER, 1, offsetof(struct X2N_RNL_Header, iE_Extensions),
32                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
33                 -1,     /* IMPLICIT tag at current level */
34                 &asn_DEF_X2N_ProtocolExtensionContainer_8231P16,
35                 0,
36                 { 0, 0, 0 },
37                 0, 0, /* No default value */
38                 "iE-Extensions"
39                 },
40 };
41 static const int asn_MAP_X2N_RNL_Header_oms_1[] = { 1, 2 };
42 static const ber_tlv_tag_t asn_DEF_X2N_RNL_Header_tags_1[] = {
43         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
44 };
45 static const asn_TYPE_tag2member_t asn_MAP_X2N_RNL_Header_tag2el_1[] = {
46     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* source-GlobalENB-ID */
47     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* target-GlobalENB-ID */
48     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* iE-Extensions */
49 };
50 static asn_SEQUENCE_specifics_t asn_SPC_X2N_RNL_Header_specs_1 = {
51         sizeof(struct X2N_RNL_Header),
52         offsetof(struct X2N_RNL_Header, _asn_ctx),
53         asn_MAP_X2N_RNL_Header_tag2el_1,
54         3,      /* Count of tags in the map */
55         asn_MAP_X2N_RNL_Header_oms_1,   /* Optional members */
56         2, 0,   /* Root/Additions */
57         3,      /* First extension addition */
58 };
59 asn_TYPE_descriptor_t asn_DEF_X2N_RNL_Header = {
60         "RNL-Header",
61         "RNL-Header",
62         &asn_OP_SEQUENCE,
63         asn_DEF_X2N_RNL_Header_tags_1,
64         sizeof(asn_DEF_X2N_RNL_Header_tags_1)
65                 /sizeof(asn_DEF_X2N_RNL_Header_tags_1[0]), /* 1 */
66         asn_DEF_X2N_RNL_Header_tags_1,  /* Same as above */
67         sizeof(asn_DEF_X2N_RNL_Header_tags_1)
68                 /sizeof(asn_DEF_X2N_RNL_Header_tags_1[0]), /* 1 */
69         { 0, 0, SEQUENCE_constraint },
70         asn_MBR_X2N_RNL_Header_1,
71         3,      /* Elements count */
72         &asn_SPC_X2N_RNL_Header_specs_1 /* Additional specs */
73 };
74