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

📄 cd_bad_frame_ind.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_BAD_FRAME_IND.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_BAD_FRAME_IND 7 "2004/05/16 02:35:41" "strxnet-0_9_2-4" "Communications Device Interface (CDI)".SH NAME.B CD_BAD_FRAME_IND\- frame with error.SH SYNOPSISThis primitive consists of one.B M_PROTOmessage block followed by zero or more.B M_DATAblocks.The.B M_PROTOblock is structured as follows:.sp.nf\fC\s-1\typedef struct {    cd_ulong cd_primitive;    cd_ulong cd_state;    cd_ulong cd_error;          /* what is wrong with the frame                                  */} cd_bad_frame_ind_t;/* Error types for CD_BAD_FRAME_IND */#define CD_FRMTOOLONG   0xFFFF  /* frame overflowed rcv bfr */#define CD_FRMNONOCTET  0xFFFE  /* frame not octet-aligned */#define CD_EMPTY_BFR    0xFFFD  /* empty rcv buffer (not used) */#define CD_BAD_CRC      0xFFFC  /* CRC error */#define CD_FRM_ABORTED  0xFFFB  /* frame aborted */#define CD_RCV_OVERRUN  0xFFFA  /* receive overrun */\fR\s+1.fi.SH DESCRIPTIONThis provider originated primitives indicates that a frame was received inerror.  The error is indicated along with any data that is retrievable fromframe received in error..SS ParametersThis primitive contains the following parameters:.TP.I cd_primitiveIndicates the primitives type..TP.I cd_state.RS.TP.B CD_UNATTACHEDNo PPA attached..TP.B CD_UNUSABLEPPA cannot be used..TP.B CD_DISABLEDPPA attached..TP.B CD_ENABLE_PENDINGWaiting ack of enable req..TP.B CD_ENABLEDAwaiting use..TP.B CD_READ_ACTIVEInput section enabled; disabled after data arrives..TP.B CD_INPUT_ALLOWEDInput section permanently enabled..TP.B CD_DISABLE_PENDINGWaiting ack of disable req..TP.B CD_OUTPUT_ACTIVEOutput section active only..TP.B CD_XRAYXray-ing another ppa..RE.TP.I cd_errorIndicates the error encountered on the frame.  Amoung other values defined fora particular device, this error can be one of the following values:.RS.TP.B CD_FRMTOOLONGThe frame was too long; it overflowed the receive buffer.  The data that wassuccessfully received is in the.B M_DATAmessage blocks associated with the primitive..TP.B CD_FRMNONOCTETThe frame was not octet-align.  This is a residue error.The data that was successfully received (not including the residue error bits)is in the.B M_DATAmessage blocks associated with the primitive..TP.B CD_EMPTY_BFRThe receive buffer is empty.  This error is not normally used.No.B M_DATAblocks are included with this error..TP.B CD_BAD_CRCThere was a CRC error in an otherwise correctly received frame.The data that was successfully received, but which failed CRC calculation,is in the.B M_DATAmessage blocks associated with the primitive..TP.B CD_FRM_ABORTEDThe frame was aborted.Any successfully received octets at the time of the abort are included in the.B M_DATAmessage blocks associated with the primitive..TP.B CD_RCV_OVERRUNThere was a receiver overrun in during the reception of the frame.Any successfully received octets up to the point of the receiver overrun areincluded in the.B M_DATAmessage blocks associated with the primitive..RE.SS StateAfter issuing this primitive, the state remains unchanged..SH FILES<sys/cdi.h>.SH "SEE ALSO".BR CD_UNITDATA_ACK (7),.BR CD_UNITDATA_REQ (7),.BR CD_WRITE_READ_REQ (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 + -