// This C++ header file was generated by the TTCN-3 compiler // of the TTCN-3 Test Executor version 9.0.0 // for (build@3978f7fbee0c) on Mon Jun 24 02:37:33 2024 // Copyright (c) 2000-2023 Ericsson Telecom AB // Do not edit this file unless you know what you are doing. #ifndef GGSN__Tests_HH #define GGSN__Tests_HH #ifdef TITAN_RUNTIME_2 #error Generated code does not match with used runtime.\ Code was generated without -R option but -DTITAN_RUNTIME_2 was used. #endif /* Header file includes */ #include #include "TCCEncoding_Functions.hh" #include "GTPv1C_CodecPort_CtrlFunct.hh" #include "GTPv1U_CodecPort_CtrlFunct.hh" #include "GTPv1C_Templates.hh" #include "GTPv1U_Templates.hh" #include "PAP_Types.hh" #include "ICMP_Templates.hh" #include "ICMPv6_Templates.hh" #include "Osmocom_VTY_Functions.hh" #include "DIAMETER_ts29_212_Templates.hh" #include "DIAMETER_ts29_272_Templates.hh" #include "DIAMETER_ts32_299_Templates.hh" #include "DIAMETER_Emulation.hh" #if TTCN3_VERSION != 90000 #error Version mismatch detected.\ Please check the version of the TTCN-3 compiler and the base library.\ Run make clean and rebuild the project if the version of the compiler changed recently. #endif #ifndef LINUX #error This file should be compiled on LINUX #endif #undef GGSN__Tests_HH #endif namespace GGSN__Tests { /* Forward declarations of classes */ class GGSN__Impl; class GGSN__Impl_template; class GGSN__Conf; class GGSN__Conf_template; class PdpContext; class PdpContext_template; typedef PreGenRecordOf::PREGEN__RECORD__OF__OCTETSTRING TEIClist; typedef PreGenRecordOf::PREGEN__RECORD__OF__OCTETSTRING_template TEIClist_template; } /* end of namespace */ #ifndef GGSN__Tests_HH #define GGSN__Tests_HH namespace GGSN__Tests { /* Type definitions */ typedef COMPONENT GT__CT; typedef COMPONENT_template GT__CT_template; /* Class definitions */ class GGSN__Impl : public Base_Type { // enum friend class GGSN__Impl_template; public: enum enum_type { GGSN__IMPL__OSMOCOM = 0, GGSN__IMPL__OPEN5GS = 1, UNKNOWN_VALUE = 2, UNBOUND_VALUE = 3 }; private: enum_type enum_value; public: GGSN__Impl(); GGSN__Impl(int other_value); GGSN__Impl(enum_type other_value); GGSN__Impl(const GGSN__Impl& other_value); GGSN__Impl& operator=(int other_value); GGSN__Impl& operator=(enum_type other_value); GGSN__Impl& operator=(const GGSN__Impl& other_value); boolean operator==(enum_type other_value) const; boolean operator==(const GGSN__Impl& other_value) const; inline boolean operator!=(enum_type other_value) const { return !(*this == other_value); } inline boolean operator!=(const GGSN__Impl& other_value) const { return !(*this == other_value); } boolean operator<(enum_type other_value) const; boolean operator<(const GGSN__Impl& other_value) const; boolean operator>(enum_type other_value) const; boolean operator>(const GGSN__Impl& other_value) const; inline boolean operator<=(enum_type other_value) const { return !(*this > other_value); } inline boolean operator<=(const GGSN__Impl& other_value) const { return !(*this > other_value); } inline boolean operator>=(enum_type other_value) const { return !(*this < other_value); } inline boolean operator>=(const GGSN__Impl& other_value) const { return !(*this < other_value); } static const char *enum_to_str(enum_type enum_par); static enum_type str_to_enum(const char *str_par); static boolean is_valid_enum(int int_par); static int enum2int(enum_type enum_par); static int enum2int(const GGSN__Impl& enum_par); int as_int() const { return enum2int(enum_value); } void from_int(int p_val) { *this = p_val; } void int2enum(int int_val); operator enum_type() const; inline boolean is_bound() const { return enum_value != UNBOUND_VALUE; } inline boolean is_value() const { return enum_value != UNBOUND_VALUE; } inline void clean_up(){ enum_value = UNBOUND_VALUE; } inline boolean is_present() const { return is_bound(); } void log() const; void set_param(Module_Param& param); void encode_text(Text_Buf& text_buf) const; void decode_text(Text_Buf& text_buf); }; class GGSN__Impl_template : public Base_Template { union { GGSN__Impl::enum_type single_value; struct { unsigned int n_values; GGSN__Impl_template *list_value; } value_list; struct { GGSN__Impl_template* precondition; GGSN__Impl_template* implied_template; } implication_; dynmatch_struct* dyn_match; }; void copy_template(const GGSN__Impl_template& other_value); public: GGSN__Impl_template(); GGSN__Impl_template(template_sel other_value); GGSN__Impl_template(int other_value); GGSN__Impl_template(GGSN__Impl::enum_type other_value); GGSN__Impl_template(const GGSN__Impl& other_value); GGSN__Impl_template(const OPTIONAL& other_value); GGSN__Impl_template(GGSN__Impl_template* p_precondition, GGSN__Impl_template* p_implied_template); GGSN__Impl_template(Dynamic_Match_Interface* p_dyn_match); GGSN__Impl_template(const GGSN__Impl_template& other_value); ~GGSN__Impl_template(); boolean is_bound() const; boolean is_value() const; void clean_up(); GGSN__Impl_template& operator=(template_sel other_value); GGSN__Impl_template& operator=(int other_value); GGSN__Impl_template& operator=(GGSN__Impl::enum_type other_value); GGSN__Impl_template& operator=(const GGSN__Impl& other_value); GGSN__Impl_template& operator=(const OPTIONAL& other_value); GGSN__Impl_template& operator=(const GGSN__Impl_template& other_value); boolean match(GGSN__Impl::enum_type other_value, boolean legacy = FALSE) const; boolean match(const GGSN__Impl& other_value, boolean legacy = FALSE) const; GGSN__Impl::enum_type valueof() const; void set_type(template_sel template_type, unsigned int list_length); GGSN__Impl_template& list_item(unsigned int list_index); void log() const; void log_match(const GGSN__Impl& match_value, boolean legacy = FALSE) const; void encode_text(Text_Buf& text_buf) const; void decode_text(Text_Buf& text_buf); boolean is_present(boolean legacy = FALSE) const; boolean match_omit(boolean legacy = FALSE) const; void set_param(Module_Param& param); void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const; }; class GGSN__Conf : public Base_Type { // enum friend class GGSN__Conf_template; public: enum enum_type { GGSN__CONF__ALL = 0, GGSN__CONF__V4__ONLY = 1, GGSN__CONF__V6__ONLY = 2, GGSN__CONF__V4V6__ONLY = 3, UNKNOWN_VALUE = 4, UNBOUND_VALUE = 5 }; private: enum_type enum_value; public: GGSN__Conf(); GGSN__Conf(int other_value); GGSN__Conf(enum_type other_value); GGSN__Conf(const GGSN__Conf& other_value); GGSN__Conf& operator=(int other_value); GGSN__Conf& operator=(enum_type other_value); GGSN__Conf& operator=(const GGSN__Conf& other_value); boolean operator==(enum_type other_value) const; boolean operator==(const GGSN__Conf& other_value) const; inline boolean operator!=(enum_type other_value) const { return !(*this == other_value); } inline boolean operator!=(const GGSN__Conf& other_value) const { return !(*this == other_value); } boolean operator<(enum_type other_value) const; boolean operator<(const GGSN__Conf& other_value) const; boolean operator>(enum_type other_value) const; boolean operator>(const GGSN__Conf& other_value) const; inline boolean operator<=(enum_type other_value) const { return !(*this > other_value); } inline boolean operator<=(const GGSN__Conf& other_value) const { return !(*this > other_value); } inline boolean operator>=(enum_type other_value) const { return !(*this < other_value); } inline boolean operator>=(const GGSN__Conf& other_value) const { return !(*this < other_value); } static const char *enum_to_str(enum_type enum_par); static enum_type str_to_enum(const char *str_par); static boolean is_valid_enum(int int_par); static int enum2int(enum_type enum_par); static int enum2int(const GGSN__Conf& enum_par); int as_int() const { return enum2int(enum_value); } void from_int(int p_val) { *this = p_val; } void int2enum(int int_val); operator enum_type() const; inline boolean is_bound() const { return enum_value != UNBOUND_VALUE; } inline boolean is_value() const { return enum_value != UNBOUND_VALUE; } inline void clean_up(){ enum_value = UNBOUND_VALUE; } inline boolean is_present() const { return is_bound(); } void log() const; void set_param(Module_Param& param); void encode_text(Text_Buf& text_buf) const; void decode_text(Text_Buf& text_buf); }; class GGSN__Conf_template : public Base_Template { union { GGSN__Conf::enum_type single_value; struct { unsigned int n_values; GGSN__Conf_template *list_value; } value_list; struct { GGSN__Conf_template* precondition; GGSN__Conf_template* implied_template; } implication_; dynmatch_struct* dyn_match; }; void copy_template(const GGSN__Conf_template& other_value); public: GGSN__Conf_template(); GGSN__Conf_template(template_sel other_value); GGSN__Conf_template(int other_value); GGSN__Conf_template(GGSN__Conf::enum_type other_value); GGSN__Conf_template(const GGSN__Conf& other_value); GGSN__Conf_template(const OPTIONAL& other_value); GGSN__Conf_template(GGSN__Conf_template* p_precondition, GGSN__Conf_template* p_implied_template); GGSN__Conf_template(Dynamic_Match_Interface* p_dyn_match); GGSN__Conf_template(const GGSN__Conf_template& other_value); ~GGSN__Conf_template(); boolean is_bound() const; boolean is_value() const; void clean_up(); GGSN__Conf_template& operator=(template_sel other_value); GGSN__Conf_template& operator=(int other_value); GGSN__Conf_template& operator=(GGSN__Conf::enum_type other_value); GGSN__Conf_template& operator=(const GGSN__Conf& other_value); GGSN__Conf_template& operator=(const OPTIONAL& other_value); GGSN__Conf_template& operator=(const GGSN__Conf_template& other_value); boolean match(GGSN__Conf::enum_type other_value, boolean legacy = FALSE) const; boolean match(const GGSN__Conf& other_value, boolean legacy = FALSE) const; GGSN__Conf::enum_type valueof() const; void set_type(template_sel template_type, unsigned int list_length); GGSN__Conf_template& list_item(unsigned int list_index); void log() const; void log_match(const GGSN__Conf& match_value, boolean legacy = FALSE) const; void encode_text(Text_Buf& text_buf) const; void decode_text(Text_Buf& text_buf); boolean is_present(boolean legacy = FALSE) const; boolean match_omit(boolean legacy = FALSE) const; void set_param(Module_Param& param); void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const; }; class PdpContext { HEXSTRING field_imsi; OPTIONAL< OCTETSTRING > field_msisdn; OCTETSTRING field_apn; OPTIONAL< GTPC__Types::ProtConfigOptions > field_pco__req; OPTIONAL< GTPC__Types::ProtConfigOptions > field_pco__neg; GTPC__Types::EndUserAddress field_eua; OPTIONAL< OCTETSTRING > field_ip6__prefix; BITSTRING field_nsapi; OCTETSTRING field_teid; OCTETSTRING field_teic; OCTETSTRING field_teid__remote; OCTETSTRING field_teic__remote; OPTIONAL< OCTETSTRING > field_ratType; OPTIONAL< GTPC__Types::UserLocationInformation > field_uli; OPTIONAL< OCTETSTRING > field_charging__char; OPTIONAL< OCTETSTRING > field_imeisv; OPTIONAL< GTPC__Types::MS__TimeZone > field_ms__tz; public: PdpContext(); PdpContext(const HEXSTRING& par_imsi, const OPTIONAL< OCTETSTRING >& par_msisdn, const OCTETSTRING& par_apn, const OPTIONAL< GTPC__Types::ProtConfigOptions >& par_pco__req, const OPTIONAL< GTPC__Types::ProtConfigOptions >& par_pco__neg, const GTPC__Types::EndUserAddress& par_eua, const OPTIONAL< OCTETSTRING >& par_ip6__prefix, const BITSTRING& par_nsapi, const OCTETSTRING& par_teid, const OCTETSTRING& par_teic, const OCTETSTRING& par_teid__remote, const OCTETSTRING& par_teic__remote, const OPTIONAL< OCTETSTRING >& par_ratType, const OPTIONAL< GTPC__Types::UserLocationInformation >& par_uli, const OPTIONAL< OCTETSTRING >& par_charging__char, const OPTIONAL< OCTETSTRING >& par_imeisv, const OPTIONAL< GTPC__Types::MS__TimeZone >& par_ms__tz); PdpContext(const PdpContext& other_value); inline boolean is_component() { return FALSE; } void clean_up(); const TTCN_Typedescriptor_t* get_descriptor() const; PdpContext& operator=(const PdpContext& other_value); boolean operator==(const PdpContext& other_value) const; inline boolean operator!=(const PdpContext& other_value) const { return !(*this == other_value); } boolean is_bound() const; inline boolean is_present() const { return is_bound(); } boolean is_value() const; inline HEXSTRING& imsi() {return field_imsi;} inline const HEXSTRING& imsi() const {return field_imsi;} inline OPTIONAL< OCTETSTRING >& msisdn() {return field_msisdn;} inline const OPTIONAL< OCTETSTRING >& msisdn() const {return field_msisdn;} inline OCTETSTRING& apn() {return field_apn;} inline const OCTETSTRING& apn() const {return field_apn;} inline OPTIONAL< GTPC__Types::ProtConfigOptions >& pco__req() {return field_pco__req;} inline const OPTIONAL< GTPC__Types::ProtConfigOptions >& pco__req() const {return field_pco__req;} inline OPTIONAL< GTPC__Types::ProtConfigOptions >& pco__neg() {return field_pco__neg;} inline const OPTIONAL< GTPC__Types::ProtConfigOptions >& pco__neg() const {return field_pco__neg;} inline GTPC__Types::EndUserAddress& eua() {return field_eua;} inline const GTPC__Types::EndUserAddress& eua() const {return field_eua;} inline OPTIONAL< OCTETSTRING >& ip6__prefix() {return field_ip6__prefix;} inline const OPTIONAL< OCTETSTRING >& ip6__prefix() const {return field_ip6__prefix;} inline BITSTRING& nsapi() {return field_nsapi;} inline const BITSTRING& nsapi() const {return field_nsapi;} inline OCTETSTRING& teid() {return field_teid;} inline const OCTETSTRING& teid() const {return field_teid;} inline OCTETSTRING& teic() {return field_teic;} inline const OCTETSTRING& teic() const {return field_teic;} inline OCTETSTRING& teid__remote() {return field_teid__remote;} inline const OCTETSTRING& teid__remote() const {return field_teid__remote;} inline OCTETSTRING& teic__remote() {return field_teic__remote;} inline const OCTETSTRING& teic__remote() const {return field_teic__remote;} inline OPTIONAL< OCTETSTRING >& ratType() {return field_ratType;} inline const OPTIONAL< OCTETSTRING >& ratType() const {return field_ratType;} inline OPTIONAL< GTPC__Types::UserLocationInformation >& uli() {return field_uli;} inline const OPTIONAL< GTPC__Types::UserLocationInformation >& uli() const {return field_uli;} inline OPTIONAL< OCTETSTRING >& charging__char() {return field_charging__char;} inline const OPTIONAL< OCTETSTRING >& charging__char() const {return field_charging__char;} inline OPTIONAL< OCTETSTRING >& imeisv() {return field_imeisv;} inline const OPTIONAL< OCTETSTRING >& imeisv() const {return field_imeisv;} inline OPTIONAL< GTPC__Types::MS__TimeZone >& ms__tz() {return field_ms__tz;} inline const OPTIONAL< GTPC__Types::MS__TimeZone >& ms__tz() const {return field_ms__tz;} int size_of() const; void log() const; void set_implicit_omit(); void set_param(Module_Param& param); void encode_text(Text_Buf& text_buf) const; void decode_text(Text_Buf& text_buf); }; class PdpContext_template : public Base_Template { struct single_value_struct; union { single_value_struct *single_value; struct { unsigned int n_values; PdpContext_template *list_value; } value_list; struct { PdpContext_template* precondition; PdpContext_template* implied_template; } implication_; dynmatch_struct* dyn_match; }; void set_specific(); void copy_value(const PdpContext& other_value); void copy_template(const PdpContext_template& other_value); public: PdpContext_template(); PdpContext_template(template_sel other_value); PdpContext_template(const PdpContext& other_value); PdpContext_template(const OPTIONAL& other_value); PdpContext_template(PdpContext_template* p_precondition, PdpContext_template* p_implied_template); PdpContext_template(Dynamic_Match_Interface* p_dyn_match); PdpContext_template(const PdpContext_template& other_value); ~PdpContext_template(); PdpContext_template& operator=(template_sel other_value); PdpContext_template& operator=(const PdpContext& other_value); PdpContext_template& operator=(const OPTIONAL& other_value); PdpContext_template& operator=(const PdpContext_template& other_value); boolean match(const PdpContext& other_value, boolean legacy = FALSE) const; boolean is_bound() const; boolean is_value() const; void clean_up(); PdpContext valueof() const; void set_type(template_sel template_type, unsigned int list_length); PdpContext_template& list_item(unsigned int list_index) const; HEXSTRING_template& imsi(); const HEXSTRING_template& imsi() const; OCTETSTRING_template& msisdn(); const OCTETSTRING_template& msisdn() const; OCTETSTRING_template& apn(); const OCTETSTRING_template& apn() const; GTPC__Types::ProtConfigOptions_template& pco__req(); const GTPC__Types::ProtConfigOptions_template& pco__req() const; GTPC__Types::ProtConfigOptions_template& pco__neg(); const GTPC__Types::ProtConfigOptions_template& pco__neg() const; GTPC__Types::EndUserAddress_template& eua(); const GTPC__Types::EndUserAddress_template& eua() const; OCTETSTRING_template& ip6__prefix(); const OCTETSTRING_template& ip6__prefix() const; BITSTRING_template& nsapi(); const BITSTRING_template& nsapi() const; OCTETSTRING_template& teid(); const OCTETSTRING_template& teid() const; OCTETSTRING_template& teic(); const OCTETSTRING_template& teic() const; OCTETSTRING_template& teid__remote(); const OCTETSTRING_template& teid__remote() const; OCTETSTRING_template& teic__remote(); const OCTETSTRING_template& teic__remote() const; OCTETSTRING_template& ratType(); const OCTETSTRING_template& ratType() const; GTPC__Types::UserLocationInformation_template& uli(); const GTPC__Types::UserLocationInformation_template& uli() const; OCTETSTRING_template& charging__char(); const OCTETSTRING_template& charging__char() const; OCTETSTRING_template& imeisv(); const OCTETSTRING_template& imeisv() const; GTPC__Types::MS__TimeZone_template& ms__tz(); const GTPC__Types::MS__TimeZone_template& ms__tz() const; int size_of() const; void log() const; void log_match(const PdpContext& match_value, boolean legacy = FALSE) const; void encode_text(Text_Buf& text_buf) const; void decode_text(Text_Buf& text_buf); void set_param(Module_Param& param); void check_restriction(template_res t_res, const char* t_name=NULL, boolean legacy = FALSE) const; boolean is_present(boolean legacy = FALSE) const; boolean match_omit(boolean legacy = FALSE) const; }; class pingpong_Default : public Default_Base { public: pingpong_Default(); alt_status call_altstep(); }; class as__DIA__Gx__CCR_Default : public Default_Base { DIAMETER__Types::DCC__NONE__CC__Request__Type par_req__type; public: as__DIA__Gx__CCR_Default(const DIAMETER__Types::DCC__NONE__CC__Request__Type& req__type); alt_status call_altstep(); }; class as__DIA__Gy__CCR_Default : public Default_Base { PdpContext_template par_ctx; DIAMETER__Types::DCC__NONE__CC__Request__Type par_req__type; public: as__DIA__Gy__CCR_Default(const PdpContext_template& ctx, const DIAMETER__Types::DCC__NONE__CC__Request__Type& req__type); alt_status call_altstep(); }; /* Function prototypes */ extern void f__init__vty(); extern void start_f__init__vty(const COMPONENT& component_reference); extern void f__vty__set__gpdu__txseq(const BOOLEAN& enable); extern void start_f__vty__set__gpdu__txseq(const COMPONENT& component_reference, const BOOLEAN& enable); extern BOOLEAN f__verify__gtpu__txseq(const GTPU__Types::PDU__GTPU& gtpu, const BOOLEAN& expect__gptu__txseq); extern void f__vty__enable__echo__interval(const INTEGER& intval__sec); extern void start_f__vty__enable__echo__interval(const COMPONENT& component_reference, const INTEGER& intval__sec); extern DIAMETER__Types::PDU__DIAMETER_template DiameterForwardUnitdataCallback(const DIAMETER__Types::PDU__DIAMETER& msg); extern void start_DiameterForwardUnitdataCallback(const COMPONENT& component_reference, const DIAMETER__Types::PDU__DIAMETER& msg); extern void f__init__diameter(const CHARSTRING& id); extern void start_f__init__diameter(const COMPONENT& component_reference, const CHARSTRING& id); extern void f__init(); extern void start_f__init(const COMPONENT& component_reference); extern void f__shutdown__helper(); extern void start_f__shutdown__helper(const COMPONENT& component_reference); extern alt_status pingpong_instance(); extern void pingpong(); extern Default_Base *activate_pingpong(); extern BITSTRING f__rnd__nsapi(); extern OCTETSTRING f__rnd__tei(); extern OCTETSTRING f__rnd__imeisv(); extern PdpContext_template t__DefinePDP(const HEXSTRING& imsi, const CHARSTRING& msisdn, const OCTETSTRING& apn, const GTPC__Types::EndUserAddress& eua, const OCTETSTRING& ratType); extern void f__send__gtpc(const GTPv1C__CodecPort::Gtp1cUnitdata_template& data); extern void start_f__send__gtpc(const COMPONENT& component_reference, const GTPv1C__CodecPort::Gtp1cUnitdata_template& data); extern void f__send__gtpu(PdpContext& ctx, const OCTETSTRING& data); extern void start_f__send__gtpu(const COMPONENT& component_reference, PdpContext& ctx, const OCTETSTRING& data); extern void f__handle__create__req(PdpContext& ctx, const GTPv1C__CodecPort::Gtp1cUnitdata& ud, const OCTETSTRING_template& exp__cause); extern void start_f__handle__create__req(const COMPONENT& component_reference, PdpContext& ctx, const GTPv1C__CodecPort::Gtp1cUnitdata& ud, const OCTETSTRING_template& exp__cause); extern void f__handle__update__req(PdpContext& ctx, const GTPv1C__CodecPort::Gtp1cUnitdata& ud, const OCTETSTRING& exp__cause); extern void start_f__handle__update__req(const COMPONENT& component_reference, PdpContext& ctx, const GTPv1C__CodecPort::Gtp1cUnitdata& ud, const OCTETSTRING& exp__cause); extern alt_status as__DIA__Gx__CCR_instance(const DIAMETER__Types::DCC__NONE__CC__Request__Type& req__type); extern void as__DIA__Gx__CCR(const DIAMETER__Types::DCC__NONE__CC__Request__Type& req__type); extern Default_Base *activate_as__DIA__Gx__CCR(const DIAMETER__Types::DCC__NONE__CC__Request__Type& req__type); extern DIAMETER__Types::PDU__DIAMETER_template f__tr__DIA__Gy__CCR(const PdpContext_template& ctx, const DIAMETER__Types::DCC__NONE__CC__Request__Type& req__type); extern void start_f__tr__DIA__Gy__CCR(const COMPONENT& component_reference, const PdpContext_template& ctx, const DIAMETER__Types::DCC__NONE__CC__Request__Type& req__type); extern alt_status as__DIA__Gy__CCR_instance(const PdpContext_template& ctx, const DIAMETER__Types::DCC__NONE__CC__Request__Type& req__type); extern void as__DIA__Gy__CCR(const PdpContext_template& ctx, const DIAMETER__Types::DCC__NONE__CC__Request__Type& req__type); extern Default_Base *activate_as__DIA__Gy__CCR(const PdpContext_template& ctx, const DIAMETER__Types::DCC__NONE__CC__Request__Type& req__type); extern GTPC__Types::CreatePDPContextResponse f__pdp__ctx__act(PdpContext& ctx, const OCTETSTRING_template& exp__cause); extern void start_f__pdp__ctx__act(const COMPONENT& component_reference, PdpContext& ctx, const OCTETSTRING_template& exp__cause); extern void f__pdp__ctx__exp__del__req(const PdpContext& ctx, const OCTETSTRING_template& expect__cause, const BOOLEAN& expect__teardown); extern void start_f__pdp__ctx__exp__del__req(const COMPONENT& component_reference, const PdpContext& ctx, const OCTETSTRING_template& expect__cause, const BOOLEAN& expect__teardown); extern void f__pdp__ctx__del(const PdpContext& ctx, const BITSTRING_template& teardown__ind, const OCTETSTRING& expect__causevalue, const BOOLEAN& expect__diameter); extern void start_f__pdp__ctx__del(const COMPONENT& component_reference, const PdpContext& ctx, const BITSTRING_template& teardown__ind, const OCTETSTRING& expect__causevalue, const BOOLEAN& expect__diameter); extern void f__pdp__ctx__update(PdpContext& ctx, const OCTETSTRING& exp__cause, const OCTETSTRING_template& new__teid, const OCTETSTRING_template& new__teic); extern void start_f__pdp__ctx__update(const COMPONENT& component_reference, PdpContext& ctx, const OCTETSTRING& exp__cause, const OCTETSTRING_template& new__teid, const OCTETSTRING_template& new__teic); extern OCTETSTRING f__ctx__get__ipv6__interface__id(const PdpContext& ctx); extern OCTETSTRING f__icmpv6__rs__for__pdp(const PdpContext& ctx); extern OCTETSTRING f__gen__icmpv6__neigh__solicit__for__pdp(const PdpContext& ctx); extern void f__wait__icmp4(const PdpContext& ctx, const ICMP__Types::PDU__ICMP_template& expected); extern void start_f__wait__icmp4(const COMPONENT& component_reference, const PdpContext& ctx, const ICMP__Types::PDU__ICMP_template& expected); extern void f__wait__icmp4__echo__request(const PdpContext& ctx); extern void start_f__wait__icmp4__echo__request(const COMPONENT& component_reference, const PdpContext& ctx); extern void f__wait__icmp4__echo__reply(const PdpContext& ctx); extern void start_f__wait__icmp4__echo__reply(const COMPONENT& component_reference, const PdpContext& ctx); extern void f__wait__icmp6(const PdpContext& ctx, const ICMPv6__Types::PDU__ICMPv6_template& expected); extern void start_f__wait__icmp6(const COMPONENT& component_reference, const PdpContext& ctx, const ICMPv6__Types::PDU__ICMPv6_template& expected); extern void f__wait__rtr__adv(const PdpContext& ctx); extern void start_f__wait__rtr__adv(const COMPONENT& component_reference, const PdpContext& ctx); extern void f__wait__icmp6__echo__request(const PdpContext& ctx); extern void start_f__wait__icmp6__echo__request(const COMPONENT& component_reference, const PdpContext& ctx); extern void f__wait__icmp6__echo__reply(const PdpContext& ctx); extern void start_f__wait__icmp6__echo__reply(const COMPONENT& component_reference, const PdpContext& ctx); extern OCTETSTRING f__icmpv6__rs__for__pdp46(const PdpContext& ctx); extern OCTETSTRING f__gen__icmpv6__neigh__solicit__for__pdp46(const PdpContext& ctx); extern void f__wait__gtpu__fail(const PdpContext& ); extern void start_f__wait__gtpu__fail(const COMPONENT& component_reference, const PdpContext& ctx); extern BOOLEAN f__PCO__permits__duplicates(const OCTETSTRING& id); extern void f__PCO__ensure__no__duplicates(const GTPC__Types::ProtConfigOptions& pco); extern verdicttype testcase_TC__pdp6__act__deact(boolean has_timer, double timer_value); extern verdicttype testcase_TC__pdp6__act__deact__pcodns(boolean has_timer, double timer_value); extern verdicttype testcase_TC__pdp6__act__deact__icmp6(boolean has_timer, double timer_value); extern verdicttype testcase_TC__pdp6__act__deact__gtpu__access(boolean has_timer, double timer_value); extern verdicttype testcase_TC__pdp6__act__deact__gtpu__access__wrong__ll__saddr(boolean has_timer, double timer_value); extern verdicttype testcase_TC__pdp6__act__deact__gtpu__access__wrong__global__saddr(boolean has_timer, double timer_value); extern verdicttype testcase_TC__pdp6__act__deact__gtpu__access__ipv4__apn6(boolean has_timer, double timer_value); extern verdicttype testcase_TC__pdp6__clients__interact(boolean has_timer, double timer_value); extern verdicttype testcase_TC__pdp4__act__deact(boolean has_timer, double timer_value); extern verdicttype testcase_TC__pdp4__act__deact__ipcp(boolean has_timer, double timer_value); extern verdicttype testcase_TC__pdp4__act__deact__ipcp__pap__broken(boolean has_timer, double timer_value); extern verdicttype testcase_TC__pdp4__act__deact__pcodns(boolean has_timer, double timer_value); extern verdicttype testcase_TC__pdp4__act__deact__gtpu__access(boolean has_timer, double timer_value); extern verdicttype testcase_TC__pdp4__act__deact__gtpu__access__wrong__saddr(boolean has_timer, double timer_value); extern verdicttype testcase_TC__pdp4__act__deact__gtpu__access__ipv6__apn4(boolean has_timer, double timer_value); extern void f__pdp4__clients__interact(); extern void start_f__pdp4__clients__interact(const COMPONENT& component_reference); extern verdicttype testcase_TC__pdp4__clients__interact__with__txseq(boolean has_timer, double timer_value); extern verdicttype testcase_TC__pdp4__clients__interact__without__txseq(boolean has_timer, double timer_value); extern verdicttype testcase_TC__echo__req__resp(boolean has_timer, double timer_value); extern verdicttype testcase_TC__echo__req__resp__gtpu(boolean has_timer, double timer_value); extern verdicttype testcase_TC__pdp4__act__deact__with__single__dns(boolean has_timer, double timer_value); extern verdicttype testcase_TC__pdp4__act__deact__with__separate__dns(boolean has_timer, double timer_value); extern verdicttype testcase_TC__pdp4__act__update__teic(boolean has_timer, double timer_value); extern verdicttype testcase_TC__pdp4__act__update__teid(boolean has_timer, double timer_value); extern verdicttype testcase_TC__pdp46__act__deact(boolean has_timer, double timer_value); extern verdicttype testcase_TC__pdp46__act__deact__ipcp(boolean has_timer, double timer_value); extern verdicttype testcase_TC__pdp46__act__deact__icmp6(boolean has_timer, double timer_value); extern verdicttype testcase_TC__pdp46__act__deact__pcodns4(boolean has_timer, double timer_value); extern verdicttype testcase_TC__pdp46__act__deact__pcodns6(boolean has_timer, double timer_value); extern verdicttype testcase_TC__pdp46__act__deact__gtpu__access(boolean has_timer, double timer_value); extern verdicttype testcase_TC__pdp46__act__deact__gtpu__access__wrong__saddr__ipv4(boolean has_timer, double timer_value); extern verdicttype testcase_TC__pdp46__act__deact__gtpu__access__wrong__ll__saddr__ipv6(boolean has_timer, double timer_value); extern verdicttype testcase_TC__pdp46__act__deact__gtpu__access__wrong__global__saddr__ipv6(boolean has_timer, double timer_value); extern verdicttype testcase_TC__pdp46__clients__interact(boolean has_timer, double timer_value); extern verdicttype testcase_TC__pdp46__act__deact__apn4(boolean has_timer, double timer_value); extern verdicttype testcase_TC__pdp__act2__recovery(boolean has_timer, double timer_value); extern verdicttype testcase_TC__act__deact__retrans__duplicate(boolean has_timer, double timer_value); extern verdicttype testcase_TC__pdp__act__restart__ctr__echo(boolean has_timer, double timer_value); extern verdicttype testcase_TC__lots__of__concurrent__pdp__ctx(boolean has_timer, double timer_value); extern verdicttype testcase_TC__addr__pool__exhaustion(boolean has_timer, double timer_value); extern verdicttype testcase_TC__gy__charging__cc__time(boolean has_timer, double timer_value); extern verdicttype testcase_TC__gy__charging__volume__quota__threshold(boolean has_timer, double timer_value); extern void pre_init_module(); extern void post_init_module(); extern boolean set_module_param(Module_Param& param); extern void log_module_param(); extern boolean init_comp_type(const char *component_type, boolean init_base_comps); extern boolean init_system_port(const char* component_type, const char* port_name); extern boolean start_ptc_function(const char *function_name, Text_Buf& function_arguments); extern void module_control_part(); /* Global variable declarations */ extern const INTEGER& GTP0__PORT; extern INTEGER const_GTP0__PORT; extern const INTEGER& GTP1C__PORT; extern INTEGER const_GTP1C__PORT; extern const INTEGER& GTP1U__PORT; extern INTEGER const_GTP1U__PORT; extern const INTEGER& PCRF__PORT; extern INTEGER const_PCRF__PORT; extern const INTEGER& OCS__PORT; extern INTEGER const_OCS__PORT; extern const TTCN_Typedescriptor_t GGSN__Impl_descr_; extern const TTCN_Typedescriptor_t GGSN__Conf_descr_; extern const CHARSTRING& m__bind__ip__gtpc; extern CHARSTRING modulepar_m__bind__ip__gtpc; extern const CHARSTRING& m__bind__ip__gtpu; extern CHARSTRING modulepar_m__bind__ip__gtpu; extern const CHARSTRING& m__ggsn__ip__gtpc; extern CHARSTRING modulepar_m__ggsn__ip__gtpc; extern const CHARSTRING& m__ggsn__ip__gtpu; extern CHARSTRING modulepar_m__ggsn__ip__gtpu; extern const CHARSTRING& m__ggsn__ip4__dns1; extern CHARSTRING modulepar_m__ggsn__ip4__dns1; extern const CHARSTRING& m__ggsn__ip4__dns2; extern CHARSTRING modulepar_m__ggsn__ip4__dns2; extern const CHARSTRING& m__ggsn__ip6__dns1; extern CHARSTRING modulepar_m__ggsn__ip6__dns1; extern const CHARSTRING& m__ggsn__ip6__dns2; extern CHARSTRING modulepar_m__ggsn__ip6__dns2; extern const INTEGER& mp__t3__response; extern INTEGER modulepar_mp__t3__response; extern const INTEGER& mp__n3__requests; extern INTEGER modulepar_mp__n3__requests; extern const GGSN__Impl& m__ggsn__impl; extern GGSN__Impl modulepar_m__ggsn__impl; extern const GGSN__Conf& m__ggsn__conf; extern GGSN__Conf modulepar_m__ggsn__conf; extern const XERdescriptor_t PdpContext_imsi_xer_; extern const TTCN_Typedescriptor_t PdpContext_imsi_descr_; extern const XERdescriptor_t PdpContext_apn_xer_; extern const TTCN_OERdescriptor_t PdpContext_apn_oer_; extern const TTCN_Typedescriptor_t PdpContext_apn_descr_; extern UNIVERSAL_CHARSTRING PdpContext_eua_default_coding; extern const XERdescriptor_t PdpContext_nsapi_xer_; extern const TTCN_OERdescriptor_t PdpContext_nsapi_oer_; extern const TTCN_Typedescriptor_t PdpContext_nsapi_descr_; extern UNIVERSAL_CHARSTRING PdpContext_nsapi_default_coding; extern const XERdescriptor_t PdpContext_teid_xer_; extern const TTCN_OERdescriptor_t PdpContext_teid_oer_; extern const TTCN_Typedescriptor_t PdpContext_teid_descr_; extern UNIVERSAL_CHARSTRING PdpContext_teid_default_coding; extern const XERdescriptor_t PdpContext_teic_xer_; extern const TTCN_OERdescriptor_t PdpContext_teic_oer_; extern const TTCN_Typedescriptor_t PdpContext_teic_descr_; extern UNIVERSAL_CHARSTRING PdpContext_teic_default_coding; extern const XERdescriptor_t PdpContext_teid__remote_xer_; extern const TTCN_OERdescriptor_t PdpContext_teid__remote_oer_; extern const TTCN_Typedescriptor_t PdpContext_teid__remote_descr_; extern UNIVERSAL_CHARSTRING PdpContext_teid__remote_default_coding; extern const XERdescriptor_t PdpContext_teic__remote_xer_; extern const TTCN_OERdescriptor_t PdpContext_teic__remote_oer_; extern const TTCN_Typedescriptor_t PdpContext_teic__remote_descr_; extern UNIVERSAL_CHARSTRING PdpContext_teic__remote_default_coding; extern const TTCN_Typedescriptor_t PdpContext_descr_; extern const XERdescriptor_t PdpContext_msisdn_xer_; extern const TTCN_OERdescriptor_t PdpContext_msisdn_oer_; extern const TTCN_Typedescriptor_t PdpContext_msisdn_descr_; extern UNIVERSAL_CHARSTRING PdpContext_pco__req_default_coding; extern UNIVERSAL_CHARSTRING PdpContext_pco__neg_default_coding; extern const XERdescriptor_t PdpContext_ip6__prefix_xer_; extern const TTCN_OERdescriptor_t PdpContext_ip6__prefix_oer_; extern const TTCN_Typedescriptor_t PdpContext_ip6__prefix_descr_; extern UNIVERSAL_CHARSTRING PdpContext_ip6__prefix_default_coding; extern const XERdescriptor_t PdpContext_ratType_xer_; extern const TTCN_OERdescriptor_t PdpContext_ratType_oer_; extern const TTCN_Typedescriptor_t PdpContext_ratType_descr_; extern UNIVERSAL_CHARSTRING PdpContext_ratType_default_coding; extern UNIVERSAL_CHARSTRING PdpContext_uli_default_coding; extern const XERdescriptor_t PdpContext_charging__char_xer_; extern const TTCN_OERdescriptor_t PdpContext_charging__char_oer_; extern const TTCN_Typedescriptor_t PdpContext_charging__char_descr_; extern UNIVERSAL_CHARSTRING PdpContext_charging__char_default_coding; extern const XERdescriptor_t PdpContext_imeisv_xer_; extern const TTCN_OERdescriptor_t PdpContext_imeisv_oer_; extern const TTCN_Typedescriptor_t PdpContext_imeisv_descr_; extern UNIVERSAL_CHARSTRING PdpContext_imeisv_default_coding; extern UNIVERSAL_CHARSTRING PdpContext_ms__tz_default_coding; extern const TTCN_Typedescriptor_t& GT__CT_descr_; extern GTPv1C__CodecPort::GTPC__PT GT__CT_component_GTPC; extern GTPv1U__CodecPort::GTPU__PT GT__CT_component_GTPU; extern BOOLEAN GT__CT_component_g__initialized; extern OCTETSTRING GT__CT_component_g__restart__ctr; extern OCTETSTRING GT__CT_component_g__sgsn__ip__c; extern OCTETSTRING GT__CT_component_g__sgsn__ip__u; extern GTPv1C__CodecPort::Gtp1cPeer GT__CT_component_g__peer__c; extern GTPv1U__CodecPort::Gtp1uPeer GT__CT_component_g__peer__u; extern TIMER GT__CT_component_T__default; extern INTEGER GT__CT_component_g__c__seq__nr; extern INTEGER GT__CT_component_g__d__seq__nr; extern TELNETasp__PortType::TELNETasp__PT GT__CT_component_GGSNVTY; extern BOOLEAN GT__CT_component_use__gtpu__txseq; extern INTEGER GT__CT_component_g__use__echo__intval; extern DIAMETER__Emulation::DIAMETER__conn__parameters GT__CT_component_g__gx__pars; extern COMPONENT GT__CT_component_vc__Gx; extern DIAMETER__Emulation::DIAMETER__PT GT__CT_component_Gx__UNIT; extern DIAMETER__Emulation::DIAMETEREM__PROC__PT GT__CT_component_Gx__PROC; extern DIAMETER__Emulation::DIAMETER__conn__parameters GT__CT_component_g__gy__pars; extern COMPONENT GT__CT_component_vc__Gy; extern DIAMETER__Emulation::DIAMETER__PT GT__CT_component_Gy__UNIT; extern DIAMETER__Emulation::DIAMETEREM__PROC__PT GT__CT_component_Gy__PROC; extern INTEGER GT__CT_component_g__gy__validity__time; extern INTEGER GT__CT_component_g__gy__volume__quota; extern INTEGER GT__CT_component_g__gy__volume__threshold; extern DIAMETER__Types::PDU__DIAMETER GT__CT_component_g__rx__gy; extern const OCTETSTRING& c__ApnInternet; extern OCTETSTRING const_c__ApnInternet; extern const OCTETSTRING& c__ApnInet6; extern OCTETSTRING const_c__ApnInet6; extern const OCTETSTRING& c__ApnInet46; extern OCTETSTRING const_c__ApnInet46; extern const OCTETSTRING& t__DefinePDP_ratType_defval; extern OCTETSTRING const_t__DefinePDP_ratType_defval; extern const OCTETSTRING_template& f__handle__create__req_exp__cause_defval; extern OCTETSTRING_template template_f__handle__create__req_exp__cause_defval; extern const OCTETSTRING& f__handle__update__req_exp__cause_defval; extern OCTETSTRING const_f__handle__update__req_exp__cause_defval; extern const OCTETSTRING_template& f__pdp__ctx__act_exp__cause_defval; extern OCTETSTRING_template template_f__pdp__ctx__act_exp__cause_defval; extern const OCTETSTRING_template& f__pdp__ctx__exp__del__req_expect__cause_defval; extern OCTETSTRING_template template_f__pdp__ctx__exp__del__req_expect__cause_defval; extern const BOOLEAN& f__pdp__ctx__exp__del__req_expect__teardown_defval; extern BOOLEAN const_f__pdp__ctx__exp__del__req_expect__teardown_defval; extern const OCTETSTRING& f__pdp__ctx__del_expect__causevalue_defval; extern OCTETSTRING const_f__pdp__ctx__del_expect__causevalue_defval; extern const BOOLEAN& f__pdp__ctx__del_expect__diameter_defval; extern BOOLEAN const_f__pdp__ctx__del_expect__diameter_defval; extern const OCTETSTRING& f__pdp__ctx__update_exp__cause_defval; extern OCTETSTRING const_f__pdp__ctx__update_exp__cause_defval; extern const OCTETSTRING_template& f__pdp__ctx__update_new__teid_defval; extern OCTETSTRING_template template_f__pdp__ctx__update_new__teid_defval; extern const OCTETSTRING_template& f__pdp__ctx__update_new__teic_defval; extern OCTETSTRING_template template_f__pdp__ctx__update_new__teic_defval; extern const General__Types::OCT2List& protocol__ids__nodupes; extern General__Types::OCT2List const_protocol__ids__nodupes; extern const TTCN_Typedescriptor_t TEIClist_descr_; extern const XERdescriptor_t TEIClist_0_xer_; extern const TTCN_OERdescriptor_t TEIClist_0_oer_; extern const TTCN_Typedescriptor_t TEIClist_0_descr_; extern UNIVERSAL_CHARSTRING TEIClist_0_default_coding; extern const BITSTRING bs_1, bs_4, bs_2, bs_0, bs_3; extern const HEXSTRING hs_0, hs_2, hs_1; extern const OCTETSTRING os_6, os_9, os_16, os_14, os_7, os_8, os_21, os_22, os_0, os_11, os_23, os_24, os_10, os_2, os_3, os_1, os_4, os_12, os_20, os_13, os_5, os_15, os_17, os_18, os_19, os_25; extern const CHARSTRING cs_20, cs_41, cs_1, cs_0, cs_42, cs_2, cs_5, cs_4, cs_3, cs_28, cs_29, cs_36, cs_24, cs_37, cs_38, cs_39, cs_30, cs_25, cs_27, cs_26, cs_21, cs_22, cs_31, cs_32, cs_46, cs_47, cs_45, cs_48, cs_44, cs_40, cs_33, cs_13, cs_12, cs_8, cs_15, cs_6, cs_14, cs_11, cs_43, cs_9, cs_7, cs_18, cs_16, cs_10, cs_19, cs_35, cs_17, cs_23, cs_34; extern const unsigned char module_checksum[]; extern TTCN_Module module_object; extern const RuntimeVersionChecker ver_checker; } /* end of namespace */ #endif