// This C++ header file was generated by the TTCN-3 compiler // of the TTCN-3 Test Executor version 9.0.0 // for (build@df34402ede0d) on Tue Jun 25 17:59:45 2024 // Copyright (c) 2000-2023 Ericsson Telecom AB // Do not edit this file unless you know what you are doing. #ifndef UPF__Tests_HH #define UPF__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 "Osmocom_CTRL_Adapter.hh" #include "CPF_ConnectionHandler.hh" #include "PFCP_Templates.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 UPF__Tests_HH #endif namespace UPF__Tests { /* Forward declarations of classes */ class GTP__Action__tun; class GTP__Action__tun_template; class GTP__Action__core; class GTP__Action__core_template; class GTP__Action__tunend; class GTP__Action__tunend_template; class GTP__Action; class GTP__Action_template; class PFCP__session; class PFCP__session_template; class GTP__Action__List; class GTP__Action__List_template; class PFCP__Session__Status; class PFCP__Session__Status_template; class PFCP__Session__Status__List; class PFCP__Session__Status__List_template; class void__fn; class void__fn_template; class PFCP__Ruleset; class PFCP__Ruleset_template; } /* end of namespace */ #ifndef UPF__Tests_HH #define UPF__Tests_HH namespace UPF__Tests { /* Type definitions */ typedef COMPONENT test__CT; typedef COMPONENT_template test__CT_template; /* Class definitions */ class GTP__Action__tun { INTEGER field_pdr__id; CHARSTRING field_gtp__ip__l; OCTETSTRING field_teid__l; INTEGER field_far__id; CHARSTRING field_gtp__ip__r; OCTETSTRING field_teid__r; public: GTP__Action__tun(); GTP__Action__tun(const INTEGER& par_pdr__id, const CHARSTRING& par_gtp__ip__l, const OCTETSTRING& par_teid__l, const INTEGER& par_far__id, const CHARSTRING& par_gtp__ip__r, const OCTETSTRING& par_teid__r); GTP__Action__tun(const GTP__Action__tun& other_value); inline boolean is_component() { return FALSE; } void clean_up(); const TTCN_Typedescriptor_t* get_descriptor() const; GTP__Action__tun& operator=(const GTP__Action__tun& other_value); boolean operator==(const GTP__Action__tun& other_value) const; inline boolean operator!=(const GTP__Action__tun& other_value) const { return !(*this == other_value); } boolean is_bound() const; inline boolean is_present() const { return is_bound(); } boolean is_value() const; inline INTEGER& pdr__id() {return field_pdr__id;} inline const INTEGER& pdr__id() const {return field_pdr__id;} inline CHARSTRING& gtp__ip__l() {return field_gtp__ip__l;} inline const CHARSTRING& gtp__ip__l() const {return field_gtp__ip__l;} inline OCTETSTRING& teid__l() {return field_teid__l;} inline const OCTETSTRING& teid__l() const {return field_teid__l;} inline INTEGER& far__id() {return field_far__id;} inline const INTEGER& far__id() const {return field_far__id;} inline CHARSTRING& gtp__ip__r() {return field_gtp__ip__r;} inline const CHARSTRING& gtp__ip__r() const {return field_gtp__ip__r;} inline OCTETSTRING& teid__r() {return field_teid__r;} inline const OCTETSTRING& teid__r() const {return field_teid__r;} inline int size_of() const {return 6;} 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 GTP__Action__tun_template : public Base_Template { struct single_value_struct; union { single_value_struct *single_value; struct { unsigned int n_values; GTP__Action__tun_template *list_value; } value_list; struct { GTP__Action__tun_template* precondition; GTP__Action__tun_template* implied_template; } implication_; dynmatch_struct* dyn_match; }; void set_specific(); void copy_value(const GTP__Action__tun& other_value); void copy_template(const GTP__Action__tun_template& other_value); public: GTP__Action__tun_template(); GTP__Action__tun_template(template_sel other_value); GTP__Action__tun_template(const GTP__Action__tun& other_value); GTP__Action__tun_template(const OPTIONAL& other_value); GTP__Action__tun_template(GTP__Action__tun_template* p_precondition, GTP__Action__tun_template* p_implied_template); GTP__Action__tun_template(Dynamic_Match_Interface* p_dyn_match); GTP__Action__tun_template(const GTP__Action__tun_template& other_value); ~GTP__Action__tun_template(); GTP__Action__tun_template& operator=(template_sel other_value); GTP__Action__tun_template& operator=(const GTP__Action__tun& other_value); GTP__Action__tun_template& operator=(const OPTIONAL& other_value); GTP__Action__tun_template& operator=(const GTP__Action__tun_template& other_value); boolean match(const GTP__Action__tun& other_value, boolean legacy = FALSE) const; boolean is_bound() const; boolean is_value() const; void clean_up(); GTP__Action__tun valueof() const; void set_type(template_sel template_type, unsigned int list_length); GTP__Action__tun_template& list_item(unsigned int list_index) const; INTEGER_template& pdr__id(); const INTEGER_template& pdr__id() const; CHARSTRING_template& gtp__ip__l(); const CHARSTRING_template& gtp__ip__l() const; OCTETSTRING_template& teid__l(); const OCTETSTRING_template& teid__l() const; INTEGER_template& far__id(); const INTEGER_template& far__id() const; CHARSTRING_template& gtp__ip__r(); const CHARSTRING_template& gtp__ip__r() const; OCTETSTRING_template& teid__r(); const OCTETSTRING_template& teid__r() const; int size_of() const; void log() const; void log_match(const GTP__Action__tun& 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 GTP__Action__core : public Base_Type { public: enum union_selection_type { UNBOUND_VALUE = 0, ALT_tunend = 1, ALT_tunmap = 2 }; private: union_selection_type union_selection; union { GTP__Action__tunend *field_tunend; GTP__Action__tun *field_tunmap; }; void copy_value(const GTP__Action__core& other_value); public: GTP__Action__core(); GTP__Action__core(const GTP__Action__core& other_value); ~GTP__Action__core(); GTP__Action__core& operator=(const GTP__Action__core& other_value); boolean operator==(const GTP__Action__core& other_value) const; inline boolean operator!=(const GTP__Action__core& other_value) const { return !(*this == other_value); } GTP__Action__tunend& tunend(); const GTP__Action__tunend& tunend() const; GTP__Action__tun& tunmap(); const GTP__Action__tun& tunmap() const; inline union_selection_type get_selection() const { return union_selection; } boolean ischosen(union_selection_type checked_selection) const; boolean is_bound() const; boolean is_value() const; void clean_up(); inline boolean is_present() const { return is_bound(); } void log() const; void set_param(Module_Param& param); void set_implicit_omit(); void encode_text(Text_Buf& text_buf) const; void decode_text(Text_Buf& text_buf); }; class GTP__Action__core_template : public Base_Template { union { struct { GTP__Action__core::union_selection_type union_selection; union { GTP__Action__tunend_template *field_tunend; GTP__Action__tun_template *field_tunmap; }; } single_value; struct { unsigned int n_values; GTP__Action__core_template *list_value; } value_list; struct { GTP__Action__core_template* precondition; GTP__Action__core_template* implied_template; } implication_; dynmatch_struct* dyn_match; }; void copy_value(const GTP__Action__core& other_value); void copy_template(const GTP__Action__core_template& other_value); public: GTP__Action__core_template(); GTP__Action__core_template(template_sel other_value); GTP__Action__core_template(const GTP__Action__core& other_value); GTP__Action__core_template(const OPTIONAL& other_value); GTP__Action__core_template(GTP__Action__core_template* p_precondition, GTP__Action__core_template* p_implied_template); GTP__Action__core_template(Dynamic_Match_Interface* p_dyn_match); GTP__Action__core_template(const GTP__Action__core_template& other_value); ~GTP__Action__core_template(); void clean_up(); GTP__Action__core_template& operator=(template_sel other_value); GTP__Action__core_template& operator=(const GTP__Action__core& other_value); GTP__Action__core_template& operator=(const OPTIONAL& other_value); GTP__Action__core_template& operator=(const GTP__Action__core_template& other_value); boolean match(const GTP__Action__core& other_value, boolean legacy = FALSE) const; boolean is_value() const;GTP__Action__core valueof() const; GTP__Action__core_template& list_item(unsigned int list_index) const; void set_type(template_sel template_type, unsigned int list_length); GTP__Action__tunend_template& tunend(); const GTP__Action__tunend_template& tunend() const; GTP__Action__tun_template& tunmap(); const GTP__Action__tun_template& tunmap() const; boolean ischosen(GTP__Action__core::union_selection_type checked_selection) const; void log() const; void log_match(const GTP__Action__core& 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 GTP__Action__tunend { INTEGER field_pdr__id; CHARSTRING field_ip__l; INTEGER field_far__id; public: GTP__Action__tunend(); GTP__Action__tunend(const INTEGER& par_pdr__id, const CHARSTRING& par_ip__l, const INTEGER& par_far__id); GTP__Action__tunend(const GTP__Action__tunend& other_value); inline boolean is_component() { return FALSE; } void clean_up(); const TTCN_Typedescriptor_t* get_descriptor() const; GTP__Action__tunend& operator=(const GTP__Action__tunend& other_value); boolean operator==(const GTP__Action__tunend& other_value) const; inline boolean operator!=(const GTP__Action__tunend& other_value) const { return !(*this == other_value); } boolean is_bound() const; inline boolean is_present() const { return is_bound(); } boolean is_value() const; inline INTEGER& pdr__id() {return field_pdr__id;} inline const INTEGER& pdr__id() const {return field_pdr__id;} inline CHARSTRING& ip__l() {return field_ip__l;} inline const CHARSTRING& ip__l() const {return field_ip__l;} inline INTEGER& far__id() {return field_far__id;} inline const INTEGER& far__id() const {return field_far__id;} inline int size_of() const {return 3;} 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 GTP__Action__tunend_template : public Base_Template { struct single_value_struct; union { single_value_struct *single_value; struct { unsigned int n_values; GTP__Action__tunend_template *list_value; } value_list; struct { GTP__Action__tunend_template* precondition; GTP__Action__tunend_template* implied_template; } implication_; dynmatch_struct* dyn_match; }; void set_specific(); void copy_value(const GTP__Action__tunend& other_value); void copy_template(const GTP__Action__tunend_template& other_value); public: GTP__Action__tunend_template(); GTP__Action__tunend_template(template_sel other_value); GTP__Action__tunend_template(const GTP__Action__tunend& other_value); GTP__Action__tunend_template(const OPTIONAL& other_value); GTP__Action__tunend_template(GTP__Action__tunend_template* p_precondition, GTP__Action__tunend_template* p_implied_template); GTP__Action__tunend_template(Dynamic_Match_Interface* p_dyn_match); GTP__Action__tunend_template(const GTP__Action__tunend_template& other_value); ~GTP__Action__tunend_template(); GTP__Action__tunend_template& operator=(template_sel other_value); GTP__Action__tunend_template& operator=(const GTP__Action__tunend& other_value); GTP__Action__tunend_template& operator=(const OPTIONAL& other_value); GTP__Action__tunend_template& operator=(const GTP__Action__tunend_template& other_value); boolean match(const GTP__Action__tunend& other_value, boolean legacy = FALSE) const; boolean is_bound() const; boolean is_value() const; void clean_up(); GTP__Action__tunend valueof() const; void set_type(template_sel template_type, unsigned int list_length); GTP__Action__tunend_template& list_item(unsigned int list_index) const; INTEGER_template& pdr__id(); const INTEGER_template& pdr__id() const; CHARSTRING_template& ip__l(); const CHARSTRING_template& ip__l() const; INTEGER_template& far__id(); const INTEGER_template& far__id() const; int size_of() const; void log() const; void log_match(const GTP__Action__tunend& 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 GTP__Action { CHARSTRING field_kind; GTP__Action__tun field_access; GTP__Action__core field_core; CHARSTRING field_pfcp__peer; OCTETSTRING field_seid__l; public: GTP__Action(); GTP__Action(const CHARSTRING& par_kind, const GTP__Action__tun& par_access, const GTP__Action__core& par_core, const CHARSTRING& par_pfcp__peer, const OCTETSTRING& par_seid__l); GTP__Action(const GTP__Action& other_value); inline boolean is_component() { return FALSE; } void clean_up(); const TTCN_Typedescriptor_t* get_descriptor() const; GTP__Action& operator=(const GTP__Action& other_value); boolean operator==(const GTP__Action& other_value) const; inline boolean operator!=(const GTP__Action& other_value) const { return !(*this == other_value); } boolean is_bound() const; inline boolean is_present() const { return is_bound(); } boolean is_value() const; inline CHARSTRING& kind() {return field_kind;} inline const CHARSTRING& kind() const {return field_kind;} inline GTP__Action__tun& access() {return field_access;} inline const GTP__Action__tun& access() const {return field_access;} inline GTP__Action__core& core() {return field_core;} inline const GTP__Action__core& core() const {return field_core;} inline CHARSTRING& pfcp__peer() {return field_pfcp__peer;} inline const CHARSTRING& pfcp__peer() const {return field_pfcp__peer;} inline OCTETSTRING& seid__l() {return field_seid__l;} inline const OCTETSTRING& seid__l() const {return field_seid__l;} inline int size_of() const {return 5;} 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 GTP__Action_template : public Base_Template { struct single_value_struct; union { single_value_struct *single_value; struct { unsigned int n_values; GTP__Action_template *list_value; } value_list; struct { GTP__Action_template* precondition; GTP__Action_template* implied_template; } implication_; dynmatch_struct* dyn_match; }; void set_specific(); void copy_value(const GTP__Action& other_value); void copy_template(const GTP__Action_template& other_value); public: GTP__Action_template(); GTP__Action_template(template_sel other_value); GTP__Action_template(const GTP__Action& other_value); GTP__Action_template(const OPTIONAL& other_value); GTP__Action_template(GTP__Action_template* p_precondition, GTP__Action_template* p_implied_template); GTP__Action_template(Dynamic_Match_Interface* p_dyn_match); GTP__Action_template(const GTP__Action_template& other_value); ~GTP__Action_template(); GTP__Action_template& operator=(template_sel other_value); GTP__Action_template& operator=(const GTP__Action& other_value); GTP__Action_template& operator=(const OPTIONAL& other_value); GTP__Action_template& operator=(const GTP__Action_template& other_value); boolean match(const GTP__Action& other_value, boolean legacy = FALSE) const; boolean is_bound() const; boolean is_value() const; void clean_up(); GTP__Action valueof() const; void set_type(template_sel template_type, unsigned int list_length); GTP__Action_template& list_item(unsigned int list_index) const; CHARSTRING_template& kind(); const CHARSTRING_template& kind() const; GTP__Action__tun_template& access(); const GTP__Action__tun_template& access() const; GTP__Action__core_template& core(); const GTP__Action__core_template& core() const; CHARSTRING_template& pfcp__peer(); const CHARSTRING_template& pfcp__peer() const; OCTETSTRING_template& seid__l(); const OCTETSTRING_template& seid__l() const; int size_of() const; void log() const; void log_match(const GTP__Action& 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 PFCP__session { OCTETSTRING field_up__seid; OCTETSTRING field_cp__seid; GTP__Action field_gtp; public: PFCP__session(); PFCP__session(const OCTETSTRING& par_up__seid, const OCTETSTRING& par_cp__seid, const GTP__Action& par_gtp); PFCP__session(const PFCP__session& other_value); inline boolean is_component() { return FALSE; } void clean_up(); const TTCN_Typedescriptor_t* get_descriptor() const; PFCP__session& operator=(const PFCP__session& other_value); boolean operator==(const PFCP__session& other_value) const; inline boolean operator!=(const PFCP__session& other_value) const { return !(*this == other_value); } boolean is_bound() const; inline boolean is_present() const { return is_bound(); } boolean is_value() const; inline OCTETSTRING& up__seid() {return field_up__seid;} inline const OCTETSTRING& up__seid() const {return field_up__seid;} inline OCTETSTRING& cp__seid() {return field_cp__seid;} inline const OCTETSTRING& cp__seid() const {return field_cp__seid;} inline GTP__Action& gtp() {return field_gtp;} inline const GTP__Action& gtp() const {return field_gtp;} inline int size_of() const {return 3;} 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 PFCP__session_template : public Base_Template { struct single_value_struct; union { single_value_struct *single_value; struct { unsigned int n_values; PFCP__session_template *list_value; } value_list; struct { PFCP__session_template* precondition; PFCP__session_template* implied_template; } implication_; dynmatch_struct* dyn_match; }; void set_specific(); void copy_value(const PFCP__session& other_value); void copy_template(const PFCP__session_template& other_value); public: PFCP__session_template(); PFCP__session_template(template_sel other_value); PFCP__session_template(const PFCP__session& other_value); PFCP__session_template(const OPTIONAL& other_value); PFCP__session_template(PFCP__session_template* p_precondition, PFCP__session_template* p_implied_template); PFCP__session_template(Dynamic_Match_Interface* p_dyn_match); PFCP__session_template(const PFCP__session_template& other_value); ~PFCP__session_template(); PFCP__session_template& operator=(template_sel other_value); PFCP__session_template& operator=(const PFCP__session& other_value); PFCP__session_template& operator=(const OPTIONAL& other_value); PFCP__session_template& operator=(const PFCP__session_template& other_value); boolean match(const PFCP__session& other_value, boolean legacy = FALSE) const; boolean is_bound() const; boolean is_value() const; void clean_up(); PFCP__session valueof() const; void set_type(template_sel template_type, unsigned int list_length); PFCP__session_template& list_item(unsigned int list_index) const; OCTETSTRING_template& up__seid(); const OCTETSTRING_template& up__seid() const; OCTETSTRING_template& cp__seid(); const OCTETSTRING_template& cp__seid() const; GTP__Action_template& gtp(); const GTP__Action_template& gtp() const; int size_of() const; void log() const; void log_match(const PFCP__session& 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 GTP__Action__List : public Base_Type { struct recordof_setof_struct { int ref_count; int n_elements; GTP__Action **value_elements; } *val_ptr; static const GTP__Action UNBOUND_ELEM; private: friend boolean operator==(null_type null_value, const GTP__Action__List& other_value); public: typedef GTP__Action of_type; GTP__Action__List(); GTP__Action__List(null_type other_value); GTP__Action__List(const GTP__Action__List& other_value); ~GTP__Action__List(); void clean_up(); GTP__Action__List& operator=(null_type other_value); GTP__Action__List& operator=(const GTP__Action__List& other_value); boolean operator==(null_type other_value) const; boolean operator==(const GTP__Action__List& other_value) const; inline boolean operator!=(null_type other_value) const { return !(*this == other_value); } inline boolean operator!=(const GTP__Action__List& other_value) const { return !(*this == other_value); } GTP__Action& operator[](int index_value); GTP__Action& operator[](const INTEGER& index_value); const GTP__Action& operator[](int index_value) const; const GTP__Action& operator[](const INTEGER& index_value) const; GTP__Action__List operator<<=(int rotate_count) const; GTP__Action__List operator<<=(const INTEGER& rotate_count) const; GTP__Action__List operator>>=(int rotate_count) const; GTP__Action__List operator>>=(const INTEGER& rotate_count) const; GTP__Action__List operator+(const GTP__Action__List& other_value) const; GTP__Action__List substr(int index, int returncount) const; GTP__Action__List replace(int index, int len, const GTP__Action__List& repl) const; GTP__Action__List replace(int index, int len, const GTP__Action__List_template& repl) const; void set_size(int new_size); inline boolean is_bound() const {return val_ptr != NULL; } inline boolean is_present() const { return is_bound(); } boolean is_value() const; int size_of() const; int n_elem() const { return size_of(); } int lengthof() 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 GTP__Action__List_template : public Base_Record_Of_Template { union { struct { int n_elements; GTP__Action_template **value_elements; } single_value; struct { unsigned int n_values; GTP__Action__List_template *list_value; } value_list; struct { GTP__Action__List_template* precondition; GTP__Action__List_template* implied_template; } implication_; dynmatch_struct* dyn_match; }; void copy_value(const GTP__Action__List& other_value); void copy_template(const GTP__Action__List_template& other_value); static boolean match_function_specific(const Base_Type *value_ptr, int value_index, const Restricted_Length_Template *template_ptr, int template_index, boolean legacy); public: GTP__Action__List_template(); GTP__Action__List_template(template_sel other_value); GTP__Action__List_template(null_type other_value); GTP__Action__List_template(const GTP__Action__List& other_value); GTP__Action__List_template(const OPTIONAL& other_value); GTP__Action__List_template(GTP__Action__List_template* p_precondition, GTP__Action__List_template* p_implied_template); GTP__Action__List_template(Dynamic_Match_Interface* p_dyn_match); GTP__Action__List_template(const GTP__Action__List_template& other_value); ~GTP__Action__List_template(); void clean_up(); GTP__Action__List_template& operator=(template_sel other_value); GTP__Action__List_template& operator=(null_type other_value); GTP__Action__List_template& operator=(const GTP__Action__List& other_value); GTP__Action__List_template& operator=(const OPTIONAL& other_value); GTP__Action__List_template& operator=(const GTP__Action__List_template& other_value); GTP__Action_template& operator[](int index_value); GTP__Action_template& operator[](const INTEGER& index_value); const GTP__Action_template& operator[](int index_value) const; const GTP__Action_template& operator[](const INTEGER& index_value) const; void set_size(int new_size); int n_elem() const; int size_of(boolean is_size) const; inline int size_of() const { return size_of(TRUE); } inline int lengthof() const { return size_of(FALSE); } boolean match(const GTP__Action__List& other_value, boolean legacy = FALSE) const; inline boolean is_bound() const {return template_selection != UNINITIALIZED_TEMPLATE; } boolean is_value() const; GTP__Action__List valueof() const; GTP__Action__List substr(int index, int returncount) const; GTP__Action__List replace(int index, int len, const GTP__Action__List_template& repl) const; GTP__Action__List replace(int index, int len, const GTP__Action__List& repl) const; void set_type(template_sel template_type, unsigned int list_length); GTP__Action__List_template& list_item(unsigned int list_index); void log() const; void log_match(const GTP__Action__List& 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; boolean get_istemplate_kind(const char* type) const; }; class PFCP__Session__Status { CHARSTRING field_peer; OCTETSTRING field_seid__r; OCTETSTRING field_seid__l; CHARSTRING field_state; INTEGER field_pdr__active__count; INTEGER field_pdr__count; INTEGER field_far__active__count; INTEGER field_far__count; INTEGER field_gtp__active__count; public: PFCP__Session__Status(); PFCP__Session__Status(const CHARSTRING& par_peer, const OCTETSTRING& par_seid__r, const OCTETSTRING& par_seid__l, const CHARSTRING& par_state, const INTEGER& par_pdr__active__count, const INTEGER& par_pdr__count, const INTEGER& par_far__active__count, const INTEGER& par_far__count, const INTEGER& par_gtp__active__count); PFCP__Session__Status(const PFCP__Session__Status& other_value); inline boolean is_component() { return FALSE; } void clean_up(); const TTCN_Typedescriptor_t* get_descriptor() const; PFCP__Session__Status& operator=(const PFCP__Session__Status& other_value); boolean operator==(const PFCP__Session__Status& other_value) const; inline boolean operator!=(const PFCP__Session__Status& other_value) const { return !(*this == other_value); } boolean is_bound() const; inline boolean is_present() const { return is_bound(); } boolean is_value() const; inline CHARSTRING& peer() {return field_peer;} inline const CHARSTRING& peer() const {return field_peer;} inline OCTETSTRING& seid__r() {return field_seid__r;} inline const OCTETSTRING& seid__r() const {return field_seid__r;} inline OCTETSTRING& seid__l() {return field_seid__l;} inline const OCTETSTRING& seid__l() const {return field_seid__l;} inline CHARSTRING& state() {return field_state;} inline const CHARSTRING& state() const {return field_state;} inline INTEGER& pdr__active__count() {return field_pdr__active__count;} inline const INTEGER& pdr__active__count() const {return field_pdr__active__count;} inline INTEGER& pdr__count() {return field_pdr__count;} inline const INTEGER& pdr__count() const {return field_pdr__count;} inline INTEGER& far__active__count() {return field_far__active__count;} inline const INTEGER& far__active__count() const {return field_far__active__count;} inline INTEGER& far__count() {return field_far__count;} inline const INTEGER& far__count() const {return field_far__count;} inline INTEGER& gtp__active__count() {return field_gtp__active__count;} inline const INTEGER& gtp__active__count() const {return field_gtp__active__count;} inline int size_of() const {return 9;} 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 PFCP__Session__Status_template : public Base_Template { struct single_value_struct; union { single_value_struct *single_value; struct { unsigned int n_values; PFCP__Session__Status_template *list_value; } value_list; struct { PFCP__Session__Status_template* precondition; PFCP__Session__Status_template* implied_template; } implication_; dynmatch_struct* dyn_match; }; void set_specific(); void copy_value(const PFCP__Session__Status& other_value); void copy_template(const PFCP__Session__Status_template& other_value); public: PFCP__Session__Status_template(); PFCP__Session__Status_template(template_sel other_value); PFCP__Session__Status_template(const PFCP__Session__Status& other_value); PFCP__Session__Status_template(const OPTIONAL& other_value); PFCP__Session__Status_template(PFCP__Session__Status_template* p_precondition, PFCP__Session__Status_template* p_implied_template); PFCP__Session__Status_template(Dynamic_Match_Interface* p_dyn_match); PFCP__Session__Status_template(const PFCP__Session__Status_template& other_value); ~PFCP__Session__Status_template(); PFCP__Session__Status_template& operator=(template_sel other_value); PFCP__Session__Status_template& operator=(const PFCP__Session__Status& other_value); PFCP__Session__Status_template& operator=(const OPTIONAL& other_value); PFCP__Session__Status_template& operator=(const PFCP__Session__Status_template& other_value); boolean match(const PFCP__Session__Status& other_value, boolean legacy = FALSE) const; boolean is_bound() const; boolean is_value() const; void clean_up(); PFCP__Session__Status valueof() const; void set_type(template_sel template_type, unsigned int list_length); PFCP__Session__Status_template& list_item(unsigned int list_index) const; CHARSTRING_template& peer(); const CHARSTRING_template& peer() const; OCTETSTRING_template& seid__r(); const OCTETSTRING_template& seid__r() const; OCTETSTRING_template& seid__l(); const OCTETSTRING_template& seid__l() const; CHARSTRING_template& state(); const CHARSTRING_template& state() const; INTEGER_template& pdr__active__count(); const INTEGER_template& pdr__active__count() const; INTEGER_template& pdr__count(); const INTEGER_template& pdr__count() const; INTEGER_template& far__active__count(); const INTEGER_template& far__active__count() const; INTEGER_template& far__count(); const INTEGER_template& far__count() const; INTEGER_template& gtp__active__count(); const INTEGER_template& gtp__active__count() const; int size_of() const; void log() const; void log_match(const PFCP__Session__Status& 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 PFCP__Session__Status__List : public Base_Type { struct recordof_setof_struct { int ref_count; int n_elements; PFCP__Session__Status **value_elements; } *val_ptr; static const PFCP__Session__Status UNBOUND_ELEM; private: friend boolean operator==(null_type null_value, const PFCP__Session__Status__List& other_value); public: typedef PFCP__Session__Status of_type; PFCP__Session__Status__List(); PFCP__Session__Status__List(null_type other_value); PFCP__Session__Status__List(const PFCP__Session__Status__List& other_value); ~PFCP__Session__Status__List(); void clean_up(); PFCP__Session__Status__List& operator=(null_type other_value); PFCP__Session__Status__List& operator=(const PFCP__Session__Status__List& other_value); boolean operator==(null_type other_value) const; boolean operator==(const PFCP__Session__Status__List& other_value) const; inline boolean operator!=(null_type other_value) const { return !(*this == other_value); } inline boolean operator!=(const PFCP__Session__Status__List& other_value) const { return !(*this == other_value); } PFCP__Session__Status& operator[](int index_value); PFCP__Session__Status& operator[](const INTEGER& index_value); const PFCP__Session__Status& operator[](int index_value) const; const PFCP__Session__Status& operator[](const INTEGER& index_value) const; PFCP__Session__Status__List operator<<=(int rotate_count) const; PFCP__Session__Status__List operator<<=(const INTEGER& rotate_count) const; PFCP__Session__Status__List operator>>=(int rotate_count) const; PFCP__Session__Status__List operator>>=(const INTEGER& rotate_count) const; PFCP__Session__Status__List operator+(const PFCP__Session__Status__List& other_value) const; PFCP__Session__Status__List substr(int index, int returncount) const; PFCP__Session__Status__List replace(int index, int len, const PFCP__Session__Status__List& repl) const; PFCP__Session__Status__List replace(int index, int len, const PFCP__Session__Status__List_template& repl) const; void set_size(int new_size); inline boolean is_bound() const {return val_ptr != NULL; } inline boolean is_present() const { return is_bound(); } boolean is_value() const; int size_of() const; int n_elem() const { return size_of(); } int lengthof() 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 PFCP__Session__Status__List_template : public Base_Record_Of_Template { union { struct { int n_elements; PFCP__Session__Status_template **value_elements; } single_value; struct { unsigned int n_values; PFCP__Session__Status__List_template *list_value; } value_list; struct { PFCP__Session__Status__List_template* precondition; PFCP__Session__Status__List_template* implied_template; } implication_; dynmatch_struct* dyn_match; }; void copy_value(const PFCP__Session__Status__List& other_value); void copy_template(const PFCP__Session__Status__List_template& other_value); static boolean match_function_specific(const Base_Type *value_ptr, int value_index, const Restricted_Length_Template *template_ptr, int template_index, boolean legacy); public: PFCP__Session__Status__List_template(); PFCP__Session__Status__List_template(template_sel other_value); PFCP__Session__Status__List_template(null_type other_value); PFCP__Session__Status__List_template(const PFCP__Session__Status__List& other_value); PFCP__Session__Status__List_template(const OPTIONAL& other_value); PFCP__Session__Status__List_template(PFCP__Session__Status__List_template* p_precondition, PFCP__Session__Status__List_template* p_implied_template); PFCP__Session__Status__List_template(Dynamic_Match_Interface* p_dyn_match); PFCP__Session__Status__List_template(const PFCP__Session__Status__List_template& other_value); ~PFCP__Session__Status__List_template(); void clean_up(); PFCP__Session__Status__List_template& operator=(template_sel other_value); PFCP__Session__Status__List_template& operator=(null_type other_value); PFCP__Session__Status__List_template& operator=(const PFCP__Session__Status__List& other_value); PFCP__Session__Status__List_template& operator=(const OPTIONAL& other_value); PFCP__Session__Status__List_template& operator=(const PFCP__Session__Status__List_template& other_value); PFCP__Session__Status_template& operator[](int index_value); PFCP__Session__Status_template& operator[](const INTEGER& index_value); const PFCP__Session__Status_template& operator[](int index_value) const; const PFCP__Session__Status_template& operator[](const INTEGER& index_value) const; void set_size(int new_size); int n_elem() const; int size_of(boolean is_size) const; inline int size_of() const { return size_of(TRUE); } inline int lengthof() const { return size_of(FALSE); } boolean match(const PFCP__Session__Status__List& other_value, boolean legacy = FALSE) const; inline boolean is_bound() const {return template_selection != UNINITIALIZED_TEMPLATE; } boolean is_value() const; PFCP__Session__Status__List valueof() const; PFCP__Session__Status__List substr(int index, int returncount) const; PFCP__Session__Status__List replace(int index, int len, const PFCP__Session__Status__List_template& repl) const; PFCP__Session__Status__List replace(int index, int len, const PFCP__Session__Status__List& repl) const; void set_type(template_sel template_type, unsigned int list_length); PFCP__Session__Status__List_template& list_item(unsigned int list_index); void log() const; void log_match(const PFCP__Session__Status__List& 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; boolean get_istemplate_kind(const char* type) const; }; class void__fn : public Base_Type { public: typedef void (*function_pointer)(const CHARSTRING& id); typedef void (*start_pointer)(const COMPONENT& component_reference, const CHARSTRING& id); private: friend class void__fn_template; friend boolean operator==(void__fn::function_pointer value, const void__fn& other_value); function_pointer referred_function; public: void__fn(); void__fn(function_pointer other_value); void__fn(const void__fn& other_value); void__fn& operator=(function_pointer other_value); void__fn& operator=(const void__fn& other_value); boolean operator==(function_pointer other_value) const; boolean operator==(const void__fn& other_value) const; inline boolean operator!=(function_pointer other_value) const { return !(*this == other_value); } inline boolean operator!=(const void__fn& other_value) const { return !(*this == other_value); } void invoke(const CHARSTRING& id) const; void start(const COMPONENT& component_reference, const CHARSTRING& id) const; inline boolean is_bound() const { return referred_function != NULL; } inline boolean is_value() const { return referred_function != NULL; } inline void clean_up() { referred_function = NULL; } inline void must_bound(const char *err_msg) const { if (referred_function == NULL) TTCN_error("%s", err_msg); } 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); }; extern boolean operator==(void__fn::function_pointer value, const void__fn& other_value); inline boolean operator!=(void__fn::function_pointer value, const void__fn& other_value) { return !(value == other_value); } class void__fn_template : public Base_Template { union { void__fn::function_pointer single_value; struct { unsigned int n_values; void__fn_template *list_value; } value_list; }; void copy_template(const void__fn_template& other_value); public: void__fn_template(); void__fn_template(template_sel other_value); void__fn_template(void__fn::function_pointer other_value); void__fn_template(const void__fn& other_value); void__fn_template(const OPTIONAL& other_value); void__fn_template(const void__fn_template& other_value); ~void__fn_template(); void clean_up(); void__fn_template& operator=(template_sel other_value); void__fn_template& operator=(void__fn::function_pointer other_value); void__fn_template& operator=(const void__fn& other_value); void__fn_template& operator=(const OPTIONAL& other_value); void__fn_template& operator=(const void__fn_template& other_value); boolean match(void__fn::function_pointer other_value, boolean legacy = FALSE) const; boolean match(const void__fn& other_value, boolean legacy = FALSE) const; void__fn valueof() const; void set_type(template_sel template_type, unsigned int list_length); void__fn_template& list_item(unsigned int list_index) const; void log() const; void log_match(const void__fn& 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 PFCP__Ruleset { PFCP__Types::Create__PDR__list field_pdr; PFCP__Types::Create__FAR__list field_far; public: PFCP__Ruleset(); PFCP__Ruleset(const PFCP__Types::Create__PDR__list& par_pdr, const PFCP__Types::Create__FAR__list& par_far); PFCP__Ruleset(const PFCP__Ruleset& other_value); inline boolean is_component() { return FALSE; } void clean_up(); const TTCN_Typedescriptor_t* get_descriptor() const; PFCP__Ruleset& operator=(const PFCP__Ruleset& other_value); boolean operator==(const PFCP__Ruleset& other_value) const; inline boolean operator!=(const PFCP__Ruleset& other_value) const { return !(*this == other_value); } boolean is_bound() const; inline boolean is_present() const { return is_bound(); } boolean is_value() const; inline PFCP__Types::Create__PDR__list& pdr() {return field_pdr;} inline const PFCP__Types::Create__PDR__list& pdr() const {return field_pdr;} inline PFCP__Types::Create__FAR__list& far() {return field_far;} inline const PFCP__Types::Create__FAR__list& far() const {return field_far;} inline int size_of() const {return 2;} 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 PFCP__Ruleset_template : public Base_Template { struct single_value_struct; union { single_value_struct *single_value; struct { unsigned int n_values; PFCP__Ruleset_template *list_value; } value_list; struct { PFCP__Ruleset_template* precondition; PFCP__Ruleset_template* implied_template; } implication_; dynmatch_struct* dyn_match; }; void set_specific(); void copy_value(const PFCP__Ruleset& other_value); void copy_template(const PFCP__Ruleset_template& other_value); public: PFCP__Ruleset_template(); PFCP__Ruleset_template(template_sel other_value); PFCP__Ruleset_template(const PFCP__Ruleset& other_value); PFCP__Ruleset_template(const OPTIONAL& other_value); PFCP__Ruleset_template(PFCP__Ruleset_template* p_precondition, PFCP__Ruleset_template* p_implied_template); PFCP__Ruleset_template(Dynamic_Match_Interface* p_dyn_match); PFCP__Ruleset_template(const PFCP__Ruleset_template& other_value); ~PFCP__Ruleset_template(); PFCP__Ruleset_template& operator=(template_sel other_value); PFCP__Ruleset_template& operator=(const PFCP__Ruleset& other_value); PFCP__Ruleset_template& operator=(const OPTIONAL& other_value); PFCP__Ruleset_template& operator=(const PFCP__Ruleset_template& other_value); boolean match(const PFCP__Ruleset& other_value, boolean legacy = FALSE) const; boolean is_bound() const; boolean is_value() const; void clean_up(); PFCP__Ruleset valueof() const; void set_type(template_sel template_type, unsigned int list_length); PFCP__Ruleset_template& list_item(unsigned int list_index) const; PFCP__Types::Create__PDR__list_template& pdr(); const PFCP__Types::Create__PDR__list_template& pdr() const; PFCP__Types::Create__FAR__list_template& far(); const PFCP__Types::Create__FAR__list_template& far() const; int size_of() const; void log() const; void log_match(const PFCP__Ruleset& 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 as__Tguard_Default : public Default_Base { public: as__Tguard_Default(); alt_status call_altstep(); }; /* Function prototypes */ extern alt_status as__Tguard_instance(); extern void as__Tguard(); extern Default_Base *activate_as__Tguard(); extern BOOLEAN f__get__name__val(CHARSTRING& val, const CHARSTRING& str, const CHARSTRING& name, const CHARSTRING& sep, const CHARSTRING& delim); extern BOOLEAN f__get__name__val__oct8(OCTETSTRING& val, const CHARSTRING& str, const CHARSTRING& name); extern BOOLEAN f__get__name__val__oct4(OCTETSTRING& val, const CHARSTRING& str, const CHARSTRING& name); extern BOOLEAN f__get__name__val__int(INTEGER& val, const CHARSTRING& str, const CHARSTRING& name); extern BOOLEAN f__get__name__val__2int(INTEGER& val1, INTEGER& val2, const CHARSTRING& str, const CHARSTRING& name, const CHARSTRING& delim); extern boolean operator==(null_type null_value, const GTP__Action__List& other_value); inline boolean operator!=(null_type null_value, const GTP__Action__List& other_value) { return !(null_value == other_value); } extern BOOLEAN f__parse__gtp__action(GTP__Action& ret, const CHARSTRING& str); extern GTP__Action__List f__vty__get__gtp__actions(TELNETasp__PortType::TELNETasp__PT& vty__pt); extern BOOLEAN f__find__gtp__action(const GTP__Action__List& actions, const GTP__Action_template& find); extern void f__expect__gtp__action(const GTP__Action__List& actions, const GTP__Action_template& expect); extern void f__expect__no__gtp__action(const GTP__Action__List& actions, const GTP__Action_template& expect); extern void f__vty__expect__gtp__action(TELNETasp__PortType::TELNETasp__PT& vty__pt, const GTP__Action_template& expect); extern void f__vty__expect__no__gtp__actions(TELNETasp__PortType::TELNETasp__PT& vty__pt); extern boolean operator==(null_type null_value, const PFCP__Session__Status__List& other_value); inline boolean operator!=(null_type null_value, const PFCP__Session__Status__List& other_value) { return !(null_value == other_value); } extern BOOLEAN f__parse__session__status(PFCP__Session__Status& ret, const CHARSTRING& str); extern PFCP__Session__Status__List f__vty__get__sessions(TELNETasp__PortType::TELNETasp__PT& vty__pt); extern BOOLEAN f__vty__get__session__status(TELNETasp__PortType::TELNETasp__PT& vty__pt, const PFCP__session& s, PFCP__Session__Status& ret); extern BOOLEAN f__get__session__status(const PFCP__Session__Status__List& sessions, const PFCP__session& s, PFCP__Session__Status& ret); extern void f__vty__expect__session__status(TELNETasp__PortType::TELNETasp__PT& vty__pt, const PFCP__session& s, const PFCP__Session__Status_template& expect__st); extern void f__vty__expect__session__active(TELNETasp__PortType::TELNETasp__PT& vty__pt, const PFCP__session& s); extern void f__vty__expect__no__active__sessions(TELNETasp__PortType::TELNETasp__PT& vty__pt); extern void f__vty__netinst__cfg(TELNETasp__PortType::TELNETasp__PT& vty__pt, const Misc__Helpers::ro__charstring& netinst__cmds); extern void f__init__vty(const CHARSTRING& ); extern void start_f__init__vty(const COMPONENT& component_reference, const CHARSTRING& id); extern void f__init(const FLOAT& guard__timeout); extern void start_f__init(const COMPONENT& component_reference, const FLOAT& guard__timeout); extern void f__shutdown__helper(); extern void start_f__shutdown__helper(const COMPONENT& component_reference); extern CPF__ConnectionHandler::TestHdlrParams f__gen__test__hdlr__pars(); extern void start_f__gen__test__hdlr__pars(const COMPONENT& component_reference); extern COMPONENT f__start__handler__create(const CPF__ConnectionHandler::TestHdlrParams& ); extern void start_f__start__handler__create(const COMPONENT& component_reference, const CPF__ConnectionHandler::TestHdlrParams& pars); extern COMPONENT f__start__handler__run(const COMPONENT& vc__conn, const void__fn& fn, const CPF__ConnectionHandler::TestHdlrParams& pars); extern void start_f__start__handler__run(const COMPONENT& component_reference, const COMPONENT& vc__conn, const void__fn& fn, const CPF__ConnectionHandler::TestHdlrParams& pars); extern COMPONENT f__start__handler(const void__fn& fn, const CPF__ConnectionHandler::TestHdlrParams_template& pars__tmpl); extern void start_f__start__handler(const COMPONENT& component_reference, const void__fn& fn, const CPF__ConnectionHandler::TestHdlrParams_template& pars__tmpl); extern void f__handler__init(const void__fn& fn, const CHARSTRING& id, const CPF__ConnectionHandler::TestHdlrParams& pars); extern void start_f__handler__init(const COMPONENT& component_reference, const void__fn& fn, const CHARSTRING& id, const CPF__ConnectionHandler::TestHdlrParams& pars); extern void f__assoc__setup(); extern void start_f__assoc__setup(const COMPONENT& component_reference); extern void f__assoc__release(); extern void start_f__assoc__release(const COMPONENT& component_reference); extern void f__ruleset__add__GTP__decaps(PFCP__Ruleset& r, const INTEGER& pdr__id, const CHARSTRING& src__netinst, const INTEGER& far__id); extern void f__ruleset__add__GTP__encaps(PFCP__Ruleset& r, const INTEGER& pdr__id, const CHARSTRING& ue__addr__v4, const INTEGER& far__id, const OCTETSTRING& remote__teid, const OCTETSTRING& gtp__dest__addr__v4); extern void f__ruleset__add__GTP__forw(PFCP__Ruleset& r, const INTEGER& pdr__id, const PFCP__Templates::e__PFCP__Src__Iface& src__iface, const CHARSTRING& src__netinst, const INTEGER& far__id, const PFCP__Templates::e__PFCP__Dest__Iface& dest__iface, const PFCP__Types::F__TEID& dest__remote__f__teid); extern void f__ruleset__add__GTP__drop(PFCP__Ruleset& r, const INTEGER& pdr__id, const PFCP__Templates::e__PFCP__Src__Iface& src__iface, const CHARSTRING& src__netinst, const INTEGER& far__id, const PFCP__Templates::e__PFCP__Dest__Iface& ); extern PFCP__Types::Update__FAR f__tunmap__upd__far__to__core(const GTP__Action& gtp); extern PFCP__Ruleset f__ruleset__noop(); extern PFCP__Ruleset f__ruleset__tunend(const GTP__Action& gtp, const CHARSTRING& netinst__access); extern PFCP__Ruleset f__ruleset__tunmap(const GTP__Action& gtp, const BOOLEAN& core__gtp__known, const CHARSTRING& netinst__access, const CHARSTRING& netinst__core); extern PFCP__Types::F__TEID f__get__created__local__f__teid(const PFCP__Types::PDU__PFCP& sess__est__resp, const INTEGER& pdr__id); extern void f__session__est(PFCP__session& s, const PFCP__Ruleset& rules); extern void start_f__session__est(const COMPONENT& component_reference, PFCP__session& s, const PFCP__Ruleset& rules); extern void f__session__mod(PFCP__session& s); extern void start_f__session__mod(const COMPONENT& component_reference, PFCP__session& s); extern PFCP__session f__create__PFCP__session__tunend(); extern void start_f__create__PFCP__session__tunend(const COMPONENT& component_reference); extern PFCP__session f__create__PFCP__session__tunmap(); extern void start_f__create__PFCP__session__tunmap(const COMPONENT& component_reference); extern PFCP__session f__session__est__tunend(); extern void start_f__session__est__tunend(const COMPONENT& component_reference); extern void f__session__del(const PFCP__session& s); extern void start_f__session__del(const COMPONENT& component_reference, const PFCP__session& s); extern void f__tc__assoc(const CHARSTRING& ); extern void start_f__tc__assoc(const COMPONENT& component_reference, const CHARSTRING& id); extern verdicttype testcase_TC__assoc__node__id__v4(boolean has_timer, double timer_value); extern verdicttype testcase_TC__assoc__node__id__fqdn(boolean has_timer, double timer_value); extern void f__tc__session__est__tunend(const CHARSTRING& ); extern void start_f__tc__session__est__tunend(const COMPONENT& component_reference, const CHARSTRING& id); extern verdicttype testcase_TC__session__est__tunend(boolean has_timer, double timer_value); extern void f__tc__session__term__by__assoc__rel(const CHARSTRING& ); extern void start_f__tc__session__term__by__assoc__rel(const COMPONENT& component_reference, const CHARSTRING& id); extern verdicttype testcase_TC__session__term__by__assoc__rel(boolean has_timer, double timer_value); extern void f__tc__session__est__noop(const CHARSTRING& ); extern void start_f__tc__session__est__noop(const COMPONENT& component_reference, const CHARSTRING& id); extern verdicttype testcase_TC__session__est__noop(boolean has_timer, double timer_value); extern void f__tc__session__est__tunmap(const CHARSTRING& ); extern void start_f__tc__session__est__tunmap(const COMPONENT& component_reference, const CHARSTRING& id); extern verdicttype testcase_TC__session__est__tunmap(boolean has_timer, double timer_value); extern void f__session__est__mod__tunmap(const CHARSTRING& netinst__access, const CHARSTRING& expect__gtp__ip__access, const CHARSTRING& netinst__core, const CHARSTRING& expect__gtp__ip__core); extern void start_f__session__est__mod__tunmap(const COMPONENT& component_reference, const CHARSTRING& netinst__access, const CHARSTRING& expect__gtp__ip__access, const CHARSTRING& netinst__core, const CHARSTRING& expect__gtp__ip__core); extern void f__tc__session__est__mod__tunmap(const CHARSTRING& ); extern void start_f__tc__session__est__mod__tunmap(const COMPONENT& component_reference, const CHARSTRING& id); extern void f__tc__session__est__mod__tunmap2(const CHARSTRING& ); extern void start_f__tc__session__est__mod__tunmap2(const COMPONENT& component_reference, const CHARSTRING& id); extern verdicttype testcase_TC__session__est__mod__tunmap(boolean has_timer, double timer_value); extern verdicttype testcase_TC__session__est__mod__tunmap2(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 CHARSTRING& mp__pfcp__ip__upf; extern CHARSTRING modulepar_mp__pfcp__ip__upf; extern const CHARSTRING& mp__pfcp__ip__local; extern CHARSTRING modulepar_mp__pfcp__ip__local; extern const CHARSTRING& mp__netinst__access__ip__1; extern CHARSTRING modulepar_mp__netinst__access__ip__1; extern const CHARSTRING& mp__netinst__access__ip__2; extern CHARSTRING modulepar_mp__netinst__access__ip__2; extern const CHARSTRING& mp__netinst__core__ip__1; extern CHARSTRING modulepar_mp__netinst__core__ip__1; extern const CHARSTRING& mp__netinst__core__ip__2; extern CHARSTRING modulepar_mp__netinst__core__ip__2; extern const BOOLEAN& mp__verify__gtp__actions; extern BOOLEAN modulepar_mp__verify__gtp__actions; extern const TTCN_Typedescriptor_t& test__CT_descr_; extern PFCP__Emulation::PFCPEM__PT test__CT_component_PFCP; extern TELNETasp__PortType::TELNETasp__PT test__CT_component_UPFVTY; extern TIMER test__CT_component_T__guard; extern const CHARSTRING& f__get__name__val_sep_defval; extern CHARSTRING const_f__get__name__val_sep_defval; extern const CHARSTRING& f__get__name__val_delim_defval; extern CHARSTRING const_f__get__name__val_delim_defval; extern const CHARSTRING& f__get__name__val__2int_delim_defval; extern CHARSTRING const_f__get__name__val__2int_delim_defval; extern const XERdescriptor_t PFCP__session_up__seid_xer_; extern const TTCN_OERdescriptor_t PFCP__session_up__seid_oer_; extern const TTCN_Typedescriptor_t PFCP__session_up__seid_descr_; extern UNIVERSAL_CHARSTRING PFCP__session_up__seid_default_coding; extern const XERdescriptor_t PFCP__session_cp__seid_xer_; extern const TTCN_OERdescriptor_t PFCP__session_cp__seid_oer_; extern const TTCN_Typedescriptor_t PFCP__session_cp__seid_descr_; extern UNIVERSAL_CHARSTRING PFCP__session_cp__seid_default_coding; extern const XERdescriptor_t GTP__Action_kind_xer_; extern const TTCN_Typedescriptor_t GTP__Action_kind_descr_; extern const XERdescriptor_t GTP__Action__tun_pdr__id_xer_; extern const TTCN_Typedescriptor_t GTP__Action__tun_pdr__id_descr_; extern const XERdescriptor_t GTP__Action__tun_gtp__ip__l_xer_; extern const TTCN_Typedescriptor_t GTP__Action__tun_gtp__ip__l_descr_; extern const XERdescriptor_t GTP__Action__tun_teid__l_xer_; extern const TTCN_OERdescriptor_t GTP__Action__tun_teid__l_oer_; extern const TTCN_Typedescriptor_t GTP__Action__tun_teid__l_descr_; extern UNIVERSAL_CHARSTRING GTP__Action__tun_teid__l_default_coding; extern const XERdescriptor_t GTP__Action__tun_far__id_xer_; extern const TTCN_Typedescriptor_t GTP__Action__tun_far__id_descr_; extern const XERdescriptor_t GTP__Action__tun_gtp__ip__r_xer_; extern const TTCN_Typedescriptor_t GTP__Action__tun_gtp__ip__r_descr_; extern const XERdescriptor_t GTP__Action__tun_teid__r_xer_; extern const TTCN_OERdescriptor_t GTP__Action__tun_teid__r_oer_; extern const TTCN_Typedescriptor_t GTP__Action__tun_teid__r_descr_; extern UNIVERSAL_CHARSTRING GTP__Action__tun_teid__r_default_coding; extern const TTCN_Typedescriptor_t GTP__Action__tun_descr_; extern const TTCN_Typedescriptor_t GTP__Action__core_descr_; extern const XERdescriptor_t GTP__Action__tunend_pdr__id_xer_; extern const TTCN_Typedescriptor_t GTP__Action__tunend_pdr__id_descr_; extern const XERdescriptor_t GTP__Action__tunend_ip__l_xer_; extern const TTCN_Typedescriptor_t GTP__Action__tunend_ip__l_descr_; extern const XERdescriptor_t GTP__Action__tunend_far__id_xer_; extern const TTCN_Typedescriptor_t GTP__Action__tunend_far__id_descr_; extern const TTCN_Typedescriptor_t GTP__Action__tunend_descr_; extern const XERdescriptor_t GTP__Action_pfcp__peer_xer_; extern const TTCN_Typedescriptor_t GTP__Action_pfcp__peer_descr_; extern const XERdescriptor_t GTP__Action_seid__l_xer_; extern const TTCN_OERdescriptor_t GTP__Action_seid__l_oer_; extern const TTCN_Typedescriptor_t GTP__Action_seid__l_descr_; extern UNIVERSAL_CHARSTRING GTP__Action_seid__l_default_coding; extern const TTCN_Typedescriptor_t GTP__Action_descr_; extern const TTCN_Typedescriptor_t PFCP__session_descr_; extern const TTCN_Typedescriptor_t GTP__Action__List_descr_; extern const XERdescriptor_t PFCP__Session__Status_peer_xer_; extern const TTCN_Typedescriptor_t PFCP__Session__Status_peer_descr_; extern const XERdescriptor_t PFCP__Session__Status_seid__r_xer_; extern const TTCN_OERdescriptor_t PFCP__Session__Status_seid__r_oer_; extern const TTCN_Typedescriptor_t PFCP__Session__Status_seid__r_descr_; extern UNIVERSAL_CHARSTRING PFCP__Session__Status_seid__r_default_coding; extern const XERdescriptor_t PFCP__Session__Status_seid__l_xer_; extern const TTCN_OERdescriptor_t PFCP__Session__Status_seid__l_oer_; extern const TTCN_Typedescriptor_t PFCP__Session__Status_seid__l_descr_; extern UNIVERSAL_CHARSTRING PFCP__Session__Status_seid__l_default_coding; extern const XERdescriptor_t PFCP__Session__Status_state_xer_; extern const TTCN_Typedescriptor_t PFCP__Session__Status_state_descr_; extern const XERdescriptor_t PFCP__Session__Status_pdr__active__count_xer_; extern const TTCN_Typedescriptor_t PFCP__Session__Status_pdr__active__count_descr_; extern const XERdescriptor_t PFCP__Session__Status_pdr__count_xer_; extern const TTCN_Typedescriptor_t PFCP__Session__Status_pdr__count_descr_; extern const XERdescriptor_t PFCP__Session__Status_far__active__count_xer_; extern const TTCN_Typedescriptor_t PFCP__Session__Status_far__active__count_descr_; extern const XERdescriptor_t PFCP__Session__Status_far__count_xer_; extern const TTCN_Typedescriptor_t PFCP__Session__Status_far__count_descr_; extern const XERdescriptor_t PFCP__Session__Status_gtp__active__count_xer_; extern const TTCN_Typedescriptor_t PFCP__Session__Status_gtp__active__count_descr_; extern const TTCN_Typedescriptor_t PFCP__Session__Status_descr_; extern const PFCP__Session__Status_template& PFCP__session__active; extern PFCP__Session__Status_template template_PFCP__session__active; extern const PFCP__Session__Status_template& PFCP__session__inactive; extern PFCP__Session__Status_template template_PFCP__session__inactive; extern const TTCN_Typedescriptor_t PFCP__Session__Status__List_descr_; extern const CHARSTRING& f__init__vty_id_defval; extern CHARSTRING const_f__init__vty_id_defval; extern const FLOAT& f__init_guard__timeout_defval; extern FLOAT const_f__init_guard__timeout_defval; extern const TTCN_Typedescriptor_t void__fn_descr_; extern const CPF__ConnectionHandler::TestHdlrParams_template& f__start__handler_pars__tmpl_defval; extern CPF__ConnectionHandler::TestHdlrParams_template template_f__start__handler_pars__tmpl_defval; extern UNIVERSAL_CHARSTRING PFCP__Ruleset_pdr_default_coding; extern UNIVERSAL_CHARSTRING PFCP__Ruleset_far_default_coding; extern const TTCN_Typedescriptor_t PFCP__Ruleset_descr_; extern const CHARSTRING& f__ruleset__add__GTP__encaps_ue__addr__v4_defval; extern CHARSTRING const_f__ruleset__add__GTP__encaps_ue__addr__v4_defval; extern const CHARSTRING& f__ruleset__tunend_netinst__access_defval; extern CHARSTRING const_f__ruleset__tunend_netinst__access_defval; extern const BOOLEAN& f__ruleset__tunmap_core__gtp__known_defval; extern BOOLEAN const_f__ruleset__tunmap_core__gtp__known_defval; extern const CHARSTRING& f__ruleset__tunmap_netinst__access_defval; extern CHARSTRING const_f__ruleset__tunmap_netinst__access_defval; extern const CHARSTRING& f__ruleset__tunmap_netinst__core_defval; extern CHARSTRING const_f__ruleset__tunmap_netinst__core_defval; extern const OCTETSTRING os_2, os_3, os_0, os_1; extern const CHARSTRING cs_58, cs_60, cs_29, cs_7, cs_55, cs_63, cs_57, cs_62, cs_50, cs_11, cs_35, cs_10, cs_9, cs_0, cs_1, cs_59, cs_2, cs_3, cs_4, cs_5, cs_51, cs_6, cs_8, cs_30, cs_36, cs_12, cs_15, cs_13, cs_37, cs_26, cs_24, cs_22, cs_42, cs_61, cs_56, cs_17, cs_34, cs_21, cs_18, cs_19, cs_32, cs_16, cs_14, cs_27, cs_25, cs_44, cs_52, cs_64, cs_46, cs_47, cs_48, cs_49, cs_45, cs_53, cs_65, cs_43, cs_40, cs_41, cs_39, cs_54, cs_31, cs_28, cs_38, cs_33, cs_20, cs_23; extern const unsigned char module_checksum[]; extern TTCN_Module module_object; extern const RuntimeVersionChecker ver_checker; } /* end of namespace */ #endif