#include <stdbool.h>
#include <stdint.h>
#include <osmocom/vty/vty.h>
#include <osmocom/netif/stream.h>
#include <osmocom/sigtran/osmo_ss7.h>
#include "ss7_instance.h"
Go to the source code of this file.
◆ CS7_STR
      
        
          | #define CS7_STR   "ITU-T Signaling System 7\n" | 
      
 
 
◆ INST_STR
      
        
          | #define INST_STR   "An instance of the SS7 stack\n" | 
      
 
 
◆ IPPROTO_VAR_HELP_STR
      
        
          | #define IPPROTO_VAR_HELP_STR | 
      
 
Value:        "SCTP (Stream Control Transmission Protocol)\n" \
        "TCP (Transmission Control Protocol)\n"
 
 
◆ IPPROTO_VAR_STR
      
        
          | #define IPPROTO_VAR_STR   "(sctp|tcp)" | 
      
 
 
◆ PC_STR
      
        
          | #define PC_STR   "Point Code\n" | 
      
 
 
◆ QOS_CLASS_RANGE_HELP_STR
      
        
          | #define QOS_CLASS_RANGE_HELP_STR   "QoS Class\n" | 
      
 
 
◆ QOS_CLASS_RANGE_STR
      
        
          | #define QOS_CLASS_RANGE_STR   "<0-7>" | 
      
 
 
◆ QOS_CLASS_VAR_HELP_STR
      
        
          | #define QOS_CLASS_VAR_HELP_STR | 
      
 
Value:
        "Default QoS Class (0)\n"
#define QOS_CLASS_RANGE_HELP_STR
Definition: ss7_vty.h:41
 
 
 
◆ QOS_CLASS_VAR_STR
◆ XUA_VAR_HELP_STR
Value:        "SCCP User Adaptation\n"         \
        "MTP3 User Adaptation\n"        \
        "IPA Multiplex (SCCP Lite)\n"
 
 
◆ XUA_VAR_STR
      
        
          | #define XUA_VAR_STR   "(sua|m3ua|ipa)" | 
      
 
 
◆ cs7_role_t
| Enumerator | 
|---|
| CS7_ROLE_SG |  | 
| CS7_ROLE_ASP |  | 
 
 
◆ parse_asp_proto()
◆ parse_trans_proto()
      
        
          | int parse_trans_proto | ( | const char * | protocol | ) |  | 
      
 
 
◆ ss7_vty_init_node_as()
      
        
          | void ss7_vty_init_node_as | ( | void |  | ) |  | 
      
 
 
◆ ss7_vty_init_node_asp()
      
        
          | void ss7_vty_init_node_asp | ( | void |  | ) |  | 
      
 
 
◆ ss7_vty_init_node_oxs()
      
        
          | void ss7_vty_init_node_oxs | ( | void |  | ) |  | 
      
 
 
◆ ss7_vty_init_show_oxs()
      
        
          | void ss7_vty_init_show_oxs | ( | void |  | ) |  | 
      
 
 
◆ ss7_vty_node_as_go_parent()
      
        
          | int ss7_vty_node_as_go_parent | ( | struct vty * | vty | ) |  | 
      
 
References osmo_ss7_as::cfg, cs7_role, CS7_ROLE_ASP, osmo_ss7_as::dpc_enabled, osmo_ss7_as::inst, osmo_ss7_as::name, osmo_ss7_as::opc_enabled, OSMO_SS7_ASP_PROT_IPA, OSMO_SS7_ASP_ROLE_ASP, OSMO_SS7_ASP_ROLE_SG, osmo_ss7_pc_is_local(), osmo_ss7_routing_key::pc, osmo_ss7_as::pc_override, osmo_ss7_as::proto, osmo_ss7_as::routing_key, and ss7_as_get_local_role().
Referenced by osmo_ss7_vty_go_parent().
 
 
◆ ss7_vty_node_asp_go_parent()
      
        
          | int ss7_vty_node_asp_go_parent | ( | struct vty * | vty | ) |  | 
      
 
 
◆ ss7_vty_node_oxs_go_parent()
      
        
          | int ss7_vty_node_oxs_go_parent | ( | struct vty * | vty | ) |  | 
      
 
 
◆ ss7_vty_write_one_as()
      
        
          | void ss7_vty_write_one_as | ( | struct vty * | vty, | 
        
          |  |  | struct osmo_ss7_as * | as, | 
        
          |  |  | bool | show_dyn_config | 
        
          |  | ) |  |  | 
      
 
