libosmo-sigtran 2.0.0.52-6412
Osmocom SIGTRAN library
|
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <stdint.h>
#include <string.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <sys/ioctl.h>
#include <osmocom/core/sockaddr_str.h>
#include <osmocom/vty/vty.h>
#include <osmocom/vty/command.h>
#include <osmocom/vty/logging.h>
#include <osmocom/vty/telnet_interface.h>
#include <osmocom/vty/misc.h>
#include <osmocom/netif/stream.h>
#include <osmocom/sigtran/osmo_ss7.h>
#include <osmocom/sigtran/protocol/mtp.h>
#include "xua_internal.h"
#include <osmocom/sigtran/sccp_sap.h>
#include "sccp_internal.h"
#include "ss7_as.h"
#include "ss7_asp.h"
#include "ss7_route.h"
#include "ss7_route_table.h"
#include "ss7_internal.h"
#include "ss7_xua_srv.h"
#include <netinet/tcp.h>
Data Structures | |
struct | osmo_sccp_addr_entry |
Enumerations | |
enum | cs7_role_t { CS7_ROLE_SG , CS7_ROLE_ASP } |
Functions | |
DEFUN_ATTR (cs7_instance, cs7_instance_cmd, "cs7 instance <0-15>", CS7_STR "Configure a SS7 Instance\n" INST_STR "Number of the instance\n", CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (cs7_net_ind, cs7_net_ind_cmd, "network-indicator (international | national | reserved | spare)", "Configure the Network Indicator\n" "International Network\n" "National Network\n" "Reserved Network\n" "Spare Network\n", CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (cs7_pc_format, cs7_pc_format_cmd, "point-code format <1-24> [<1-23>] [<1-22>]", PC_STR "Configure Point Code Format\n" "Length of first PC component\n" "Length of second PC component\n" "Length of third PC component\n", CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (cs7_pc_format_def, cs7_pc_format_def_cmd, "point-code format default", PC_STR "Configure Point Code Format\n" "Default Point Code Format (3.8.3)\n", CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (cs7_pc_delimiter, cs7_pc_delimiter_cmd, "point-code delimiter (default|dash)", PC_STR "Configure Point Code Delimiter\n" "Use dot as delimiter\n" "User dash as delimiter\n", CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (cs7_point_code, cs7_point_code_cmd, "point-code POINT_CODE", "Configure the local Point Code\n" "Point Code\n", CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (cs7_secondary_pc, cs7_secondary_pc_cmd, "secondary-pc POINT_CODE", "Configure the local Secondary Point Code\n" "Point Code\n", CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (cs7_permit_dyn_rkm, cs7_permit_dyn_rkm_cmd, "xua rkm routing-key-allocation (static-only|dynamic-permitted)", "SIGTRAN xxxUA related\n" "Routing Key Management\n" "Routing Key Management Allocation Policy\n" "Only static (pre-configured) Routing Keys permitted\n" "Dynamically allocate Routing Keys for what ASPs request\n", CMD_ATTR_IMMEDIATE) | |
static void | write_one_cs7 (struct vty *vty, struct osmo_ss7_instance *inst, bool show_dyn_config) |
static int | write_all_cs7 (struct vty *vty, bool show_dyn_config) |
static int | config_write_cs7 (struct vty *vty) |
DEFUN (show_cs7_user, show_cs7_user_cmd, "show cs7 instance <0-15> users", SHOW_STR CS7_STR INST_STR INST_STR "User Table\n") | |
DEFUN_ATTR (cs7_route_table, cs7_route_table_cmd, "route-table system", "Specify the name of the route table\n" "Name of the route table\n", CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (cs7_rt_upd, cs7_rt_upd_cmd, "update route POINT_CODE MASK linkset LS_NAME [priority] [" ROUTE_PRIO_VAR_STR "] [qos-class] [" QOS_CLASS_VAR_STR "]", "Update the Route\n" "Update the Route\n" "Destination Point Code\n" "Point Code Mask\n" "Specify Destination Linkset\n" "Linkset Name\n" "Specify Priority\n" ROUTE_PRIO_VAR_HELP_STR "Specify QoS Class\n" QOS_CLASS_VAR_HELP_STR, CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (cs7_rt_rem, cs7_rt_rem_cmd, "remove route POINT_CODE MASK", "Remove a Route\n" "Remove a Route\n" "Destination Point Code\n" "Point Code Mask\n" "Point Code Length\n", CMD_ATTR_IMMEDIATE) | |
static void | write_one_rtable (struct vty *vty, struct osmo_ss7_route_table *rtable) |
static void | vty_dump_rtable (struct vty *vty, struct osmo_ss7_route_table *rtbl) |
DEFUN (show_cs7_route, show_cs7_route_cmd, "show cs7 instance <0-15> route", SHOW_STR CS7_STR INST_STR INST_STR "Routing Table\n") | |
static int | parse_trans_proto (const char *protocol) |
static enum osmo_ss7_asp_protocol | parse_asp_proto (const char *protocol) |
DEFUN_ATTR (cs7_xua, cs7_xua_cmd, "listen " XUA_VAR_STR " <0-65534> [" IPPROTO_VAR_STR "]", "Configure/Enable xUA Listener\n" XUA_VAR_HELP_STR "Port number\n" IPPROTO_VAR_HELP_STR, CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (no_cs7_xua, no_cs7_xua_cmd, "no listen " XUA_VAR_STR " <0-65534> [" IPPROTO_VAR_STR "]", NO_STR "Disable xUA Listener on given port\n" XUA_VAR_HELP_STR "Port number\n" IPPROTO_VAR_HELP_STR, CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (xua_local_ip, xua_local_ip_cmd, "local-ip " VTY_IPV46_CMD, "Configure the Local IP Address for xUA\n" "IPv4 Address to use for XUA\n" "IPv6 Address to use for XUA\n", CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (xua_no_local_ip, xua_no_local_ip_cmd, "no local-ip " VTY_IPV46_CMD, NO_STR "Configure the Local IP Address for xUA\n" "IPv4 Address to use for XUA\n" "IPv6 Address to use for XUA\n", CMD_ATTR_NODE_EXIT) | |
DEFUN_ATTR (xua_accept_dyn_asp, xua_accept_dyn_asp_cmd, "accept-asp-connections (pre-configured|dynamic-permitted)", "Define what kind of ASP connections to accept\n" "Accept only pre-configured ASPs (source IP/port)\n" "Accept any connection and dynamically create an ASP definition\n", CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (xua_sctp_param_init, xua_sctp_param_init_cmd, "sctp-param init " XUA_SRV_SCTP_PARAM_INIT_FIELDS " <0-65535>", XUA_SRV_SCTP_PARAM_INIT_DESC "Value of the parameter\n", CMD_ATTR_NODE_EXIT) | |
DEFUN_ATTR (xua_no_sctp_param_init, xua_no_sctp_param_init_cmd, "no sctp-param init " XUA_SRV_SCTP_PARAM_INIT_FIELDS, NO_STR XUA_SRV_SCTP_PARAM_INIT_DESC, CMD_ATTR_NODE_EXIT) | |
static void | write_one_xua (struct vty *vty, struct osmo_xua_server *xs) |
static void | vty_dump_xua_server (struct vty *vty, struct osmo_xua_server *xs) |
static int | _show_cs7_xua (struct vty *vty, enum osmo_ss7_asp_protocol proto, int trans_proto, int local_port) |
DEFUN (show_cs7_xua, show_cs7_xua_cmd, SHOW_CS7_XUA_CMD " [<0-65534>]", SHOW_CS7_XUA_CMD_HELP "Local Port Number\n") | |
DEFUN (show_cs7_xua_trans_proto, show_cs7_xua_trans_proto_cmd, SHOW_CS7_XUA_CMD " " IPPROTO_VAR_STR " [<0-65534>]", SHOW_CS7_XUA_CMD_HELP IPPROTO_VAR_HELP_STR "Local Port Number\n") | |
DEFUN (show_cs7_config, show_cs7_config_cmd, "show cs7 config", SHOW_STR CS7_STR "Currently running cs7 configuration") | |
DEFUN (cs7_asp_disconnect, cs7_asp_disconnect_cmd, "cs7 instance <0-15> asp NAME disconnect", CS7_STR "Instance related commands\n" "SS7 Instance Number\n" "ASP related commands\n" "Name of ASP\n" "Disconnect the ASP (client will reconnect)\n") | |
DEFUN_ATTR (cs7_asp, cs7_asp_cmd, "asp NAME <0-65535> <0-65535> " XUA_VAR_STR, "Configure Application Server Process\n" "Name of ASP\n" "Remote port number\n" "Local port number\n" XUA_VAR_HELP_STR, CMD_ATTR_NODE_EXIT) | |
ALIAS_ATTR (cs7_asp, cs7_asp_trans_proto_cmd, "asp NAME <0-65535> <0-65535> " XUA_VAR_STR " " IPPROTO_VAR_STR, "Configure Application Server Process\n" "Name of ASP\n" "Remote port number\n" "Local port number\n" XUA_VAR_HELP_STR IPPROTO_VAR_HELP_STR, CMD_ATTR_NODE_EXIT) | |
DEFUN_ATTR (no_cs7_asp, no_cs7_asp_cmd, "no asp NAME", NO_STR "Disable Application Server Process\n" "Name of ASP\n", CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (asp_local_ip, asp_local_ip_cmd, "local-ip " VTY_IPV46_CMD " [primary]", "Specify Local IP Address from which to contact ASP\n" "Local IPv4 Address from which to contact of ASP\n" "Local IPv6 Address from which to contact of ASP\n" "Signal the SCTP peer to use this address as Primary Address\n", CMD_ATTR_NODE_EXIT) | |
DEFUN_ATTR (asp_no_local_ip, asp_no_local_ip_cmd, "no local-ip " VTY_IPV46_CMD, NO_STR "Specify Local IP Address from which to contact ASP\n" "Local IPv4 Address from which to contact of ASP\n" "Local IPv6 Address from which to contact of ASP\n", CMD_ATTR_NODE_EXIT) | |
DEFUN_ATTR (asp_remote_ip, asp_remote_ip_cmd, "remote-ip " VTY_IPV46_CMD " [primary]", "Specify Remote IP Address of ASP\n" "Remote IPv4 Address of ASP\n" "Remote IPv6 Address of ASP\n" "Set remote address as SCTP Primary Address\n", CMD_ATTR_NODE_EXIT) | |
DEFUN_ATTR (asp_no_remote_ip, asp_no_remote_ip_cmd, "no remote-ip " VTY_IPV46_CMD, NO_STR "Specify Remote IP Address of ASP\n" "Remote IPv4 Address of ASP\n" "Remote IPv6 Address of ASP\n", CMD_ATTR_NODE_EXIT) | |
DEFUN_ATTR (asp_qos_clas, asp_qos_class_cmd, "qos-class " QOS_CLASS_RANGE_STR, "Specify QoS Class of ASP\n" QOS_CLASS_RANGE_HELP_STR, CMD_ATTR_NODE_EXIT) | |
DEFUN_ATTR (asp_role, asp_role_cmd, "role (sg|asp|ipsp)", "Specify the xUA role for this ASP\n" "SG (Signaling Gateway)\n" "ASP (Application Server Process)\n" "IPSP (IP Signalling Point)\n", CMD_ATTR_NODE_EXIT) | |
DEFUN_ATTR (asp_transport_role, asp_transport_role_cmd, "transport-role (client|server)", "Specify the transport layer role for this ASP\n" "Operate as a client; connect to a server\n" "Operate as a server; wait for client connections\n", CMD_ATTR_NODE_EXIT) | |
ALIAS_ATTR (asp_transport_role, asp_sctp_role_cmd, "sctp-role (client|server)", "Specify the SCTP role for this ASP\n" "Operate as SCTP client; connect to a server\n" "Operate as SCTP server; wait for client connections\n", CMD_ATTR_HIDDEN|CMD_ATTR_NODE_EXIT) | |
DEFUN_ATTR (asp_sctp_param_init, asp_sctp_param_init_cmd, "sctp-param init " ASP_SCTP_PARAM_INIT_FIELDS " <0-65535>", ASP_SCTP_PARAM_INIT_DESC "Value of the parameter\n", CMD_ATTR_NODE_EXIT) | |
DEFUN_ATTR (asp_no_sctp_param_init, asp_no_sctp_param_init_cmd, "no sctp-param init " ASP_SCTP_PARAM_INIT_FIELDS, NO_STR ASP_SCTP_PARAM_INIT_DESC, CMD_ATTR_NODE_EXIT) | |
DEFUN_ATTR (asp_block, asp_block_cmd, "block", "Allows a SCTP Association with ASP, but doesn't let it become active\n", CMD_ATTR_NODE_EXIT) | |
DEFUN_ATTR (asp_shutdown, asp_shutdown_cmd, "shutdown", "Terminates SCTP association; New associations will be rejected\n", CMD_ATTR_NODE_EXIT) | |
DEFUN_ATTR (asp_quirk, asp_quirk_cmd, "OVERWRITTEN", "OVERWRITTEN\n", CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (asp_no_quirk, asp_no_quirk_cmd, "OVERWRITTEN", "OVERWRITTEN\n", CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (asp_timer, asp_timer_cmd, NULL, NULL, CMD_ATTR_IMMEDIATE) | |
static void | gen_asp_timer_cmd_strs (struct cmd_element *cmd) |
static void | write_asp_timers (struct vty *vty, const char *indent, struct osmo_ss7_asp *asp) |
static char * | as_list_for_asp (const struct osmo_ss7_asp *asp, char *buf, size_t buf_len) |
static char * | get_sockname_buf (char *buf, size_t buf_len, int fd, int proto, bool local) |
static void | show_one_asp (struct vty *vty, struct osmo_ss7_asp *asp) |
static int | show_asp (struct vty *vty, int id, const char *asp_name) |
DEFUN (show_cs7_asp, show_cs7_asp_cmd, "show cs7 instance <0-15> asp", SHOW_STR CS7_STR INST_STR INST_STR "Application Server Process (ASP)\n") | |
DEFUN (show_cs7_asp_name, show_cs7_asp_name_cmd, "show cs7 instance <0-15> asp name ASP_NAME", SHOW_STR CS7_STR INST_STR INST_STR "Application Server Process (ASP)\n" "Lookup ASP with a given name\n" "Name of the Application Server Process (ASP)\n") | |
static void | show_one_asp_remaddr_tcp (struct vty *vty, struct osmo_ss7_asp *asp) |
static void | show_one_asp_remaddr (struct vty *vty, struct osmo_ss7_asp *asp) |
static int | show_asp_remaddr (struct vty *vty, int id, const char *asp_name) |
DEFUN (show_cs7_asp_remaddr, show_cs7_asp_remaddr_cmd, "show cs7 instance <0-15> asp-remaddr", SHOW_STR CS7_STR INST_STR INST_STR "Application Server Process (ASP) remote addresses information\n") | |
DEFUN (show_cs7_asp_remaddr_name, show_cs7_asp_remaddr_name_cmd, "show cs7 instance <0-15> asp-remaddr name ASP_NAME", SHOW_STR CS7_STR INST_STR INST_STR "Application Server Process (ASP) remote addresses information\n" "Lookup ASP with a given name\n" "Name of the Application Server Process (ASP)\n") | |
static void | show_one_asp_assoc_status_tcp (struct vty *vty, struct osmo_ss7_asp *asp) |
static void | show_one_asp_assoc_status (struct vty *vty, struct osmo_ss7_asp *asp) |
static int | show_asp_assoc_status (struct vty *vty, int id, const char *asp_name) |
DEFUN (show_cs7_asp_assoc_status, show_cs7_asp_assoc_status_cmd, "show cs7 instance <0-15> asp-assoc-status", SHOW_STR CS7_STR INST_STR INST_STR "Application Server Process (ASP) SCTP association status\n") | |
DEFUN (show_cs7_asp_assoc_status_name, show_cs7_asp_assoc_status_name_cmd, "show cs7 instance <0-15> asp-assoc-status name ASP_NAME", SHOW_STR CS7_STR INST_STR INST_STR "Application Server Process (ASP) SCTP association information\n" "Lookup ASP with a given name\n" "Name of the Application Server Process (ASP)\n") | |
static void | write_one_asp (struct vty *vty, struct osmo_ss7_asp *asp, bool show_dyn_config) |
DEFUN_ATTR (cs7_as, cs7_as_cmd, "as NAME " XUA_VAR_STR, "Configure an Application Server\n" "Name of the Application Server\n" XUA_VAR_HELP_STR, CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (no_cs7_as, no_cs7_as_cmd, "no as NAME", NO_STR "Disable Application Server\n" "Name of AS\n", CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (as_asp, as_asp_cmd, "asp NAME", "Specify that a given ASP is part of this AS\n" "Name of ASP to be added to AS\n", CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (as_no_asp, as_no_asp_cmd, "no asp NAME", NO_STR "Specify ASP to be removed from this AS\n" "Name of ASP to be removed\n", CMD_ATTR_IMMEDIATE) | |
DEFUN_USRATTR (as_traf_mode, as_traf_mode_cmd, OSMO_SCCP_LIB_ATTR_RSTRT_ASP, "traffic-mode (broadcast | loadshare | roundrobin | override)", "Specifies traffic mode of operation of the ASP within the AS\n" "Broadcast to all ASP within AS\n" "Share Load among all ASP within AS\n" "Round-Robin between all ASP within AS\n" "Override\n") | |
DEFUN_USRATTR (as_no_traf_mode, as_no_traf_mode_cmd, OSMO_SCCP_LIB_ATTR_RSTRT_ASP, "no traffic-mode", NO_STR "Remove explicit traffic mode of operation of this AS\n") | |
DEFUN_ATTR (as_recov_tout, as_recov_tout_cmd, "recovery-timeout <1-2000>", "Specifies the recovery timeout value in milliseconds\n" "Recovery Timeout in Milliseconds\n", CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (as_qos_clas, as_qos_class_cmd, "qos-class " QOS_CLASS_RANGE_STR, "Specity QoS Class of AS\n" QOS_CLASS_RANGE_HELP_STR, CMD_ATTR_IMMEDIATE) | |
static int | _rout_key (struct vty *vty, const char *rcontext, const char *dpc, const char *si, const char *ssn) |
DEFUN_ATTR (as_rout_key, as_rout_key_cmd, ROUTING_KEY_CMD, ROUTING_KEY_CMD_STRS, CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (as_rout_key_si, as_rout_key_si_cmd, ROUTING_KEY_CMD ROUTING_KEY_SI_ARG, ROUTING_KEY_CMD_STRS ROUTING_KEY_SI_ARG_STRS, CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (as_rout_key_ssn, as_rout_key_ssn_cmd, ROUTING_KEY_CMD ROUTING_KEY_SSN_ARG, ROUTING_KEY_CMD_STRS ROUTING_KEY_SSN_ARG_STRS, CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (as_rout_key_si_ssn, as_rout_key_si_ssn_cmd, ROUTING_KEY_CMD ROUTING_KEY_SI_ARG ROUTING_KEY_SSN_ARG, ROUTING_KEY_CMD_STRS ROUTING_KEY_SI_ARG_STRS ROUTING_KEY_SSN_ARG_STRS, CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (as_pc_override, as_pc_override_cmd, "point-code override dpc PC", "Point Code Specific Features\n" "Override (force) a point-code to hard-coded value\n" "Override Source Point Code\n" "Override Destination Point Code\n" "New Point Code\n", CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (as_pc_patch_sccp, as_pc_patch_sccp_cmd, "point-code override patch-sccp (disabled|both)", "Point Code Specific Features\n" "Override (force) a point-code to hard-coded value\n" "Patch point code values into SCCP called/calling address\n" "Don't patch any point codes into SCCP called/calling address\n" "Patch both origin and destination point codes into SCCP called/calling address\n", CMD_ATTR_IMMEDIATE) | |
static void | write_one_as (struct vty *vty, struct osmo_ss7_as *as, bool show_dyn_config) |
DEFUN (show_cs7_as, show_cs7_as_cmd, "show cs7 instance <0-15> as (active|all|m3ua|sua)", SHOW_STR CS7_STR INST_STR INST_STR "Application Server (AS)\n" "Display all active ASs\n" "Display all ASs (default)\n" "Display all m3ua ASs\n" "Display all SUA ASs\n") | |
LLIST_HEAD (sccp_address_book_global) | |
static struct osmo_sccp_addr_entry * | addr_entry_by_name_local (const char *name, const struct osmo_ss7_instance *inst) |
static struct osmo_sccp_addr_entry * | addr_entry_by_name_global (const char *name) |
struct osmo_ss7_instance * | osmo_sccp_addr_by_name (struct osmo_sccp_addr *dest_addr, const char *name) |
Lookup an SCCP address from the addressbook by its name. More... | |
int | osmo_sccp_addr_by_name_local (struct osmo_sccp_addr *dest_addr, const char *name, const struct osmo_ss7_instance *inst) |
Lookup an SCCP address from the addressbook of a specific instance by its name. More... | |
const char * | osmo_sccp_name_by_addr (const struct osmo_sccp_addr *addr) |
Reverse lookup the lookup-name of a specified SCCP address. More... | |
static void | write_sccp_addressbook (struct vty *vty, const struct osmo_ss7_instance *inst) |
DEFUN (cs7_show_sccpaddr, cs7_show_sccpaddr_cmd, "show cs7 instance <0-15> sccp addressbook", SHOW_STR CS7_STR INST_STR INST_STR SCCP_STR "List all SCCP addressbook entries\n") | |
DEFUN_ATTR (cs7_sccpaddr, cs7_sccpaddr_cmd, "sccp-address NAME", "Create/Modify an SCCP addressbook entry\n" "Name of the SCCP Address\n", CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (cs7_sccpaddr_del, cs7_sccpaddr_del_cmd, "no sccp-address NAME", NO_STR "Delete an SCCP addressbook entry\n" "Name of the SCCP Address\n", CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (cs7_sccpaddr_ri, cs7_sccpaddr_ri_cmd, "routing-indicator (GT|PC|IP)", "Add Routing Indicator\n" "by global-title\n" "by point-code\n" "by ip-address\n", CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (cs7_sccpaddr_pc, cs7_sccpaddr_pc_cmd, "point-code POINT_CODE", "Add point-code Number\n" "PC\n", CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (cs7_sccpaddr_pc_del, cs7_sccpaddr_pc_del_cmd, "no point-code", NO_STR "Remove point-code Number\n", CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (cs7_sccpaddr_ssn, cs7_sccpaddr_ssn_cmd, "subsystem-number <0-4294967295>", "Add Subsystem Number\n" "SSN\n", CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (cs7_sccpaddr_ssn_del, cs7_sccpaddr_ssn_del_cmd, "no subsystem-number", NO_STR "Remove Subsystem Number\n", CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (cs7_sccpaddr_gt, cs7_sccpaddr_gt_cmd, "global-title", "Add/Modify Global Title\n", CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (cs7_sccpaddr_gt_del, cs7_sccpaddr_gt_del_cmd, "no global-title", NO_STR "Remove Global Title\n", CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (cs7_sccpaddr_gt_gti, cs7_sccpaddr_gt_gti_cmd, "global-title-indicator <0-15>", "Set Global Title Indicator\n" "GTI\n", CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (cs7_sccpaddr_gt_tt, cs7_sccpaddr_gt_tt_cmd, "translation-type <0-255>", "Set Global Title Translation Type\n" "TT\n", CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (cs7_sccpaddr_gt_npi, cs7_sccpaddr_gt_npi_cmd, "numbering-plan-indicator <0-15>", "Set Global Title Numbering Plan Indicator\n" "NPI\n", CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (cs7_sccpaddr_gt_nai, cs7_sccpaddr_gt_nai_cmd, "nature-of-address-indicator <0-127>", "Set Global Title Nature of Address Indicator\n" "NAI\n", CMD_ATTR_IMMEDIATE) | |
DEFUN_ATTR (cs7_sccpaddr_gt_digits, cs7_sccpaddr_gt_digits_cmd, "digits DIGITS", "Set Global Title Digits\n" "Number digits\n", CMD_ATTR_IMMEDIATE) | |
int | osmo_ss7_vty_go_parent (struct vty *vty) |
int | osmo_ss7_is_config_node (struct vty *vty, int node) |
static void | vty_init_addr (void) |
static void | vty_init_shared (void *ctx) |
void | osmo_ss7_vty_init_asp (void *ctx) |
void | osmo_ss7_vty_init_sg (void *ctx) |
Variables | |
static const struct value_string | tcp_info_state_values [] |
static const struct value_string | asp_quirk_names [] |
static const struct value_string | asp_quirk_descs [] |
static enum cs7_role_t | cs7_role |
static void * | g_ctx |
static struct cmd_node | cs7_node |
static const struct value_string | ss7_network_indicator_vals [] |
static struct cmd_node | rtable_node |
static const struct value_string | ipproto_vals [] |
static struct cmd_node | xua_node |
static struct cmd_node | asp_node |
static struct cmd_node | as_node |
const struct value_string | mtp_si_vals [] |
static struct cmd_node | sccpaddr_node |
static struct cmd_node | sccpaddr_gt_node |
#define ASP_SCTP_PARAM_INIT_DESC |
#define ASP_SCTP_PARAM_INIT_FIELDS "(num-ostreams|max-instreams|max-attempts|timeout)" |
#define IPPROTO_VAR_HELP_STR |
#define IPPROTO_VAR_STR "(sctp|tcp)" |
#define QOS_CLASS_RANGE_HELP_STR "QoS Class\n" |
#define QOS_CLASS_RANGE_STR "<0-7>" |
#define QOS_CLASS_VAR_HELP_STR |
#define QOS_CLASS_VAR_STR "(" QOS_CLASS_RANGE_STR "|default)" |
#define ROUTE_PRIO_RANGE_HELP_STR "Priority\n" |
#define ROUTE_PRIO_RANGE_STR "<1-9>" |
#define ROUTE_PRIO_VAR_HELP_STR |
#define ROUTE_PRIO_VAR_STR "(" ROUTE_PRIO_RANGE_STR "|default)" |
#define ROUTING_KEY_CMD "routing-key RCONTEXT DPC" |
#define ROUTING_KEY_CMD_STRS |
#define ROUTING_KEY_SI_ARG " si (aal2|bicc|b-isup|h248|isup|sat-isup|sccp|tup)" |
#define ROUTING_KEY_SI_ARG_STRS |
#define ROUTING_KEY_SSN_ARG " ssn SSN" |
#define ROUTING_KEY_SSN_ARG_STRS |
#define SHOW_CS7_XUA_CMD "show cs7 " XUA_VAR_STR |
#define SHOW_CS7_XUA_CMD_HELP SHOW_STR CS7_STR XUA_VAR_HELP_STR |
#define XUA_SRV_SCTP_PARAM_INIT_DESC |
#define XUA_SRV_SCTP_PARAM_INIT_FIELDS "(num-ostreams|max-instreams)" |
#define XUA_VAR_HELP_STR |
#define XUA_VAR_STR "(sua|m3ua|ipa)" |
enum cs7_role_t |
|
static |
References osmo_ss7_route::as, osmo_ss7_as::cfg, osmo_ss7_routing_key::context, cs7_role, CS7_ROLE_ASP, dpc, osmo_ss7_as::inst, mtp_si_vals, osmo_ss7_as::name, OSMO_SS7_ASP_PROT_IPA, osmo_ss7_pointcode_parse(), osmo_ss7_routing_key::pc, osmo_ss7_route::pc, osmo_ss7_as::proto, osmo_ss7_as::routing_key, osmo_ss7_instance::rtable_system, osmo_ss7_routing_key::si, si, ss7_route_create(), ss7_route_destroy(), ss7_route_table_find_route_by_dpc_mask(), and osmo_ss7_routing_key::ssn.
Referenced by DEFUN_ATTR().
|
static |
References osmo_xua_server::cfg, osmo_xua_server::inst, osmo_ss7_instance::list, osmo_xua_server::list, osmo_xua_server::local, osmo_ss7_instances, osmo_ss7_asp_peer::port, osmo_xua_server::proto, osmo_xua_server::trans_proto, vty_dump_xua_server(), and osmo_ss7_instance::xua_servers.
Referenced by DEFUN().
|
static |
References osmo_sccp_addr_entry::list_global, and osmo_sccp_addr_entry::name.
Referenced by DEFUN_ATTR(), and osmo_sccp_addr_by_name().
|
static |
References osmo_ss7_instance::cfg, osmo_sccp_addr_entry::inst, osmo_sccp_addr_entry::list, osmo_sccp_addr_entry::name, and osmo_ss7_instance::sccp_address_book.
Referenced by DEFUN_ATTR(), and osmo_sccp_addr_by_name_local().
ALIAS_ATTR | ( | asp_transport_role | , |
asp_sctp_role_cmd | , | ||
"sctp-role (client|server)" | , | ||
"Specify the SCTP role for this ASP\n" "Operate as SCTP client; connect to a server\n" "Operate as SCTP server; wait for client connections\n" | , | ||
CMD_ATTR_HIDDEN| | CMD_ATTR_NODE_EXIT | ||
) |
ALIAS_ATTR | ( | cs7_asp | , |
cs7_asp_trans_proto_cmd | , | ||
"asp NAME <0-65535> <0-65535> " XUA_VAR_STR " " | IPPROTO_VAR_STR, | ||
"Configure Application Server Process\n" "Name of ASP\n" "Remote port number\n" "Local port number\n" XUA_VAR_HELP_STR | IPPROTO_VAR_HELP_STR, | ||
CMD_ATTR_NODE_EXIT | |||
) |
|
static |
References osmo_ss7_instance::as_list, osmo_ss7_as::cfg, osmo_ss7_asp::inst, osmo_ss7_as::list, osmo_ss7_as::name, and osmo_ss7_as_has_asp().
Referenced by show_one_asp().
|
static |
References write_all_cs7().
Referenced by vty_init_shared().
DEFUN | ( | cs7_asp_disconnect | , |
cs7_asp_disconnect_cmd | , | ||
"cs7 instance <0-15> asp NAME disconnect" | , | ||
CS7_STR "Instance related commands\n" "SS7 Instance Number\n" "ASP related commands\n" "Name of ASP\n" "Disconnect the ASP (client will reconnect)\n" | |||
) |
DEFUN | ( | cs7_show_sccpaddr | , |
cs7_show_sccpaddr_cmd | , | ||
"show cs7 instance <0-15> sccp addressbook" | , | ||
SHOW_STR CS7_STR INST_STR INST_STR SCCP_STR "List all SCCP addressbook entries\n" | |||
) |
References osmo_sccp_addr_entry::addr, osmo_ss7_instance::cfg, osmo_ss7_instance::description, osmo_sccp_gt::digits, osmo_sccp_addr::gt, osmo_sccp_gt::gti, osmo_sccp_addr_entry::inst, osmo_sccp_addr::ip, osmo_sccp_addr_entry::list, osmo_sccp_gt::nai, osmo_sccp_addr_entry::name, osmo_sccp_gt::npi, OSMO_SCCP_ADDR_T_GT, OSMO_SCCP_ADDR_T_IPv4, OSMO_SCCP_ADDR_T_IPv6, OSMO_SCCP_ADDR_T_PC, OSMO_SCCP_ADDR_T_SSN, OSMO_SCCP_RI_GT, OSMO_SCCP_RI_SSN_IP, OSMO_SCCP_RI_SSN_PC, osmo_ss7_instance_find(), osmo_ss7_pointcode_print(), osmo_sccp_addr::pc, osmo_sccp_addr::presence, osmo_sccp_addr::ri, osmo_ss7_instance::sccp_address_book, osmo_sccp_addr::ssn, osmo_sccp_gt::tt, osmo_sccp_addr::v4, and osmo_sccp_addr::v6.
DEFUN | ( | show_cs7_as | , |
show_cs7_as_cmd | , | ||
"show cs7 instance <0-15> as (active|all|m3ua|sua)" | , | ||
SHOW_STR CS7_STR INST_STR INST_STR "Application Server (AS)\n" "Display all active ASs\n" "Display all ASs (default)\n" "Display all m3ua ASs\n" "Display all SUA ASs\n" | |||
) |
References osmo_ss7_instance::as_list, osmo_ss7_as::cfg, osmo_ss7_routing_key::context, osmo_ss7_as::fi, osmo_ss7_as::inst, osmo_ss7_as::list, osmo_ss7_as::mode, osmo_ss7_as::name, osmo_ss7_as_active(), osmo_ss7_as_traffic_mode_name(), OSMO_SS7_ASP_PROT_M3UA, OSMO_SS7_ASP_PROT_SUA, osmo_ss7_instance_find(), osmo_ss7_pointcode_print(), osmo_ss7_routing_key::pc, osmo_ss7_as::proto, and osmo_ss7_as::routing_key.
DEFUN | ( | show_cs7_asp | , |
show_cs7_asp_cmd | , | ||
"show cs7 instance <0-15> asp" | , | ||
SHOW_STR CS7_STR INST_STR INST_STR "Application Server Process (ASP)\n" | |||
) |
References show_asp().
DEFUN | ( | show_cs7_asp_assoc_status | , |
show_cs7_asp_assoc_status_cmd | , | ||
"show cs7 instance <0-15> asp-assoc-status" | , | ||
SHOW_STR CS7_STR INST_STR INST_STR "Application Server Process (ASP) SCTP association status\n" | |||
) |
References show_asp_assoc_status().
DEFUN | ( | show_cs7_asp_assoc_status_name | , |
show_cs7_asp_assoc_status_name_cmd | , | ||
"show cs7 instance <0-15> asp-assoc-status name ASP_NAME" | , | ||
SHOW_STR CS7_STR INST_STR INST_STR "Application Server Process (ASP) SCTP association information\n" "Lookup ASP with a given name\n" "Name of the Application Server Process (ASP)\n" | |||
) |
References show_asp_assoc_status().
DEFUN | ( | show_cs7_asp_name | , |
show_cs7_asp_name_cmd | , | ||
"show cs7 instance <0-15> asp name ASP_NAME" | , | ||
SHOW_STR CS7_STR INST_STR INST_STR "Application Server Process (ASP)\n" "Lookup ASP with a given name\n" "Name of the Application Server Process (ASP)\n" | |||
) |
References show_asp().
DEFUN | ( | show_cs7_asp_remaddr | , |
show_cs7_asp_remaddr_cmd | , | ||
"show cs7 instance <0-15> asp-remaddr" | , | ||
SHOW_STR CS7_STR INST_STR INST_STR "Application Server Process (ASP) remote addresses information\n" | |||
) |
References show_asp_remaddr().
DEFUN | ( | show_cs7_asp_remaddr_name | , |
show_cs7_asp_remaddr_name_cmd | , | ||
"show cs7 instance <0-15> asp-remaddr name ASP_NAME" | , | ||
SHOW_STR CS7_STR INST_STR INST_STR "Application Server Process (ASP) remote addresses information\n" "Lookup ASP with a given name\n" "Name of the Application Server Process (ASP)\n" | |||
) |
References show_asp_remaddr().
DEFUN | ( | show_cs7_config | , |
show_cs7_config_cmd | , | ||
"show cs7 config" | , | ||
SHOW_STR CS7_STR "Currently running cs7 configuration" | |||
) |
References write_all_cs7().
DEFUN | ( | show_cs7_route | , |
show_cs7_route_cmd | , | ||
"show cs7 instance <0-15> route" | , | ||
SHOW_STR CS7_STR INST_STR INST_STR "Routing Table\n" | |||
) |
References osmo_ss7_instance_find(), osmo_ss7_instance::rtable_system, and vty_dump_rtable().
DEFUN | ( | show_cs7_user | , |
show_cs7_user_cmd | , | ||
"show cs7 instance <0-15> users" | , | ||
SHOW_STR CS7_STR INST_STR INST_STR "User Table\n" | |||
) |
References osmo_ss7_user::inst, osmo_ss7_user::name, osmo_ss7_instance_find(), and osmo_ss7_instance::user.
DEFUN | ( | show_cs7_xua | , |
show_cs7_xua_cmd | , | ||
SHOW_CS7_XUA_CMD " " | [< 0-65534 >], | ||
SHOW_CS7_XUA_CMD_HELP "Local Port Number\n" | |||
) |
References _show_cs7_xua(), parse_asp_proto(), and osmo_xua_server::proto.
DEFUN | ( | show_cs7_xua_trans_proto | , |
show_cs7_xua_trans_proto_cmd | , | ||
SHOW_CS7_XUA_CMD " " IPPROTO_VAR_STR " " | [< 0-65534 >], | ||
SHOW_CS7_XUA_CMD_HELP IPPROTO_VAR_HELP_STR "Local Port Number\n" | |||
) |
DEFUN_ATTR | ( | as_asp | , |
as_asp_cmd | , | ||
"asp NAME" | , | ||
"Specify that a given ASP is part of this AS\n" "Name of ASP to be added to AS\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
References osmo_ss7_as_add_asp().
DEFUN_ATTR | ( | as_no_asp | , |
as_no_asp_cmd | , | ||
"no asp NAME" | , | ||
NO_STR "Specify ASP to be removed from this AS\n" "Name of ASP to be removed\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
References osmo_ss7_as_del_asp().
DEFUN_ATTR | ( | as_pc_override | , |
as_pc_override_cmd | , | ||
"point-code override dpc PC" | , | ||
"Point Code Specific Features\n" "Override (force) a point-code to hard-coded value\n" "Override Source Point Code\n" "Override Destination Point Code\n" "New Point Code\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
DEFUN_ATTR | ( | as_pc_patch_sccp | , |
as_pc_patch_sccp_cmd | , | ||
"point-code override patch-sccp (disabled|both)" | , | ||
"Point Code Specific Features\n" "Override (force) a point-code to hard-coded value\n" "Patch point code values into SCCP called/calling address\n" "Don't patch any point codes into SCCP called/calling address\n" "Patch both origin and destination point codes into SCCP called/calling address\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
DEFUN_ATTR | ( | as_qos_clas | , |
as_qos_class_cmd | , | ||
"qos-class " | QOS_CLASS_RANGE_STR, | ||
"Specity QoS Class of AS\n" | QOS_CLASS_RANGE_HELP_STR, | ||
CMD_ATTR_IMMEDIATE | |||
) |
References osmo_ss7_as::cfg, and osmo_ss7_as::qos_class.
DEFUN_ATTR | ( | as_recov_tout | , |
as_recov_tout_cmd | , | ||
"recovery-timeout <1-2000>" | , | ||
"Specifies the recovery timeout value in milliseconds\n" "Recovery Timeout in Milliseconds\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
References osmo_ss7_as::cfg, and osmo_ss7_as::recovery_timeout_msec.
DEFUN_ATTR | ( | as_rout_key | , |
as_rout_key_cmd | , | ||
ROUTING_KEY_CMD | , | ||
ROUTING_KEY_CMD_STRS | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
References _rout_key().
DEFUN_ATTR | ( | as_rout_key_si | , |
as_rout_key_si_cmd | , | ||
ROUTING_KEY_CMD | ROUTING_KEY_SI_ARG, | ||
ROUTING_KEY_CMD_STRS | ROUTING_KEY_SI_ARG_STRS, | ||
CMD_ATTR_IMMEDIATE | |||
) |
References _rout_key().
DEFUN_ATTR | ( | as_rout_key_si_ssn | , |
as_rout_key_si_ssn_cmd | , | ||
ROUTING_KEY_CMD ROUTING_KEY_SI_ARG | ROUTING_KEY_SSN_ARG, | ||
ROUTING_KEY_CMD_STRS ROUTING_KEY_SI_ARG_STRS | ROUTING_KEY_SSN_ARG_STRS, | ||
CMD_ATTR_IMMEDIATE | |||
) |
References _rout_key().
DEFUN_ATTR | ( | as_rout_key_ssn | , |
as_rout_key_ssn_cmd | , | ||
ROUTING_KEY_CMD | ROUTING_KEY_SSN_ARG, | ||
ROUTING_KEY_CMD_STRS | ROUTING_KEY_SSN_ARG_STRS, | ||
CMD_ATTR_IMMEDIATE | |||
) |
References _rout_key().
DEFUN_ATTR | ( | asp_block | , |
asp_block_cmd | , | ||
"block" | , | ||
"Allows a SCTP Association with | ASP, | ||
but doesn 't let it become active\n" | , | ||
CMD_ATTR_NODE_EXIT | |||
) |
DEFUN_ATTR | ( | asp_local_ip | , |
asp_local_ip_cmd | , | ||
"local-ip " VTY_IPV46_CMD " " | [primary], | ||
"Specify Local IP Address from which to contact ASP\n" "Local IPv4 Address from which to contact of ASP\n" "Local IPv6 Address from which to contact of ASP\n" "Signal the SCTP peer to use this address as Primary Address\n" | , | ||
CMD_ATTR_NODE_EXIT | |||
) |
References osmo_ss7_asp::cfg, osmo_ss7_asp_peer::host, osmo_ss7_asp_peer::host_cnt, osmo_ss7_asp_peer::idx_primary, osmo_ss7_asp::local, OSMO_SS7_ASP_PROT_IPA, osmo_ss7_asp::proto, ss7_asp_apply_new_local_address(), ss7_asp_apply_peer_primary_address(), ss7_asp_is_started(), and ss7_asp_peer_add_host2().
DEFUN_ATTR | ( | asp_no_local_ip | , |
asp_no_local_ip_cmd | , | ||
"no local-ip " | VTY_IPV46_CMD, | ||
NO_STR "Specify Local IP Address from which to contact ASP\n" "Local IPv4 Address from which to contact of ASP\n" "Local IPv6 Address from which to contact of ASP\n" | , | ||
CMD_ATTR_NODE_EXIT | |||
) |
DEFUN_ATTR | ( | asp_no_quirk | , |
asp_no_quirk_cmd | , | ||
"OVERWRITTEN" | , | ||
"OVERWRITTEN\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
References asp_quirk_names, osmo_ss7_asp::cfg, and osmo_ss7_asp::quirks.
DEFUN_ATTR | ( | asp_no_remote_ip | , |
asp_no_remote_ip_cmd | , | ||
"no remote-ip " | VTY_IPV46_CMD, | ||
NO_STR "Specify Remote IP Address of ASP\n" "Remote IPv4 Address of ASP\n" "Remote IPv6 Address of ASP\n" | , | ||
CMD_ATTR_NODE_EXIT | |||
) |
References osmo_ss7_asp::cfg, osmo_ss7_asp::remote, ss7_asp_peer_del_host(), and ss7_asp_peer_find_host().
DEFUN_ATTR | ( | asp_no_sctp_param_init | , |
asp_no_sctp_param_init_cmd | , | ||
"no sctp-param init " | ASP_SCTP_PARAM_INIT_FIELDS, | ||
NO_STR | ASP_SCTP_PARAM_INIT_DESC, | ||
CMD_ATTR_NODE_EXIT | |||
) |
DEFUN_ATTR | ( | asp_qos_clas | , |
asp_qos_class_cmd | , | ||
"qos-class " | QOS_CLASS_RANGE_STR, | ||
"Specify QoS Class of ASP\n" | QOS_CLASS_RANGE_HELP_STR, | ||
CMD_ATTR_NODE_EXIT | |||
) |
References osmo_ss7_asp::cfg, and osmo_ss7_asp::qos_class.
DEFUN_ATTR | ( | asp_quirk | , |
asp_quirk_cmd | , | ||
"OVERWRITTEN" | , | ||
"OVERWRITTEN\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
References asp_quirk_names, osmo_ss7_asp::cfg, and osmo_ss7_asp::quirks.
DEFUN_ATTR | ( | asp_remote_ip | , |
asp_remote_ip_cmd | , | ||
"remote-ip " VTY_IPV46_CMD " " | [primary], | ||
"Specify Remote IP Address of ASP\n" "Remote IPv4 Address of ASP\n" "Remote IPv6 Address of ASP\n" "Set remote address as SCTP Primary Address\n" | , | ||
CMD_ATTR_NODE_EXIT | |||
) |
DEFUN_ATTR | ( | asp_role | , |
asp_role_cmd | , | ||
"role (sg|asp|ipsp)" | , | ||
"Specify the xUA role for this ASP\n" "SG (Signaling Gateway)\n" "ASP (Application Server Process)\n" "IPSP (IP Signalling Point)\n" | , | ||
CMD_ATTR_NODE_EXIT | |||
) |
DEFUN_ATTR | ( | asp_sctp_param_init | , |
asp_sctp_param_init_cmd | , | ||
"sctp-param init " ASP_SCTP_PARAM_INIT_FIELDS " <0-65535>" | , | ||
ASP_SCTP_PARAM_INIT_DESC "Value of the parameter\n" | , | ||
CMD_ATTR_NODE_EXIT | |||
) |
References osmo_ss7_asp::cfg, 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::num_ostreams_present, osmo_ss7_asp::num_ostreams_value, and osmo_ss7_asp::sctp_init.
DEFUN_ATTR | ( | asp_shutdown | , |
asp_shutdown_cmd | , | ||
"shutdown" | , | ||
"Terminates SCTP association; New associations will be rejected\n" | , | ||
CMD_ATTR_NODE_EXIT | |||
) |
DEFUN_ATTR | ( | asp_timer | , |
asp_timer_cmd | , | ||
NULL | , | ||
NULL | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
References osmo_ss7_asp::cfg, ss7_asp_lm_timer_names, SS7_ASP_LM_TIMERS_LEN, and osmo_ss7_asp::T_defs_lm.
DEFUN_ATTR | ( | asp_transport_role | , |
asp_transport_role_cmd | , | ||
"transport-role (client|server)" | , | ||
"Specify the transport layer role for this ASP\n" "Operate as a client; connect to a server\n" "Operate as a server; wait for client connections\n" | , | ||
CMD_ATTR_NODE_EXIT | |||
) |
References osmo_ss7_asp::cfg, osmo_ss7_asp::is_server, and osmo_ss7_asp::trans_role_set_by_vty.
DEFUN_ATTR | ( | cs7_as | , |
cs7_as_cmd | , | ||
"as NAME " | XUA_VAR_STR, | ||
"Configure an Application Server\n" "Name of the Application Server\n" | XUA_VAR_HELP_STR, | ||
CMD_ATTR_IMMEDIATE | |||
) |
DEFUN_ATTR | ( | cs7_asp | , |
cs7_asp_cmd | , | ||
"asp NAME <0-65535> <0-65535> " | XUA_VAR_STR, | ||
"Configure Application Server Process\n" "Name of ASP\n" "Remote port number\n" "Local port number\n" | XUA_VAR_HELP_STR, | ||
CMD_ATTR_NODE_EXIT | |||
) |
References osmo_ss7_asp::cfg, osmo_ss7_asp::description, osmo_ss7_asp::inst, osmo_ss7_asp::is_server, osmo_ss7_asp::name, osmo_ss7_instance::name, osmo_ss7_asp_find2(), osmo_ss7_asp_find_or_create2(), OSMO_SS7_ASP_PROT_NONE, OSMO_SS7_ASP_ROLE_SG, parse_asp_proto(), parse_trans_proto(), osmo_ss7_asp::proto, osmo_ss7_asp::role, ss7_default_trans_proto_for_asp_proto(), and osmo_ss7_asp::trans_proto.
DEFUN_ATTR | ( | cs7_instance | , |
cs7_instance_cmd | , | ||
"cs7 instance <0-15>" | , | ||
CS7_STR "Configure a SS7 Instance\n" INST_STR "Number of the instance\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
DEFUN_ATTR | ( | cs7_net_ind | , |
cs7_net_ind_cmd | , | ||
"network-indicator (international | national | reserved | spare)" | , | ||
"Configure the Network Indicator\n" "International Network\n" "National Network\n" "Reserved Network\n" "Spare Network\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
References osmo_ss7_instance::cfg, osmo_ss7_instance::network_indicator, ni, and ss7_network_indicator_vals.
DEFUN_ATTR | ( | cs7_pc_delimiter | , |
cs7_pc_delimiter_cmd | , | ||
"point-code delimiter (default|dash)" | , | ||
PC_STR "Configure Point Code Delimiter\n" "Use dot as delimiter\n" "User dash as delimiter\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
References osmo_ss7_instance::cfg, osmo_ss7_pc_fmt::delimiter, and osmo_ss7_instance::pc_fmt.
DEFUN_ATTR | ( | cs7_pc_format | , |
cs7_pc_format_cmd | , | ||
"point-code format <1-24> " | [< 1-23 >][< 1-22 >], | ||
PC_STR "Configure Point Code Format\n" "Length of first PC component\n" "Length of second PC component\n" "Length of third PC component\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
References osmo_ss7_instance::cfg, osmo_ss7_pc_fmt::component_len, and osmo_ss7_instance::pc_fmt.
DEFUN_ATTR | ( | cs7_pc_format_def | , |
cs7_pc_format_def_cmd | , | ||
"point-code format default" | , | ||
PC_STR "Configure Point Code Format\n" "Default Point Code Format (3.8.3)\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
References osmo_ss7_instance::cfg, osmo_ss7_pc_fmt::component_len, and osmo_ss7_instance::pc_fmt.
DEFUN_ATTR | ( | cs7_permit_dyn_rkm | , |
cs7_permit_dyn_rkm_cmd | , | ||
"xua rkm routing-key-allocation (static-only|dynamic-permitted)" | , | ||
"SIGTRAN xxxUA related\n" "Routing Key Management\n" "Routing Key Management Allocation Policy\n" "Only static (pre-configured) Routing Keys permitted\n" "Dynamically allocate Routing Keys for what ASPs request\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
References osmo_ss7_instance::cfg, and osmo_ss7_instance::permit_dyn_rkm_alloc.
DEFUN_ATTR | ( | cs7_point_code | , |
cs7_point_code_cmd | , | ||
"point-code POINT_CODE" | , | ||
"Configure the local Point Code\n" "Point Code\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
DEFUN_ATTR | ( | cs7_route_table | , |
cs7_route_table_cmd | , | ||
"route-table system" | , | ||
"Specify the name of the route table\n" "Name of the route table\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
DEFUN_ATTR | ( | cs7_rt_rem | , |
cs7_rt_rem_cmd | , | ||
"remove route POINT_CODE MASK" | , | ||
"Remove a Route\n" "Remove a Route\n" "Destination Point Code\n" "Point Code Mask\n" "Point Code Length\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
DEFUN_ATTR | ( | cs7_rt_upd | , |
cs7_rt_upd_cmd | , | ||
"update route POINT_CODE MASK linkset LS_NAME " | [priority][" ROUTE_PRIO_VAR_STR "][qos-class][" QOS_CLASS_VAR_STR "], | ||
"Update the Route\n" "Update the Route\n" "Destination Point Code\n" "Point Code Mask\n" "Specify Destination Linkset\n" "Linkset Name\n" "Specify Priority\n" ROUTE_PRIO_VAR_HELP_STR "Specify QoS Class\n" | QOS_CLASS_VAR_HELP_STR, | ||
CMD_ATTR_IMMEDIATE | |||
) |
References osmo_ss7_route::cfg, dpc, osmo_ss7_route_table::inst, osmo_ss7_route::mask, osmo_ss7_pointcode_parse(), osmo_ss7_pointcode_parse_mask_or_len(), osmo_ss7_route::priority, osmo_ss7_route::qos_class, osmo_ss7_route::rtable, ss7_route_alloc(), ss7_route_destroy(), ss7_route_insert(), and ss7_route_set_linkset().
DEFUN_ATTR | ( | cs7_sccpaddr | , |
cs7_sccpaddr_cmd | , | ||
"sccp-address NAME" | , | ||
"Create/Modify an SCCP addressbook entry\n" "Name of the SCCP Address\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
DEFUN_ATTR | ( | cs7_sccpaddr_del | , |
cs7_sccpaddr_del_cmd | , | ||
"no sccp-address NAME" | , | ||
NO_STR "Delete an SCCP addressbook entry\n" "Name of the SCCP Address\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
References addr_entry_by_name_local(), and osmo_ss7_instance::name.
DEFUN_ATTR | ( | cs7_sccpaddr_gt | , |
cs7_sccpaddr_gt_cmd | , | ||
"global-title" | , | ||
"Add/Modify Global Title\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
References osmo_sccp_addr_entry::addr, OSMO_SCCP_ADDR_T_GT, and osmo_sccp_addr::presence.
DEFUN_ATTR | ( | cs7_sccpaddr_gt_del | , |
cs7_sccpaddr_gt_del_cmd | , | ||
"no global-title" | , | ||
NO_STR "Remove Global Title\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
References osmo_sccp_addr_entry::addr, osmo_sccp_addr::gt, and osmo_sccp_addr::presence.
DEFUN_ATTR | ( | cs7_sccpaddr_gt_digits | , |
cs7_sccpaddr_gt_digits_cmd | , | ||
"digits DIGITS" | , | ||
"Set Global Title Digits\n" "Number digits\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
References osmo_sccp_addr_entry::addr, osmo_sccp_gt::digits, and osmo_sccp_addr::gt.
DEFUN_ATTR | ( | cs7_sccpaddr_gt_gti | , |
cs7_sccpaddr_gt_gti_cmd | , | ||
"global-title-indicator <0-15>" | , | ||
"Set Global Title Indicator\n" "GTI\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
References osmo_sccp_addr_entry::addr, osmo_sccp_addr::gt, and osmo_sccp_gt::gti.
DEFUN_ATTR | ( | cs7_sccpaddr_gt_nai | , |
cs7_sccpaddr_gt_nai_cmd | , | ||
"nature-of-address-indicator <0-127>" | , | ||
"Set Global Title Nature of Address Indicator\n" "NAI\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
References osmo_sccp_addr_entry::addr, osmo_sccp_addr::gt, and osmo_sccp_gt::nai.
DEFUN_ATTR | ( | cs7_sccpaddr_gt_npi | , |
cs7_sccpaddr_gt_npi_cmd | , | ||
"numbering-plan-indicator <0-15>" | , | ||
"Set Global Title Numbering Plan Indicator\n" "NPI\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
References osmo_sccp_addr_entry::addr, osmo_sccp_addr::gt, and osmo_sccp_gt::npi.
DEFUN_ATTR | ( | cs7_sccpaddr_gt_tt | , |
cs7_sccpaddr_gt_tt_cmd | , | ||
"translation-type <0-255>" | , | ||
"Set Global Title Translation Type\n" "TT\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
References osmo_sccp_addr_entry::addr, osmo_sccp_addr::gt, and osmo_sccp_gt::tt.
DEFUN_ATTR | ( | cs7_sccpaddr_pc | , |
cs7_sccpaddr_pc_cmd | , | ||
"point-code POINT_CODE" | , | ||
"Add point-code Number\n" "PC\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
DEFUN_ATTR | ( | cs7_sccpaddr_pc_del | , |
cs7_sccpaddr_pc_del_cmd | , | ||
"no point-code" | , | ||
NO_STR "Remove point-code Number\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
References osmo_sccp_addr_entry::addr, osmo_sccp_addr::pc, and osmo_sccp_addr::presence.
DEFUN_ATTR | ( | cs7_sccpaddr_ri | , |
cs7_sccpaddr_ri_cmd | , | ||
"routing-indicator (GT|PC|IP)" | , | ||
"Add Routing Indicator\n" "by global-title\n" "by point-code\n" "by ip-address\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
DEFUN_ATTR | ( | cs7_sccpaddr_ssn | , |
cs7_sccpaddr_ssn_cmd | , | ||
"subsystem-number <0-4294967295>" | , | ||
"Add Subsystem Number\n" "SSN\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
DEFUN_ATTR | ( | cs7_sccpaddr_ssn_del | , |
cs7_sccpaddr_ssn_del_cmd | , | ||
"no subsystem-number" | , | ||
NO_STR "Remove Subsystem Number\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
References osmo_sccp_addr_entry::addr, osmo_sccp_addr::presence, and osmo_sccp_addr::ssn.
DEFUN_ATTR | ( | cs7_secondary_pc | , |
cs7_secondary_pc_cmd | , | ||
"secondary-pc POINT_CODE" | , | ||
"Configure the local Secondary Point Code\n" "Point Code\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
DEFUN_ATTR | ( | cs7_xua | , |
cs7_xua_cmd | , | ||
"listen " XUA_VAR_STR " <0-65534> " | [" IPPROTO_VAR_STR "], | ||
"Configure/Enable xUA Listener\n" XUA_VAR_HELP_STR "Port number\n" | IPPROTO_VAR_HELP_STR, | ||
CMD_ATTR_IMMEDIATE | |||
) |
DEFUN_ATTR | ( | no_cs7_as | , |
no_cs7_as_cmd | , | ||
"no as NAME" | , | ||
NO_STR "Disable Application Server\n" "Name of AS\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
DEFUN_ATTR | ( | no_cs7_asp | , |
no_cs7_asp_cmd | , | ||
"no asp NAME" | , | ||
NO_STR "Disable Application Server Process\n" "Name of ASP\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
DEFUN_ATTR | ( | no_cs7_xua | , |
no_cs7_xua_cmd | , | ||
"no listen " XUA_VAR_STR " <0-65534> " | [" IPPROTO_VAR_STR "], | ||
NO_STR "Disable xUA Listener on given port\n" XUA_VAR_HELP_STR "Port number\n" | IPPROTO_VAR_HELP_STR, | ||
CMD_ATTR_IMMEDIATE | |||
) |
DEFUN_ATTR | ( | xua_accept_dyn_asp | , |
xua_accept_dyn_asp_cmd | , | ||
"accept-asp-connections (pre-configured|dynamic-permitted)" | , | ||
"Define what kind of ASP connections to accept\n" "Accept only pre-configured ASPs (source IP/port)\n" "Accept any connection and dynamically create an ASP definition\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
References osmo_xua_server::accept_dyn_reg, and osmo_xua_server::cfg.
DEFUN_ATTR | ( | xua_local_ip | , |
xua_local_ip_cmd | , | ||
"local-ip " | VTY_IPV46_CMD, | ||
"Configure the Local IP Address for xUA\n" "IPv4 Address to use for XUA\n" "IPv6 Address to use for XUA\n" | , | ||
CMD_ATTR_IMMEDIATE | |||
) |
References ss7_xua_server_add_local_host().
DEFUN_ATTR | ( | xua_no_local_ip | , |
xua_no_local_ip_cmd | , | ||
"no local-ip " | VTY_IPV46_CMD, | ||
NO_STR "Configure the Local IP Address for xUA\n" "IPv4 Address to use for XUA\n" "IPv6 Address to use for XUA\n" | , | ||
CMD_ATTR_NODE_EXIT | |||
) |
References ss7_xua_server_del_local_host().
DEFUN_ATTR | ( | xua_no_sctp_param_init | , |
xua_no_sctp_param_init_cmd | , | ||
"no sctp-param init " | XUA_SRV_SCTP_PARAM_INIT_FIELDS, | ||
NO_STR | XUA_SRV_SCTP_PARAM_INIT_DESC, | ||
CMD_ATTR_NODE_EXIT | |||
) |
DEFUN_ATTR | ( | xua_sctp_param_init | , |
xua_sctp_param_init_cmd | , | ||
"sctp-param init " XUA_SRV_SCTP_PARAM_INIT_FIELDS " <0-65535>" | , | ||
XUA_SRV_SCTP_PARAM_INIT_DESC "Value of the parameter\n" | , | ||
CMD_ATTR_NODE_EXIT | |||
) |
DEFUN_USRATTR | ( | as_no_traf_mode | , |
as_no_traf_mode_cmd | , | ||
OSMO_SCCP_LIB_ATTR_RSTRT_ASP | , | ||
"no traffic-mode" | , | ||
NO_STR "Remove explicit traffic mode of operation of this AS\n" | |||
) |
References osmo_ss7_as::cfg, osmo_ss7_as::mode, and osmo_ss7_as::mode_set_by_vty.
DEFUN_USRATTR | ( | as_traf_mode | , |
as_traf_mode_cmd | , | ||
OSMO_SCCP_LIB_ATTR_RSTRT_ASP | , | ||
"traffic-mode (broadcast | loadshare | roundrobin | override)" | , | ||
"Specifies traffic mode of operation of the ASP within the AS\n" "Broadcast to all ASP within AS\n" "Share Load among all ASP within AS\n" "Round-Robin between all ASP within AS\n" "Override\n" | |||
) |
|
static |
References ss7_asp_lm_timer_defaults, and ss7_asp_lm_timer_names.
Referenced by vty_init_shared().
|
static |
Referenced by show_one_asp().
LLIST_HEAD | ( | sccp_address_book_global | ) |
struct osmo_ss7_instance * osmo_sccp_addr_by_name | ( | struct osmo_sccp_addr * | dest_addr, |
const char * | name | ||
) |
Lookup an SCCP address from the addressbook by its name.
[out] | dest_addr | pointer to output the resulting sccp-address; (set to NULL if not interested) |
[in] | name | of the address to lookup |
References osmo_sccp_addr_entry::addr, addr_entry_by_name_global(), osmo_sccp_addr_entry::inst, and osmo_sccp_addr_entry::name.
int osmo_sccp_addr_by_name_local | ( | struct osmo_sccp_addr * | dest_addr, |
const char * | name, | ||
const struct osmo_ss7_instance * | inst | ||
) |
Lookup an SCCP address from the addressbook of a specific instance by its name.
[out] | dest_addr | pointer to output the resulting sccp-address; (set to NULL if not interested) |
[in] | name | of the address to lookup |
[in] | inst | ss7 instance of which the address book will be searched |
References osmo_sccp_addr_entry::addr, addr_entry_by_name_local(), osmo_sccp_addr_entry::inst, and osmo_sccp_addr_entry::name.
const char * osmo_sccp_name_by_addr | ( | const struct osmo_sccp_addr * | addr | ) |
Reverse lookup the lookup-name of a specified SCCP address.
[in] | name | of the address to lookup |
References osmo_sccp_addr_entry::addr, osmo_sccp_addr_entry::list_global, and osmo_sccp_addr_entry::name.
int osmo_ss7_is_config_node | ( | struct vty * | vty, |
int | node | ||
) |
int osmo_ss7_vty_go_parent | ( | struct vty * | vty | ) |
void osmo_ss7_vty_init_asp | ( | void * | ctx | ) |
References cs7_role, CS7_ROLE_ASP, and vty_init_shared().
void osmo_ss7_vty_init_sg | ( | void * | ctx | ) |
References cs7_role, CS7_ROLE_SG, rtable_node, vty_init_shared(), and xua_node.
|
static |
References osmo_ss7_asp_protocol_vals.
Referenced by DEFUN(), and DEFUN_ATTR().
|
static |
References ipproto_vals.
Referenced by DEFUN(), and DEFUN_ATTR().
|
static |
References osmo_ss7_instance::asp_list, osmo_ss7_asp::inst, osmo_ss7_asp::list, osmo_ss7_asp_find_by_name(), osmo_ss7_instance_find(), and show_one_asp().
Referenced by DEFUN().
|
static |
References osmo_ss7_instance::asp_list, osmo_ss7_asp::inst, osmo_ss7_asp::list, osmo_ss7_asp_find_by_name(), osmo_ss7_instance_find(), and show_one_asp_assoc_status().
Referenced by DEFUN().
|
static |
References osmo_ss7_instance::asp_list, osmo_ss7_asp::inst, osmo_ss7_asp::list, osmo_ss7_asp_find_by_name(), osmo_ss7_instance_find(), and show_one_asp_remaddr().
Referenced by DEFUN().
|
static |
References as_list_for_asp(), osmo_ss7_asp::cfg, osmo_ss7_asp::fi, get_sockname_buf(), osmo_ss7_asp::is_server, osmo_ss7_asp::local, osmo_ss7_asp::name, osmo_ss7_asp_protocol_vals, osmo_ss7_asp_role_names, osmo_ss7_asp::proto, osmo_ss7_asp::remote, osmo_ss7_asp::role, ss7_asp_get_fd(), ss7_asp_peer_snprintf(), and osmo_ss7_asp::trans_proto.
Referenced by show_asp().
|
static |
References osmo_ss7_asp::cfg, osmo_ss7_asp::name, show_one_asp_assoc_status_tcp(), and osmo_ss7_asp::trans_proto.
Referenced by show_asp_assoc_status().
|
static |
References osmo_ss7_asp::cfg, len, osmo_ss7_asp::name, ss7_asp_get_fd(), and tcp_info_state_values.
Referenced by show_one_asp_assoc_status().
|
static |
References osmo_ss7_asp::cfg, osmo_ss7_asp::name, show_one_asp_remaddr_tcp(), and osmo_ss7_asp::trans_proto.
Referenced by show_asp_remaddr().
|
static |
References osmo_ss7_asp::cfg, len, osmo_ss7_asp::name, ss7_asp_get_fd(), and tcp_info_state_values.
Referenced by show_one_asp_remaddr().
|
static |
|
static |
|
static |
References sccpaddr_gt_node, and sccpaddr_node.
Referenced by vty_init_shared().
|
static |
References as_node, asp_node, asp_quirk_descs, asp_quirk_names, config_write_cs7(), cs7_node, g_ctx, gen_asp_timer_cmd_strs(), and vty_init_addr().
Referenced by osmo_ss7_vty_init_asp(), and osmo_ss7_vty_init_sg().
|
static |
References osmo_ss7_instance::list, osmo_ss7_instances, and write_one_cs7().
Referenced by config_write_cs7(), and DEFUN().
|
static |
References osmo_ss7_asp::cfg, ss7_asp_lm_timer_names, and osmo_ss7_asp::T_defs_lm.
Referenced by write_one_asp().
|
static |
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_asp::dyn_allocated, osmo_ss7_as::inst, 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_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, and osmo_ss7_routing_key::ssn.
Referenced by write_one_cs7().
|
static |
References asp_quirk_names, osmo_ss7_asp::cfg, 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::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_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::trans_proto, and write_asp_timers().
Referenced by write_one_cs7().
|
static |
References osmo_ss7_instance::as_list, osmo_ss7_instance::asp_list, osmo_ss7_instance::cfg, osmo_ss7_pc_fmt::component_len, cs7_role, CS7_ROLE_SG, osmo_ss7_pc_fmt::delimiter, osmo_ss7_instance::description, osmo_ss7_instance::id, osmo_xua_server::inst, osmo_xua_server::list, osmo_ss7_instance::network_indicator, osmo_sccp_vty_write_cs7_node(), osmo_ss7_pc_is_valid(), osmo_ss7_pointcode_print(), osmo_ss7_instance::pc_fmt, osmo_ss7_instance::permit_dyn_rkm_alloc, osmo_ss7_instance::primary_pc, osmo_ss7_instance::rtable_list, osmo_ss7_instance::sccp, osmo_ss7_instance::secondary_pc, ss7_network_indicator_vals, write_one_as(), write_one_asp(), write_one_rtable(), write_one_xua(), write_sccp_addressbook(), and osmo_ss7_instance::xua_servers.
Referenced by write_all_cs7().
|
static |
References osmo_ss7_route::cfg, osmo_ss7_route_table::cfg, osmo_ss7_route_table::description, osmo_ss7_route_table::inst, osmo_ss7_route::linkset_name, osmo_ss7_route::list, osmo_ss7_route::mask, osmo_ss7_route_table::name, osmo_ss7_pointcode_print(), osmo_ss7_pointcode_print2(), OSMO_SS7_ROUTE_PRIO_DEFAULT, osmo_ss7_route::pc, osmo_ss7_route::priority, osmo_ss7_route::qos_class, osmo_ss7_route_table::routes, and osmo_ss7_route::rtable.
Referenced by write_one_cs7().
|
static |
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().
|
static |
References osmo_sccp_addr_entry::addr, osmo_ss7_instance::cfg, osmo_sccp_gt::digits, osmo_sccp_addr::gt, osmo_sccp_gt::gti, osmo_sccp_addr_entry::inst, osmo_sccp_addr_entry::list, osmo_sccp_gt::nai, osmo_sccp_addr_entry::name, osmo_sccp_gt::npi, OSMO_SCCP_ADDR_T_GT, OSMO_SCCP_ADDR_T_PC, OSMO_SCCP_ADDR_T_SSN, OSMO_SCCP_RI_GT, OSMO_SCCP_RI_NONE, OSMO_SCCP_RI_SSN_IP, OSMO_SCCP_RI_SSN_PC, osmo_ss7_pointcode_print(), osmo_sccp_addr::pc, osmo_sccp_addr::presence, osmo_sccp_addr::ri, osmo_ss7_instance::sccp_address_book, osmo_sccp_addr::ssn, and osmo_sccp_gt::tt.
Referenced by write_one_cs7().
|
static |
Referenced by vty_init_shared().
|
static |
Referenced by vty_init_shared().
|
static |
Referenced by vty_init_shared().
|
static |
Referenced by DEFUN_ATTR(), vty_init_shared(), and write_one_asp().
|
static |
Referenced by vty_init_shared().
|
static |
Referenced by _rout_key(), osmo_ss7_vty_init_asp(), osmo_ss7_vty_init_sg(), and write_one_cs7().
|
static |
Referenced by DEFUN_ATTR(), and vty_init_shared().
|
static |
Referenced by parse_trans_proto(), vty_dump_xua_server(), write_one_asp(), and write_one_xua().
const struct value_string mtp_si_vals[] |
Referenced by _rout_key(), write_one_as(), and xua_snm_rx_dupu().
|
static |
Referenced by osmo_ss7_vty_init_sg().
|
static |
Referenced by vty_init_addr().
|
static |
Referenced by vty_init_addr().
|
static |
Referenced by DEFUN_ATTR(), and write_one_cs7().
|
static |
Referenced by show_one_asp_assoc_status_tcp(), and show_one_asp_remaddr_tcp().
|
static |
Referenced by osmo_ss7_vty_init_sg().