📄 cd_allow_input_req.7
字号:
'\" rt.\" -*- nroff -*-.\".\" @(#) CD_ALLOW_INPUT_REQ.7,v 1.1.4.1 2004/01/12 23:45:07 brian Exp.\".\" =========================================================================.\".\" Copyright (C) 2001-2004 OpenSS7 Corporation <www.openss7.com>.\".\" All Rights Reserved..\".\" Permission is granted to make and distribute verbatim copies of this.\" manual provided the copyright notice and this permission notice are.\" preserved on all copies..\".\" Permission is granted to copy and distribute modified versions of this.\" manual under the conditions for verbatim copying, provided that the.\" entire resulting derived work is distributed under the terms of a.\" permission notice identical to this one.\" .\" Since the Linux kernel and libraries are constantly changing, this.\" manual page may be incorrect or out-of-date. The author(s) assume no.\" responsibility for errors or omissions, or for damages resulting from.\" the use of the information contained herein. The author(s) may not.\" have taken the same level of care in the production of this manual,.\" which is licensed free of charge, as they might when working.\" professionally..\" .\" Formatted or processed versions of this manual, if unaccompanied by.\" the source, must acknowledge the copyright and authors of this work..\".\" =========================================================================.\".\" Modified 2004/01/12 23:45:07 by brian.\".\" =========================================================================.so lis.macros.R1bracket-label "\fR[\fB" "\fR]" "\fR, \fB"no-default-databasedatabase lis.refsaccumulatemove-punctuationabbreviate Ajoin-authors ", " ", " " and "et-al " et al" 2 3abbreviate-label-ranges ".."sort-adjacent-labels.R2.\".\".TH CD_ALLOW_INPUT_REQ 7 "2004/01/12 23:45:07" "LiS-2_16_18-8" "Linux STREAMS".SH NAME.B CD_ALLOW_INPUT_REQ\- allow input.SH SYNOPSISThis primitive consists of one.B M_PROTOor.B M_PCPROTOmessage block structured as follows:.sp.nf\fC\s-1\typedef struct { cd_ulong cd_primitive;} cd_allow_input_req_t;\fR\s+1.fi.SH DESCRIPTIONThis user originated primitive requests that an enabled communications devicepermanently allow the input section..PPWhen a stream is enabled with.BR CD_ENABLE_REQ (7),it can be used for transmission. If the stream returns.B CD_AUTOALLOWin the.I cd_featuresfield of the.BR CD_INFO_ACK (7),the device automatically allows input and there is no need to call the.BR CD_ALLOW_INPUT_REQprimitive for the device, unless.BR CD_HALT_INPUT_REQ (7)has been successfully called beforehand..SS ParametersThis primitive contains the following parameters:.TP.I cd_primitiveSpecifies the primitives type..SS StateThis primitive is valid in the.BR CD_ENABLEDstate.When successful, the new state is.BR CD_INPUT_ALLOWED ..SH RESPONSEThis primitive requires that the provider acknowledge receipt of the primitiveas follows:.PP.B "Successful:"When successful, the provider acknowledges the receipt of this primitive withthe.BR CD_OK_ACK (7)primitive. The new state is.BR CD_INPUT_ALLOWED ..PP.B "Unsuccessful (non-fatal errors):"When unsuccessful, the provider acknowledges the receipt of this primitivewith the.BR CD_ERROR_ACK (7)primitive. The reason for failure is provided in the error field of theprimitive. The state remains unchanged..SH ERRORS.B "Non-Fatal Errors:"applicable non-fatal errors are as follows:.\".TP.\".RB [ CD_BADADDRESS ].\"Address was invalid..\".TP.\".RB [ CD_BADADDRTYPE ].\"Invalid address type..\".TP.\".RB [ CD_BADDIAL ].\"Dial information was invalid..\".TP.\".RB [ CD_BADDIALTYPE ].\"Invalid dial information type..\".TP.\".RB [ CD_BADDISPOSAL ].\"Invalid disposal parameter..\".TP.\".RB [ CD_BADFRAME ].\"Defective SDU received..\".TP.\".RB [ CD_BADPPA ].\"Invalid PPA identifier..TP.RB [ CD_BADPRIM ]Unrecognized primitive..TP.RB [ CD_DISC ]Disconnected..TP.RB [ CD_EVENT ]Protocol-specific event occurred..TP.RB [ CD_FATALERR ]Device has become unusable..\".TP.\".RB [ CD_INITFAILED ].\"Line initialization failed..TP.RB [ CD_NOTSUPP ]Primitive not supported by this device..TP.RB [ CD_OUTSTATE ]Primitive was issued from an invalid state..TP.RB [ CD_PROTOSHORT ]M_PROTO block too short..\".TP.\".RB [ CD_READTIMEOUT ].\"Read request timed out before data arrived..TP.RB [ CD_SYSERR ]UNIX system error..\".TP.\".RB [ CD_WRITEFAIL ].\"Unitdata request failed..PP.B Note:If the input section is already allowed and this primitive is issued in the.B CD_INPUT_ALLOWEDstate, the provider should ignore the primitive and not generate a non-fatalerror..SH FILES<sys/cdi.h>.SH "SEE ALSO".BR CD_ENABLE_REQ (7),.BR CD_ERROR_ACK (7),.BR CD_HALT_INPUT_REQ (7),.BR CD_OK_ACK (7)..SH VERSIONS.PPThis manpage was written for.B LiS\c..[LiS.].brThe Communications Device Interface first appeared in SVR 4..[svr4.].brThis interface conforms to CDI with Gcom extensions..[$LIST$.].TA
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -