📄 sli.7
字号:
sl_ulong sl_primitive; sl_ulong sl_timestamp; sl_ulong sl_reason;} sl_out_of_service_t;.fi.TP 14.I sl_primitiveContains the primitive \fBSL_IN_SERVICE_IND\fR..TP.I sl_timestampContains the timestamp (system time) that this event occured for the purposeof event reporting..TP.I sl_reasonContains the failure reason for management reporting. The reason may be oneof the following:.RE.sp.RS.TStab(:);lb 2 l..THSL_FAIL_UNSPECIFIED:Unknown.SL_FAIL_CONG_TIMEOUT:Timeout (T6).SL_FAIL_ACK_TIMEOUT:Timeout (T7).SL_FAIL_ABNORMAL_BSNR:Abnormal BSN.SL_FAIL_ABNORMAL_FIBR:Abnormal FIB.SL_FAIL_SUERM_EIM:SUERM/EIM failure.SL_FAIL_ALIGNMENT_NOT_POSSIBLE:Alignment failure.SL_FAIL_RECEIVED_SIO:Received SIO.SL_FAIL_RECEIVED_SIN:Received SIN.SL_FAIL_RECEIVED_SIE:Received SIE.SL_FAIL_RECEIVED_SIOS:Received SIOS.SL_FAIL_T1_TIMEOUT:Timeout (T1)..TE.RE.TP.B SL_REMOTE_PROCESSOR_OUTAGE_INDIndicates that the remote side of the link has lost communication with its L3processor.This primitive indicates additional information for eventreporting in the \fBsl_rem_proc_out_ind_t\fR structure as follows:.sp.RS.nftypedef struct { sl_ulong sl_primitive; sl_ulong sl_timestamp;} sl_rem_proc_out_ind_t;.fi.TP 14.I sl_primitiveContains the primitive \fBSL_REMOTE_PROCESSOR_OUTAGE_IND\fR..TP.I sl_timestampContains the timestamp (system time) that this event occured for the purposeof event reporting..RE.TP.B SL_REMOTE_PROCESSOR_RECOVERED_INDIndicates that the remote side of the link has re-established communicationswith its L3 processor.This primitive indicates additional information for eventreporting in the \fBsl_rem_proc_recovered_ind_t\fR structure as follows:.sp.RS.nftypedef struct { sl_ulong sl_primitive; sl_ulong sl_timestamp;} sl_rem_proc_recovered_ind_t;.fi.TP 14.I sl_primitiveContains the primitive \fBSL_REMOTE_PROCESSOR_RECOVERED_IND\fR..TP.I sl_timestampContains the timestamp (system time) that this event occured for the purposeof event reporting..RE.TP.B SL_RTB_CLEARED_INDIndicates that the Re-Transmission Buffer (RTB) has been cleared..SH "PROTOCOL MANAGEMENT INTERFACE".PPProtocol management interface comands are from the stream head to the SLdriver using \fBstreamio\fR(8) \fBI_STR\fR commands as follows:.RS 4.nf\fIfd\fB = open("\fI/dev/sl\fB");\fIret\fB = ioctl(\fIfd\fB, \fRI_STR\fB, \fIarg\fB);.fi.RE.PPWhere \fIarg\fR is a pointer to a \fBstrioctl\fR structure which contains thefollowing members:.sp.RS 4.nfstruct strioctl { int ic_cmd; int ic_timout; int ic_len; char *ic_dp;};.fi.RE.PP\fIic_cmd\fR can be one of the protocol management interfacecommands described in the following subsections:.SS "Protocol Options".PPProtocol management controls which affect protocol options are used by localmanagement to set protocol variants and protocol options inherent to the SLprovider..PPThe \fIic_cmd\fR contains one of the following options commands:.TP.B SL_IOCGOPTIONSGets the protocol variant \fIpvar\fR and protocol options \fIpopt\fRassigned to the Signalling Link into the provided \fBlmi_option\fRstructure..TP.B SL_IOCSOPTIONSSets the protocol variant \fIpvar\fR and protocol options \fIpopt\fR to theSignalling Link as provided in the \fBlmi_option\fR structure..PP\fIic_dp\fR points to a \fBlmi_option\fR structure whichrepresents the protocol variant and options parameters as follows:.PP.RS 4.nftypedef struct lmi_option { lmi_ulong pvar; lmi_ulong popt;} lmi_option_t;.fi.TP.I pvarSpecifies the protocol variant to be used for the Signalling Link andmay be one of the following values:.RE.RS 4.IP.TStab(:);lbw(16) 2 l..THSS7_PVAR_ITUT_88:ITU-T Q.703 1988 (Blue Book)SS7_PVAR_ITUT_93:ITU-T Q.703 1993 (Grey Book)SS7_PVAR_ITUT_96:ITU-T Q.703 1996 (White Book)SS7_PVAR_ITUT_00:ITU-T Q.703 2000 (? Book)SS7_PVAR_ANSI_88:ANSI T1.113-1988SS7_PVAR_ANSI_92:ANSI T1.113-1992SS7_PVAR_ANSI_96:ANSI T1.113-1996SS7_PVAR_ANSI_00:ANSI T1.113-2000SS7_PVAR_ETSI_88:ETSI 300 008-1 1988SS7_PVAR_ETSI_93:ETSI 300 008-1 1993SS7_PVAR_ETSI_96:ETSI 300 008-1 1996SS7_PVAR_ETSI_00:ETSI 300 008-1 2000SS7_PVAR_JTTC_94:JTTC JQ.703 1994.TE.RE.RS 4.TP.I poptSpecifies the protocol options to be used for the Signalling Link andmay be a bitwise OR of any of the following values:.RE.RS 4.IP.TStab(:);lbw(16) 2 l..THSS7_POPT_MPLEV:Multi Priority/Cong LevelsSS7_POPT_PCR:Preventative Cyclic RetransSS7_POPT_HSL:High Speed LinksSS7_POPT_XSN:Extended Sequence NumbersSS7_POPT_ALL:All options.TE.RE.SS "Protocol Configuration".PPProtocol management controls which affect protocol configuration are invokedby local management to configure or request configuration information from theSL provider..PPThe \fIic_cmd\fR contains one of the following configuration commands:.TP.B SL_IOCGCONFIGGets the protocol configuration of the Signalling Link into theprovided \fBsl_config\fR structure..TP.B SL_IOCSCONFIGSets the protocol configuration of the Signalling Link from theprovided \fBsl_config\fR structure..TP.B SL_IOCTCONFIGTests the protocol configuration as provided in the \fBsl_config\fR structureagainst the Signalling Link for consistency and validity. Also locksthe configuration of the SL provider awaiting a commit..TP.B SL_IOCCCONFIGCommits the protocol configuration as provided in the \fBsl_config\fRstructure to the Signalling Link. Also unlocks the configuration ofthe SL provider..PP\fIic_dp\fR points to a \fBsl_config\fR structure which represents theSignalling Link protocol configuration as follows:.PP.RS 4.nftypedef struct sl_config { sl_ulong t1; sl_ulong t2; sl_ulong t2l; sl_ulong t2h; sl_ulong t3; sl_ulong t4n; sl_ulong t4e; sl_ulong t5; sl_ulong t6; sl_ulong t7; sl_ulong rb_abate; sl_ulong rb_accept; sl_ulong rb_discard; sl_ulong tb_abate_1; sl_ulong tb_onset_1; sl_ulong tb_discd_1; sl_ulong tb_abate_2; sl_ulong tb_onset_2; sl_ulong tb_discd_2; sl_ulong tb_abate_3; sl_ulong tb_onset_3; sl_ulong tb_discd_3; sl_ulong N1; sl_ulong N2; sl_ulong M;} sl_config_t;.fi.TP.IR t1 ", " t2 ", " t2l ", " t2h ", " t3 ", " t4n ", " t4e ", " t5 ", " t6 ", " t7Contains the timeout values for Level 2 timers (in jiffies or ticks)..TP.IR rb_abate ", " rb_accept ", " rb_discardContains the accept, discard and abate levels of the Receive Buffer (RB) ininteger numbers of messages..TP.IR tb_abate_1 ", " tb_onset_1 ", " tb_discd_1Contains the onset, discard and abate levels for congestion level 1 of theTransmission/Re-Transmission Buffers (TB/RTB) in number of message bytes..TP.IR tb_abate_2 ", " tb_onset_2 ", " tb_discd_2Contains the onset, discard and abate levels for congestion level 2 of theTransmission/Re-Transmission Buffers (TB/RTB) in number of message bytes..TP.IR tb_abate_3 ", " tb_onset_3 ", " tb_discd_3Contains the onset, discard and abate levels for congestion level 3 of theTransmission/Re-Transmission Buffers (TB/RTB) in number of message bytes..TP.IR N1 ", " N2Contains the Re-Transmission Buffer (RTB) occupancy which triggers forcedretransmission in numbers of messages (\fIN1\fR) and number of message bytes(\fIN2\fR)..TP.IR MContains the number of normal proving periods which must be successfullypassed during normal alignment procedures (usually 5)..SS "Protocol State".PPProtocol management controls which affect protocol state are invoked by localmanagement to request information about the state of the protocol statemachines in the SL provider..PPThe \fIic_cmd\fR contains one of the following state commands:.TP.B SL_IOCGSTATEMGets the protocol state machine variables of the Signalling Link intothe provided \fBsl_statem\fR structure..TP.B SL_IOCCMRESETPerforms a master reset on the protocol state machines and returns thepower-on settings of the state machine variables of the Signalling Linkinto the provided \fBsl_statem\fR structure..PP\fIic_dp\fR points to a \fBsl_statem\fR structure which represents theSignalling Link protocol state as follows:.PP.RS 4.nftypedef struct sl_statem { sl_ulong lsc_state; sl_ulong local_processor_outage; sl_ulong remote_processor_outage; sl_ulong processor_outage; sl_ulong emergency; sl_ulong l3_indication_received; sl_ulong failure_reason; sl_ulong iac_state; sl_ulong further_proving; sl_ulong t4v; sl_ulong Cp; sl_ushort ib_mask; sl_ushort sn_mask; sl_ulong txc_state; tx_sni_t tx; sl_ulong msu_inhibited; sl_ulong lssu_available; sl_ulong rtb_full; sl_ulong clear_rtb; sl_ulong sib_received; sl_ulong retrans_cycle; sl_ulong forced_retransmission; sl_ulong Cm; sl_ulong Ct; sl_ulong cong_level; sl_ulong disc_level; sl_ulong Z; void *z_ptr; sl_ulong rc_state; rx_sni_t rx; sl_ulong rtr; sl_ulong unb; sl_ulong unf; sl_ulong msu_fisu_accepted; sl_ulong abnormal_bsnr; sl_ulong abnormal_fibr; sl_ulong congestion_discard; sl_ulong congestion_accept; sl_ulong l2_congestion_detect; sl_ulong l3_congestion_detect; sl_ulong Cr; sl_ulong cc_state; sl_ulong poc_state;} sl_statem_t;.fi.TP\fIlsc_state\fR,\fIlocal_processor_outage\fR, \fIremote_processor_outage\fR, \fIprocessor_outage\fR, \fIemergency\fR, \fIl3_indication_received\fR, \fIfailure_reason\fR.brState variable, flags and counters for the Link State Control (LSC) statemachine..TP\fIiac_state\fR,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -