/*
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 * From ASN.1 module "X2AP-IEs"
 * 	found in "Spec/e2ap-v031ex.asn"
 * 	`asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER`
 */

#ifndef	_GTPtunnelEndpoint_H_
#define	_GTPtunnelEndpoint_H_


#include <asn_application.h>

/* Including external dependencies */
#include "TransportLayerAddress.h"
#include "GTP-TEI.h"
#include <constr_SEQUENCE.h>

#ifdef __cplusplus
extern "C" {
#endif

/* Forward declarations */
struct ProtocolExtensionContainer;

/* GTPtunnelEndpoint */
typedef struct GTPtunnelEndpoint {
	TransportLayerAddress_t	 transportLayerAddress;
	GTP_TEI_t	 gTP_TEID;
	struct ProtocolExtensionContainer	*iE_Extensions;	/* OPTIONAL */
	/*
	 * This type is extensible,
	 * possible extensions are below.
	 */
	
	/* Context for parsing across buffer boundaries */
	asn_struct_ctx_t _asn_ctx;
} GTPtunnelEndpoint_t;

/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_GTPtunnelEndpoint;
extern asn_SEQUENCE_specifics_t asn_SPC_GTPtunnelEndpoint_specs_1;
extern asn_TYPE_member_t asn_MBR_GTPtunnelEndpoint_1[3];

#ifdef __cplusplus
}
#endif

#endif	/* _GTPtunnelEndpoint_H_ */
#include <asn_internal.h>
