OpenSS7 SS7 for the Common Man | © Copyright 1997-2007 OpenSS7 Corporation All Rights Reserved. Last modified: Sun, 05 Mar 2006 08:34:05 GMT | |||||||||||||||||||
| ||||||||||||||||||||
| Base Station System Application Protocol (BSSAP)Description: OpenSS7 Project Manual Pages SS7 StackBSSAPSection: The OpenSS7 Project Devices (4)Updated: Mon, 24 Nov 2008 13:17:10 GMT Index Return to Main Contents NAMEBSSAP - Base Station System (BSS) Application Part (BSSAP) DriverSYNOPSIS#include <ss7/cci.h>
DESCRIPTIONBSSAP
MSSAP is a implemented as a STREAMS(4) multiplexing driver. sccp(4) or sua(4) streams are linked under the BSSAP multiplexing driver using the I_LINK or I_PLINK comands of streamio(7), to provide data link services to BSSAP. Once linked, the streams are configured using the IO controls listed below under ``IOCTLS''. BSSAP provides the stream types listed below. To select a stream, device can be selected from the following:
IOCTLS
Options
typedef struct gsma_option { ulong type; /* object type */ ulong id; /* object id */ /* followed by object-specific options structure */ } gsma_option_t; For the following IO controls, arg is a pointer to a gsma_option structure.
ConfigurationConfiguration can be managed using the IO control described below. For configuration IO controls, arg points to a gsma_config structure followed by an object type sepcific configuration structure described under ``OBJECTS'', below. The gsma_config structure is formatted as follows: typedef struct gsma_config { ulong type; /* object type */ ulong id; /* object id */ ulong cmd; /* object command */ /* followed by object-specific configuration structures */ } gsma_config_t; The gsma_config structure has the following members:
The configuration command, cmd, can be one of the following values:
The following IO controls are defined for confiruation management:
StateState can be managed using the IO controls described below. For state management IO controls, arg points to a gsma_statem structure folled by an object type specific state structure described under ``OBJECTS'', below. The gsma_statem structure is formatted as follows: typedef struct gsma_statem { ulong type; /* object type */ ulong id; /* object id */ ulong flags; /* object primary flags */ ulong statem; /* object primary state */ /* followed by object-specific configuration structures */ } gsma_statem_t; The gsma_statem structure has the following members:
The following IO controls are defined for configuration management:
StatisticsStatistics can be collected and collection intervals managed using the IO controls described below. For statistics management IO controls, arg points to a gsma_stats structure, followed by an object-type-specific statistics structure described under ``OBJECTS'', below. The gsma_stats structure is formatted as follows: typedef struct gsma_stats { ulong type; /* object type */ ulong id; /* object id */ ulong header; /* object stats header */ /* followed by object-specific configuration structures */ } gsma_stats_t; The gsma_stats structure has the following members:
The following IO controls are defined for statistics collection and management:
EventsEvents can be managed using the IO controls described below. For event management IO controls, arg points to a gsma_notify structure. The gsma_notify structure is formatted as follows: typedef struct gsma_notify { ulong type; /* object type */ ulong id; /* object id */ lmi_notify_t notify; /* object notifications */ /* followed by object-specific configuration structures */ } gsma_notify_t; The gsma_notify structure has the following members:
The following IO controls are defined for event management:
When an event occurs for an active notification, a CC_MAINT_IND(7) indication will be generated by the CCS provider. ManagementObjects can be managed using the IO controls described below. For object management IO controls, arg points to a gsma_mgmt structure formatted as follows: typedef struct gsma_mgmt { ulong type; /* object type */ ulong id; /* object id */ ulong cmd; /* object command */ } gsma_mgmt_t; The gsma_mgmt structure has the following members:
The management command, cmd, may be one of the following values:
The following IO controls are defined for object management:
OBJECTSBSSAP provides for management of a number of managed object. These objects are of a number of types as follows:
GSMA_OBJ_TYPE_DFConfiguration typedef struct gsma_conf_df { } gsma_conf_df_t; Options typedef struct gsma_opt_conf_df { } gsma_opt_conf_df_t; State typedef struct gsma_timers_df { } gsma_timers_df_t; typedef struct gsma_statem_df { gsma_timers_df_t timers; } gsma_statem_df_t; Statistics typedef struct gsma_stats_df { } gsma_stats_df_t; Events GSMA_OBJ_TYPE_CCConfiguration Options State Statistics Events GSMA_OBJ_TYPE_CRConfiguration typedef struct gsma_conf_cr { } gsma_conf_cr_t; Options typedef struct gsma_opt_conf_cr { } gsma_opt_conf_cr_t; State typedef struct gsma_timers_cr { } gsma_timers_cr_t; typedef struct gsma_statem_cr { gsma_timers_cr_t timers; } gsma_statem_cr_t; Statistics typedef struct gsma_stats_cr { } gsma_stats_cr_t; Events GSMA_OBJ_TYPE_CTConfiguration typedef struct gsma_conf_ct { } gsma_conf_ct_t; Options typedef struct gsma_opt_conf_ct { } gsma_opt_conf_ct_t; State typedef struct gsma_timers_ct { } gsma_timers_ct_t; typedef struct gsma_statem_ct { gsma_timers_ct_t timers; } gsma_statem_ct_t; Statistics typedef struct gsma_stats_ct { } gsma_stats_ct_t; Events GSMA_OBJ_TYPE_CGConfiguration typedef struct gsma_conf_cg { } gsma_conf_cg_t; Options typedef struct gsma_opt_conf_cg { } gsma_opt_conf_cg_t; State typedef struct gsma_timers_cg { } gsma_timers_cg_t; typedef struct gsma_statem_cg { gsma_timers_cg_t timers; } gsma_statem_cg_t; Statistics typedef struct gsma_stats_cg { } gsma_stats_cg_t; Events GSMA_OBJ_TYPE_SCConfiguration typedef struct gsma_conf_sc { } gsma_conf_sc_t; Options typedef struct gsma_opt_conf_sc { } gsma_opt_conf_sc_t; State typedef struct gsma_timers_sc { } gsma_timers_sc_t; typedef struct gsma_statem_sc { gsma_timers_sc_t timers; } gsma_statem_sc_t; Statistics typedef struct gsma_stats_sc { } gsma_stats_sc_t; Events GSMA_OBJ_TYPE_MSConfiguration typedef struct gsma_conf_ms { } gsma_conf_ms_t; Options typedef struct gsma_opt_conf_ms { } gsma_opt_conf_ms_t; State typedef struct gsma_timers_ms { } gsma_timers_ms_t; typedef struct gsma_statem_ms { gsma_timers_ms_t timers; } gsma_statem_ms_t; Statistics typedef struct gsma_stats_ms { } gsma_stats_ms_t; Events GSMA_OBJ_TYPE_BSSConfiguration typedef struct gsma_conf_bss { ulong spid; /* local signalling point id */ struct sccp_addr add; /* remote signalling address */ lmi_option_t proto; /* protocol variant and options */ } gsma_conf_bss_t; Options typedef struct gsma_opt_conf_bss { /* timer values */ } gsma_opt_conf_bss_t; State typedef struct gsma_timers_bss { } gsma_timers_bss_t; typedef struct gsma_statem_bss { gsma_timers_bss_t timers; } gsma_statem_bss_t; Statistics typedef struct gsma_stats_bss { } gsma_stats_bss_t; Events GSMA_OBJ_TYPE_MSCConfiguration typedef struct gsma_conf_msc { ulong spid; /* local signalling point id */ struct sccp_addr add; /* remote signalling address */ lmi_option_t proto; /* protocol variant and options */ } gsma_conf_msc_t; Options typedef struct gsma_opt_conf_msc { } gsma_opt_conf_msc_t; State typedef struct gsma_timers_msc { } gsma_timers_msc_t; typedef struct gsma_statem_msc { gsma_timers_msc_t timers; } gsma_statem_msc_t; Statistics typedef struct gsma_stats_msc { } gsma_stats_msc_t; Events GSMA_OBJ_TYPE_SPConfiguration typedef struct gsma_conf_sp { ulong spid; /* local signalling point identifier */ ulong srid; /* remote signalling point identifier */ ulong muxid; /* lower multiplexing driver id (SCCP connectionless) */ lmi_option_t proto; /* protocol variant and options */ } gsma_conf_sp_t; Options typedef struct gsma_opt_conf_sp { } gsma_opt_conf_sp_t; State typedef struct gsma_timers_sp { } gsma_timers_sp_t; typedef struct gsma_statem_sp { gsma_timers_sp_t timers; ulong tst_bind; ulong mgm_bind; ulong mnt_bind; ulong icc_bind; ulong ogc_bind[0]; /* followed by bound streams for outgoing calls */ } gsma_statem_sp_t; Statistics typedef struct gsma_stats_sp { } gsma_stats_sp_t; Events IDENTIFICATION
Copyright©1997-2008OpenSS7 Corp.
IndexThis document was created by man2html, using the manual pages. Time: 13:17:10 GMT, November 24, 2008 | |||||||||||||||||||
OpenSS7 SS7 for the Common Man |
| |||||||||||||||||||
Last modified: Sun, 05 Mar 2006 08:34:05 GMT © Copyright 1997-2007 OpenSS7 Corporation All Rights Reserved. |