[Epic-ID: ODUHIGH-475][Task-ID: ODUHIGH-476]F1AP codec update
[o-du/l2.git] / src / codec_utils / F1AP / CP-TransportLayerAddress.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "F1AP-IEs"
4  *      found in "../F1.asn1"
5  *      `asn1c -D ../F1_output/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER`
6  */
7
8 #include "CP-TransportLayerAddress.h"
9
10 #include "Endpoint-IP-address-and-port.h"
11 #include "ProtocolIE-SingleContainer.h"
12 static asn_oer_constraints_t asn_OER_type_CP_TransportLayerAddress_constr_1 CC_NOTUSED = {
13         { 0, 0 },
14         -1};
15 asn_per_constraints_t asn_PER_type_CP_TransportLayerAddress_constr_1 CC_NOTUSED = {
16         { APC_CONSTRAINED,       2,  2,  0,  2 }        /* (0..2) */,
17         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
18         0, 0    /* No PER value map */
19 };
20 asn_TYPE_member_t asn_MBR_CP_TransportLayerAddress_1[] = {
21         { ATF_NOFLAGS, 0, offsetof(struct CP_TransportLayerAddress, choice.endpoint_IP_address),
22                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
23                 -1,     /* IMPLICIT tag at current level */
24                 &asn_DEF_TransportLayerAddress,
25                 0,
26                 { 0, 0, 0 },
27                 0, 0, /* No default value */
28                 "endpoint-IP-address"
29                 },
30         { ATF_POINTER, 0, offsetof(struct CP_TransportLayerAddress, choice.endpoint_IP_address_and_port),
31                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
32                 -1,     /* IMPLICIT tag at current level */
33                 &asn_DEF_Endpoint_IP_address_and_port,
34                 0,
35                 { 0, 0, 0 },
36                 0, 0, /* No default value */
37                 "endpoint-IP-address-and-port"
38                 },
39         { ATF_POINTER, 0, offsetof(struct CP_TransportLayerAddress, choice.choice_extension),
40                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
41                 -1,     /* IMPLICIT tag at current level */
42                 &asn_DEF_ProtocolIE_SingleContainer_4590P61,
43                 0,
44                 { 0, 0, 0 },
45                 0, 0, /* No default value */
46                 "choice-extension"
47                 },
48 };
49 static const asn_TYPE_tag2member_t asn_MAP_CP_TransportLayerAddress_tag2el_1[] = {
50     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* endpoint-IP-address */
51     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* endpoint-IP-address-and-port */
52     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* choice-extension */
53 };
54 asn_CHOICE_specifics_t asn_SPC_CP_TransportLayerAddress_specs_1 = {
55         sizeof(struct CP_TransportLayerAddress),
56         offsetof(struct CP_TransportLayerAddress, _asn_ctx),
57         offsetof(struct CP_TransportLayerAddress, present),
58         sizeof(((struct CP_TransportLayerAddress *)0)->present),
59         asn_MAP_CP_TransportLayerAddress_tag2el_1,
60         3,      /* Count of tags in the map */
61         0, 0,
62         -1      /* Extensions start */
63 };
64 asn_TYPE_descriptor_t asn_DEF_CP_TransportLayerAddress = {
65         "CP-TransportLayerAddress",
66         "CP-TransportLayerAddress",
67         &asn_OP_CHOICE,
68         0,      /* No effective tags (pointer) */
69         0,      /* No effective tags (count) */
70         0,      /* No tags (pointer) */
71         0,      /* No tags (count) */
72         { &asn_OER_type_CP_TransportLayerAddress_constr_1, &asn_PER_type_CP_TransportLayerAddress_constr_1, CHOICE_constraint },
73         asn_MBR_CP_TransportLayerAddress_1,
74         3,      /* Elements count */
75         &asn_SPC_CP_TransportLayerAddress_specs_1       /* Additional specs */
76 };
77