References osmo_ss7_as::asps, osmo_ss7_as::cfg, osmo_ss7_asp::cfg, osmo_ss7_routing_key::context, osmo_ss7_as::description, osmo_ss7_as::dpc, osmo_ss7_as::dpc_enabled, osmo_ss7_asp::dyn_allocated, osmo_ss7_as::inst, osmo_ss7_as::loadshare, osmo_ss7_as::mode, osmo_ss7_as::mode_set_by_vty, mtp_si_vals, osmo_ss7_as::name, osmo_ss7_asp::name, osmo_ss7_as::opc, osmo_ss7_as::opc_enabled, osmo_ss7_as::opc_shift, osmo_ss7_as::opc_sls, OSMO_SS7_AS_TMOD_LOADSHARE, osmo_ss7_as_traffic_mode_name(), osmo_ss7_asp_protocol_name(), osmo_ss7_pointcode_print(), osmo_ss7_routing_key::pc, osmo_ss7_as::pc_override, osmo_ss7_as::proto, osmo_ss7_as::qos_class, osmo_ss7_as::recovery_timeout_msec, osmo_ss7_as::rkm_dyn_allocated, osmo_ss7_as::routing_key, osmo_ss7_as::sccp_mode, osmo_ss7_routing_key::si, osmo_ss7_as::simple_client_allocated, osmo_ss7_asp::simple_client_allocated, osmo_ss7_as::sls_shift, and osmo_ss7_routing_key::ssn.
Referenced by write_one_cs7().
 
 
◆ ss7_vty_write_one_asp()
      
        
          | void ss7_vty_write_one_asp | ( | struct vty * | vty, | 
        
          |  |  | struct osmo_ss7_asp * | asp, | 
        
          |  |  | bool | show_dyn_config | 
        
          |  | ) |  |  | 
      
 
References osmo_ss7_asp::adm_state, asp_quirk_names, osmo_ss7_asp::cfg, osmo_ss7_asp::daud_act, osmo_ss7_asp::description, osmo_ss7_asp::dyn_allocated, osmo_ss7_asp_peer::host, osmo_ss7_asp_peer::host_cnt, osmo_ss7_asp_peer::idx_primary, ipproto_vals, osmo_ss7_asp::is_server, osmo_ss7_asp::keepalive_enable, osmo_ss7_asp::keepalive_intvl_present, osmo_ss7_asp::keepalive_intvl_value, osmo_ss7_asp::keepalive_probes_present, osmo_ss7_asp::keepalive_probes_value, osmo_ss7_asp::keepalive_time_present, osmo_ss7_asp::keepalive_time_value, osmo_ss7_asp::local, osmo_ss7_asp::max_attempts_present, osmo_ss7_asp::max_attempts_value, osmo_ss7_asp::max_init_timeo_present, osmo_ss7_asp::max_init_timeo_value, osmo_ss7_asp::max_instreams_present, osmo_ss7_asp::max_instreams_value, osmo_ss7_asp::name, osmo_ss7_asp::num_ostreams_present, osmo_ss7_asp::num_ostreams_value, OSMO_SS7_ASP_ADM_S_BLOCKED, OSMO_SS7_ASP_ADM_S_ENABLED, OSMO_SS7_ASP_ADM_S_SHUTDOWN, osmo_ss7_asp_protocol_name(), osmo_ss7_asp_role_names, osmo_ss7_asp_peer::port, osmo_ss7_asp::proto, osmo_ss7_asp::qos_class, osmo_ss7_asp::quirks, osmo_ss7_asp::remote, osmo_ss7_asp::role, osmo_ss7_asp::sctp_init, osmo_ss7_asp::simple_client_allocated, ss7_default_trans_proto_for_asp_proto(), osmo_ss7_asp::tcp, osmo_ss7_asp::trans_proto, osmo_ss7_asp::user_timeout_present, osmo_ss7_asp::user_timeout_value, write_asp_timers_lm(), and write_asp_timers_xua().
Referenced by write_one_cs7().
 
 
◆ ss7_vty_write_one_oxs()
      
        
          | void ss7_vty_write_one_oxs | ( | struct vty * | vty, | 
        
          |  |  | struct osmo_xua_server * | xs | 
        
          |  | ) |  |  | 
      
 
References osmo_xua_server::accept_dyn_reg, osmo_xua_server::cfg, osmo_ss7_asp_peer::host, osmo_ss7_asp_peer::host_cnt, ipproto_vals, osmo_xua_server::local, osmo_xua_server::max_instreams_present, osmo_xua_server::max_instreams_value, osmo_xua_server::num_ostreams_present, osmo_xua_server::num_ostreams_value, osmo_ss7_asp_protocol_vals, osmo_ss7_asp_peer::port, osmo_xua_server::proto, osmo_xua_server::sctp_init, ss7_default_trans_proto_for_asp_proto(), and osmo_xua_server::trans_proto.
Referenced by write_one_cs7().
 
 
◆ cs7_role
◆ g_ctx
◆ ipproto_vals
  
  | 
        
          | const struct value_string ipproto_vals[] |  | extern |