X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=asn1c_defs%2FE2N_E2SM-gNB-X2-indicationHeader.c;fp=asn1c_defs%2FE2N_E2SM-gNB-X2-indicationHeader.c;h=b0bd8842d067e803bf18a9974f49d3b315938267;hb=dc68642f5676cdd49f3ef92f983b319e21f16afa;hp=0000000000000000000000000000000000000000;hpb=0054ece5d9d4bcb28ecda2f0f36584f6a64fc869;p=ric-app%2Fadmin.git diff --git a/asn1c_defs/E2N_E2SM-gNB-X2-indicationHeader.c b/asn1c_defs/E2N_E2SM-gNB-X2-indicationHeader.c new file mode 100644 index 0000000..b0bd884 --- /dev/null +++ b/asn1c_defs/E2N_E2SM-gNB-X2-indicationHeader.c @@ -0,0 +1,72 @@ +/* + * Generated by asn1c-0.9.29 n1 (http://lionet.info/asn1c) + * From ASN.1 module "E2SM-gNB-X2-IEs" + * found in "../../asn_defs/asn1/e2sm-gNB-X2-release-1-v041.asn.txt" + * `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-OER` + */ + +#include "E2N_E2SM-gNB-X2-indicationHeader.h" + +static asn_TYPE_member_t asn_MBR_E2N_E2SM_gNB_X2_indicationHeader_1[] = { + { ATF_NOFLAGS, 0, offsetof(struct E2N_E2SM_gNB_X2_indicationHeader, interface_ID), + (ASN_TAG_CLASS_CONTEXT | (0 << 2)), + +1, /* EXPLICIT tag at current level */ + &asn_DEF_E2N_Interface_ID, + 0, + { 0, 0, 0 }, + 0, 0, /* No default value */ + "interface-ID" + }, + { ATF_NOFLAGS, 0, offsetof(struct E2N_E2SM_gNB_X2_indicationHeader, interfaceDirection), + (ASN_TAG_CLASS_CONTEXT | (1 << 2)), + -1, /* IMPLICIT tag at current level */ + &asn_DEF_E2N_InterfaceDirection, + 0, + { 0, 0, 0 }, + 0, 0, /* No default value */ + "interfaceDirection" + }, + { ATF_POINTER, 1, offsetof(struct E2N_E2SM_gNB_X2_indicationHeader, timestamp), + (ASN_TAG_CLASS_CONTEXT | (2 << 2)), + -1, /* IMPLICIT tag at current level */ + &asn_DEF_E2N_TimeStamp, + 0, + { 0, 0, 0 }, + 0, 0, /* No default value */ + "timestamp" + }, +}; +static const int asn_MAP_E2N_E2SM_gNB_X2_indicationHeader_oms_1[] = { 2 }; +static const ber_tlv_tag_t asn_DEF_E2N_E2SM_gNB_X2_indicationHeader_tags_1[] = { + (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) +}; +static const asn_TYPE_tag2member_t asn_MAP_E2N_E2SM_gNB_X2_indicationHeader_tag2el_1[] = { + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* interface-ID */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* interfaceDirection */ + { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* timestamp */ +}; +static asn_SEQUENCE_specifics_t asn_SPC_E2N_E2SM_gNB_X2_indicationHeader_specs_1 = { + sizeof(struct E2N_E2SM_gNB_X2_indicationHeader), + offsetof(struct E2N_E2SM_gNB_X2_indicationHeader, _asn_ctx), + asn_MAP_E2N_E2SM_gNB_X2_indicationHeader_tag2el_1, + 3, /* Count of tags in the map */ + asn_MAP_E2N_E2SM_gNB_X2_indicationHeader_oms_1, /* Optional members */ + 1, 0, /* Root/Additions */ + 3, /* First extension addition */ +}; +asn_TYPE_descriptor_t asn_DEF_E2N_E2SM_gNB_X2_indicationHeader = { + "E2SM-gNB-X2-indicationHeader", + "E2SM-gNB-X2-indicationHeader", + &asn_OP_SEQUENCE, + asn_DEF_E2N_E2SM_gNB_X2_indicationHeader_tags_1, + sizeof(asn_DEF_E2N_E2SM_gNB_X2_indicationHeader_tags_1) + /sizeof(asn_DEF_E2N_E2SM_gNB_X2_indicationHeader_tags_1[0]), /* 1 */ + asn_DEF_E2N_E2SM_gNB_X2_indicationHeader_tags_1, /* Same as above */ + sizeof(asn_DEF_E2N_E2SM_gNB_X2_indicationHeader_tags_1) + /sizeof(asn_DEF_E2N_E2SM_gNB_X2_indicationHeader_tags_1[0]), /* 1 */ + { 0, 0, SEQUENCE_constraint }, + asn_MBR_E2N_E2SM_gNB_X2_indicationHeader_1, + 3, /* Elements count */ + &asn_SPC_E2N_E2SM_gNB_X2_indicationHeader_specs_1 /* Additional specs */ +}; +