⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cd_halt_input_req.7.man

📁 This a separate release of the OpenSS7 X/Open XTI/TLI library, TLI modules (timod, tirdwr) and the I
💻 MAN
字号:
'\" rtp.\" -*- nroff -*- vim: ft=nroff noautoindent nocindent nosmartindent.\".\" @(#) CD_HALT_INPUT_REQ.7.man,v 0.9.2.3 2004/05/16 02:35:41 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..\".\" -------------------------------------------------------------------------.\".\" U.S. GOVERNMENT RESTRICTED RIGHTS.  If you are licensing this Software.\" on behalf of the U.S. Government ("Government"), the following.\" provisions apply to you.  If the Software is supplied by the Department.\" of Defense ("DoD"), it is classified as "Commercial Computer Software".\" under paragraph 252.227-7014 of the DoD Supplement to the Federal.\" Acquisition Regulations ("DFARS") (or any successor regulations) and the.\" Government is acquiring only the license rights granted herein (the.\" license rights customarily provided to non-Government users).  If the.\" Software is supplied to any unit or agency of the Government other than.\" DoD, it is classified as "Restricted Computer Software" and the.\" Government's rights in the Software are defined in paragraph 52.227-19.\" of the Federal Acquisition Regulations ("FAR") (or any success.\" regulations) or, in the cases of NASA, in paragraph 18.52.227-86 of the.\" NASA Supplement to the FAR (or any successor regulations)..\".\" =========================================================================.\" .\" Commercial licensing and support of this software is available from.\" OpenSS7 Corporation at a fee.  See http://www.openss7.com/.\" .\" =========================================================================.\".\" Last Modified 2004/05/16 02:35:41 by brian.\".\" =========================================================================.so strxnet.macros.R1bracket-label "\fR[\fB" "\fR]" "\fR, \fB"no-default-databasedatabase strxnet.refsaccumulatemove-punctuationabbreviate Ajoin-authors ", " ", " " and "et-al " et al" 2 3abbreviate-label-ranges ".."sort-adjacent-labels.R2.\".\".TH CD_HALT_INPUT_REQ 7 "2004/05/16 02:35:41" "strxnet-0_9_2-4" "Communications Device Interface (CDI)".SH NAME.B CD_HALT_INPUT_REQ\- halt 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_ulong cd_disposal;} cd_halt_input_req_t;/* Actions to take with undelivered data */#define CD_FLUSH        0x00    /* Discard undelivered data */#define CD_WAIT         0x01    /* Attempt to deliver unsent                                   data */#define CD_DELIVER      0x02\fR\s+1.fi.SH DESCRIPTIONThis user originated primitive requests that the input section be halted..PPWhen a stream is enabled with.BR CD_ENABLE_REQ (7),it can be used immediately 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.BR CD_ALLOW_INPUT_REQ (7)for the device.  However,.B CD_HALT_INPUT_REQwill halt input on such a device..PPIn addition, if the input section is temporarily enabled with.BR CD_READ_REQ (7),on a half-duplex communications device,then.B CD_HALT_INPUT_REQwill abort the read operation..SS ParametersThis primitive contains the following parameters:.TP.I cd_primitiveSpecifies the primitives type..TP.I cd_disposalSpecifies how unsent messages are to be disposed.  This field can be one ofthe following values:.RS.TP.B CD_FLUSHDiscard undeliverable data.All data that is unsent at the time that the.B CD_DISABLE_REQprimitive is received will be discarded.  Any data awaiting transmission thethe device's write queue will be flushed..TP.B CD_WAITAttempt to deliver unsent data.All data that is unsent at the time that the.B CD_DISABLE_REQprimitive is received the provider will attempt to send before acknowledging theprimitive.  The provider will not wait for acknowledgment of sent messages..TP.B CD_DELIVERDeliver unsent data.All data that is unsent at the time that the.B CD_DISABLE_REQprimitive is received the provider will deliver before acknowledging theprimitive.  The provider will wait for acknowledgment of sent messages..RE.SS StateThis primitive is valid in state.BR CD_ENABLED ,.BR CD_INPUT_ALLOWED ", or ".BR CD_READ_ACTIVE .The new state is.BR CD_ENABLED ..SH RESPONSEThis primitive requires that the CD provider acknowledge receipt of theprimitive as follows:.PP.B "Successful:"Upon success, the provider will acknowledge receipt of the primitive with the.BR CD_OK_ACK (7)primitive.  The new state is.BR CD_ENABLED ..PP.B "Unsuccessful (non-fatal errors):"Upon failure, the provider will acknowledge receipt of the primitive with the.BR CD_ERROR_ACK (7)primitive with the error inidcated in the primitive.  The new state remainsunchanged..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 communications device is in the.B CD_ENABLEDstate and the input section is not active, the.B CD_HALT_INPUT_REQprimitive should be ignored and no non-fatal error generated..SH FILES<sys/cdi.h>.SH "SEE ALSO".BR CD_ALLOW_INPUT_REQ (7),.BR CD_ENABLE_REQ (7),.BR CD_ERROR_ACK (7),.BR CD_INFO_ACK (7),.BR CD_OK_ACK (7)..SH HISTORY.PPThe Communications Device Interface first appeared in SVR 4..[svr4.].SH CONFORMANCE.PPThis interface conforms to CDI with Gcom extensions..XX.[magic.].[advprog.].[$LIST$.].TI

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -