8d8eeb398ca1abe1249c3e8ebf4d9fb47205f324
[ric-plt/submgr.git] / e2ap / lib / GTPtunnelEndpoint.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "X2AP-IEs"
4  *      found in "Spec/e2ap-v031ex.asn"
5  *      `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER`
6  */
7
8 #include "GTPtunnelEndpoint.h"
9
10 #include "ProtocolExtensionContainer.h"
11 asn_TYPE_member_t asn_MBR_GTPtunnelEndpoint_1[] = {
12         { ATF_NOFLAGS, 0, offsetof(struct GTPtunnelEndpoint, transportLayerAddress),
13                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
14                 -1,     /* IMPLICIT tag at current level */
15                 &asn_DEF_TransportLayerAddress,
16                 0,
17                 { 0, 0, 0 },
18                 0, 0, /* No default value */
19                 "transportLayerAddress"
20                 },
21         { ATF_NOFLAGS, 0, offsetof(struct GTPtunnelEndpoint, gTP_TEID),
22                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
23                 -1,     /* IMPLICIT tag at current level */
24                 &asn_DEF_GTP_TEI,
25                 0,
26                 { 0, 0, 0 },
27                 0, 0, /* No default value */
28                 "gTP-TEID"
29                 },
30         { ATF_POINTER, 1, offsetof(struct GTPtunnelEndpoint, iE_Extensions),
31                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
32                 -1,     /* IMPLICIT tag at current level */
33                 &asn_DEF_ProtocolExtensionContainer_9566P152,
34                 0,
35                 { 0, 0, 0 },
36                 0, 0, /* No default value */
37                 "iE-Extensions"
38                 },
39 };
40 static const int asn_MAP_GTPtunnelEndpoint_oms_1[] = { 2 };
41 static const ber_tlv_tag_t asn_DEF_GTPtunnelEndpoint_tags_1[] = {
42         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
43 };
44 static const asn_TYPE_tag2member_t asn_MAP_GTPtunnelEndpoint_tag2el_1[] = {
45     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* transportLayerAddress */
46     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gTP-TEID */
47     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* iE-Extensions */
48 };
49 asn_SEQUENCE_specifics_t asn_SPC_GTPtunnelEndpoint_specs_1 = {
50         sizeof(struct GTPtunnelEndpoint),
51         offsetof(struct GTPtunnelEndpoint, _asn_ctx),
52         asn_MAP_GTPtunnelEndpoint_tag2el_1,
53         3,      /* Count of tags in the map */
54         asn_MAP_GTPtunnelEndpoint_oms_1,        /* Optional members */
55         1, 0,   /* Root/Additions */
56         3,      /* First extension addition */
57 };
58 asn_TYPE_descriptor_t asn_DEF_GTPtunnelEndpoint = {
59         "GTPtunnelEndpoint",
60         "GTPtunnelEndpoint",
61         &asn_OP_SEQUENCE,
62         asn_DEF_GTPtunnelEndpoint_tags_1,
63         sizeof(asn_DEF_GTPtunnelEndpoint_tags_1)
64                 /sizeof(asn_DEF_GTPtunnelEndpoint_tags_1[0]), /* 1 */
65         asn_DEF_GTPtunnelEndpoint_tags_1,       /* Same as above */
66         sizeof(asn_DEF_GTPtunnelEndpoint_tags_1)
67                 /sizeof(asn_DEF_GTPtunnelEndpoint_tags_1[0]), /* 1 */
68         { 0, 0, SEQUENCE_constraint },
69         asn_MBR_GTPtunnelEndpoint_1,
70         3,      /* Elements count */
71         &asn_SPC_GTPtunnelEndpoint_specs_1      /* Additional specs */
72 };
73