| OpenSS7 SS7 for the Common Man | © Copyright 1997-2007 OpenSS7 Corporation All Rights Reserved. Last modified: Sat, 01 Nov 2008 10:42:25 GMT | ||||||||||||||||
| |||||||||||||||||
| Description: Manual PageKeywords: ss7 ss7/ip ss7 over ip ss7 mtp ss7 sccp ss7 tcap sigtran mtp sccp tcap openss7 acb56 linux telephony pstn linux telephony linux nebs linux compactpciCD_HALT_INPUT_REQSection: Communications Device Interface (CDI) (7)Updated: 2008-10-31 Index Return to Main Contents NAMECD_HALT_INPUT_REQ - halt inputSYNOPSISThis primitive consists of one M_PROTO(9) or M_PCPROTO(9) message block structured as follows:
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
DESCRIPTIONThis user originated primitive requests that the input section be halted.When a stream is enabled with CD_ENABLE_REQ(7), it can be used immediately for transmission. If the stream returns CD_AUTOALLOW in the cd_features field of the CD_INFO_ACK(7), the device automatically allows input and there is no need to call CD_ALLOW_INPUT_REQ(7) for the device. However, CD_HALT_INPUT_REQ will halt input on such a device. In addition, if the input section is temporarily enabled with CD_READ_REQ(7), on a half-duplex communications device, then CD_HALT_INPUT_REQ will abort the read operation. ParametersThis primitive contains the following parameters:
StateThis primitive is valid in state CD_ENABLED, CD_INPUT_ALLOWED, or CD_READ_ACTIVE. The new state is CD_ENABLED.RESPONSEThis primitive requires that the CD provider acknowledge receipt of the primitive as follows:Successful: Upon success, the provider will acknowledge receipt of the primitive with the CD_OK_ACK(7) primitive. The new state is CD_ENABLED. Unsuccessful (non-fatal errors): Upon failure, the provider will acknowledge receipt of the primitive with the CD_ERROR_ACK(7) primitive with the error inidcated in the primitive. The new state remains unchanged. ERRORSNon-Fatal Errors: applicable non-fatal errors are as follows:
Note: if the communications device is in the CD_ENABLED state and the input section is not active, the CD_HALT_INPUT_REQ primitive should be ignored and no non-fatal error generated. FILES<sys/cdi.h>SEE ALSOCD_ALLOW_INPUT_REQ(7), CD_ENABLE_REQ(7), CD_ERROR_ACK(7), CD_INFO_ACK(7), CD_OK_ACK(7).HISTORYThe Communications Device Interface first appeared in SVR 4[1]. CONFORMANCEThis interface conforms to CDI with Gcom extensions. REFERENCES
TRADEMARKS
Other trademarks are the property of their respective owners. IDENTIFICATION
Copyright©1997-2008OpenSS7 Corp.
All Rights Reserved.
Index
This document was created by man2html, using the manual pages. Time: 06:32:52 GMT, May 21, 2013 | ||||||||||||||||
| OpenSS7 SS7 for the Common Man |
| ||||||||||||||||
| Last modified: Sat, 01 Nov 2008 10:42:25 GMT © Copyright 1997-2007 OpenSS7 Corporation All Rights Reserved. |