📄 sdli.7
字号:
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 theSDL provider..PPThe \fIic_cmd\fR contains one of the following configuration commands:.TP.B SDL_IOCGCONFIGGets the protocol configuration of the Signalling Data Link into theprovided \fBsdl_config\fR structure..TP.B SDL_IOCSCONFIGSets the protocol configuration of the Signalling Data Link from theprovided \fBsdl_config\fR structure..TP.B SDL_IOCTCONFIGTests the protocol configuration as provided in the \fBsdl_config\fR structureagainst the Signalling Data Link for consistency and validity. Also locksthe configuration of the SDL provider awaiting a commit..TP.B SDL_IOCCCONFIGCommits the protocol configuration as provided in the \fBsdl_config\fRstructure to the Signalling Data Link. Also unlocks the configuration ofthe SDL provider..PP\fIic_dp\fR points to a \fBsdl_config\fR structure which represents theSignalling Data Link protocol configuration as follows:.PP.RS 4.nftypedef struct sdl_config { sdl_ulong N; /* octets per su in OCM */ sdl_ulong m; /* maximum SIF size */} sdl_config_t;.fi.TP.I NContains the number of octets which are considered an SU during octet-countingmode..TP.I mContains the maximum SIF size in octets for the link. This is normally set to 272.procedure of ITU-T Q.703 Annex A..RE.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 SDL provider..PPThe \fIic_cmd\fR contains one of the following state commands:.TP.B SDL_IOCGSTATEMGets the protocol state machine variables of the Signalling Data Link intothe provided \fBsdl_statem\fR structure..TP.B SDL_IOCCMRESETPerforms a master reset on the protocol state machines and returns thepower-on settings of the state machine variables of the Signalling DataLink into the provided \fBsdl_statem\fR structure..PP\fIic_dp\fR points to a \fBsdl_statem\fR structure which represents theSignalling Data Link protocol state as follows:.PP.RS 4.nftypedef struct sdl_statem { sdl_ulong daedt_state; sdl_ulong daedr_state; sdl_ulong octet_counting_mode;} sdl_statem_t;.fi.TP\fIdaedt_state\fRContains the Delimitation Alignment and Error Detection for the Transmit side(DAEDT) current state. This state is either \fI0\fR for idle, or\fInon-zero\fR for active..TP\fIdaedr_state\fRContains the Delimitation Alignment and Error Detection for the Receive side(DAEDR) current state. This state is either \fI0\fR for idle, or\fInon-zero\fR for active..TP\fIoctet_counting_mode\fRContains a flag which indicates whether the receiver is in octet counting modeor not..RE.SS "Protocol Data Collection".PPProtocol management controls which affect protocol measurement data collectionare invoked by local management to request and alter collection periods fordata collection within the SDL provider..PP\fIic_cmd\fR contains one of the following collection commands:.TP.B SDL_IOCGSTATSPGet the protocol measurement collection period information of the identified\fIobject_id\fR into the provided \fBlmi_sta\fR structure..TP.B SDL_IOCSSTATSPSet the protocol measurement collection period information of the identified\fIobject_id\fR using the provided \fBlmi_sta\fR structure..PP\fIic_dp\fR points to a \fBlmi_sta\fR structure which represnts the SignallingData Link collection periods as follows:.PP.RS 4.nftypedef struct lmi_sta { lmi_ulong object_id; /* object id for stats */ lmi_ulong colperiod; /* collection period */ lmi_ulong timestamp; /* timestamp end of period */} lmi_sta_t;.fi.TP.I object_idContains the object idenitfier for the managed object to which the collectioninformation applies..TP.I colperiodContains the collection period (in jiffies). The managed object measurementdata must be collected and notified once for each collection period interval..TP.I timestampContains a timestamp (in seconds since epoch) which identifies the system timeat which a collection period ends. This value is used in conjunction with thecollection period to calculate the time of the next collection interval..RE.SS "Protocol Statistics".PPProtocol management controls which affect protocol statistics are invoked bylocal management to request information about statistics pertaining to the SDLprovider..PP\fIic_cmd\fR contains one of the following statistics commands:.TP.B SDL_IOCGSTATSGet the protocol statistics of the Signalling Data Link for the currentcollection period into the provided \fBsdl_stats\fR structure..TP.B SDL_IOCCSTATSClear the protocol statisics of the Signalling Data Link for the currentcollection period and return the statistics which were accumulated to thepoint of clearing during the current interval \fBsdl_stats\fR structure..PP\fIic_dp\fR points to a \fBsdl_stats\fR structure which represents theSignalling Data Link protocol statistics as follows:.PP.RS 4.nftypedef struct sdl_stats { lmi_ulong header; sdl_ulong rx_bytes; sdl_ulong tx_bytes; sdl_ulong rx_sus; sdl_ulong tx_sus; sdl_ulong rx_overruns; sdl_ulong tx_underruns; sdl_ulong rx_aborts; sdl_ulong tx_aborts; sdl_ulong rx_buffer_overflows; sdl_ulong tx_buffer_overflows; sdl_ulong rx_sus_in_error; /* Q.752 Table 1.8 5,30 min */ sdl_ulong tx_sus_in_error; sdl_ulong rx_sync_transitions; sdl_ulong rx_bits_octet_counted; sdl_ulong rx_crc_errors; sdl_ulong rx_frame_errors; sdl_ulong rx_frame_overflows; sdl_ulong rx_frame_too_long; sdl_ulong rx_frame_too_short; sdl_ulong rx_residue_errors; sdl_ulong lead_cts_lost; sdl_ulong lead_dcd_lost; sdl_ulong carrier_lost;} sdl_stats_t;.fi.TP.I headerContains the timestamp for the current collection interval for whichstatistics are being reported..TP.IR tx_bytes ", " tx_sus ", " tx_underruns ", " tx_aborts ", " tx_buffer_overflows ", " tx_sus_in_errorContains transmitter statistics for the current collection interval..TP.IR rx_bytes ", " rx_sus ", " rx_overruns ", " rx_aborts ", " rx_buffer_overflows ", " rx_sus_in_error ", " rx_sync_transitions ", " rx_bits_octet_counted ", " rx_crc_errors ", " rx_frame_errors ", " rx_frame_overflow ", " rx_frame_too_long ", " rx_frame_too_short ", " rx_residue_errorsContains receiver statistics for the current collection interval..TP.IR carrier_cts_lost ", " lead_dcd_lost ", " lead_lostContains interface statistics for the current collection interval..RE.SS "Protocol Events".PPProtocol management controls which affect notification of events to localmanagement are invoked by local management to request information aboutnotifications which have been requested as well as to set notification byevent..PPThe \fIic_cmd\fR contians one of the following notify commands:.TP.B SDL_IOCGNOTIFYGets the protocol notification bitmask of the Signalling Data Link intothe provided \fBsdl_notify\fR structure..TP.B SDL_IOCSNOTIFYSets protocol notification for the Signalling Data Link events identifiedby set bits in the provided \fBsdl_notify\fR structure..TP.B SDL_IOCCNOTIFYClears protocol notification for the Signalling Data Link events identifiedby set bits in the provided \fBsdl_notify\fR structure..PP\fIic_dp\fR points to a \fBsdl_notify\fR structure which represents theSignalling Data Link protocol event notifications as follows:.PP.RS 4.nftypedef struct sdl_notify { sdl_ulong sdl_notifications;} sdl_notify_t;.fi.TP.I sdl_notificationsContains a bit mask with bits set for each Signalling Data Link event forwhich notification has been requested. May also contain set bits for eventsfor which notification should be set (\fBSDL_IOCSNOTIFY\fR) or cleared(\fBSDL_IOCCNOTIFY\fR). The mask is the bitwise OR of any of the followingvalues:.RE.RS 4.IP.TStab(:);lb 2 l..THSDL_EVT_LOST_SYNC:Received lost flag sync.SDL_EVT_SU_ERROR:SU received in error.SDL_EVT_TX_FAIL:Transmitter failure.SDL_EVT_RX_FAIL:Receiver failure..TE.RE.\" .SH "ERROR HANDLING".SH "SEE ALSO".PP.BR devi (7),.BR getmsg (2),.BR ioctl (2),.BR lmi (7),.BR mtpi (7),.BR putmsg (2),.BR read (2),.BR sdti (7),.BR sl (8),.BR sl (8),.BR sli (7),.BR slsi (7),.BR ss7d (8),.BR streamio (2),.BR write (2).SH "BUGS".PPToo many to mention..SH "AUTHOR".PPBrian F. G. Bidulock, <bidulock@openss7.org>.SH "HISTORY".PPThis STREAMS interface for SS7 is an original part of the \fIOpenSS7\fR package..SH "REFERENCES".PP.TStab(:);l 1 li..TH[Q702]:ITU-T Rec. Q.702 Signalling Data Link[Q703]:ITU-T Rec. Q.703 Signalling Link[Q704]:ITU-T Rec. Q.704 Message Transfer Part.TE.SH "COPYRIGHT NOTICE".PPCopyright \(co 1997-2001 Brian Bidulock. All Rights Reserved..sp.ce 1PERMISSION NOTICE.PPPermission is granted to make and distribute verbatim copies of this manualprovided the copyright notice and this permission notice are preserved on allcopies..PPPermission is granted to copy and distribute modified versions of this manualunder the conditions for verbatim copyring, provided that the entire resultingderived work is distributed under the terms of a permission notice identicalto this one..PPSince the Linux kernel and libraries are constantly changing, this manual pagemay be incorrect or out-of-date. The author(s) assume no responsibility forerrors or omissions, or for damage resulting from the use of the informationcontained herein. The author(s) may not have taken the same level of care inthe production of this manual, which is licensed free of charge, as they mightwhen working professionally..PPFormatted or processed versions of this manual, if unaccompanied by thesource, must acknowledge the copyright and authors of this work.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -