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

📄 cd_unitdata_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_UNITDATA_IND.7.man,v 0.9.2.3 2004/05/16 02:35:42 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:42 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_UNITDATA_IND 7 "2004/05/16 02:35:42" "strxnet-0_9_2-4" "Communications Device Interface (CDI)".SH NAME.B CD_UNITDATA_IND\- data receive indication.SH SYNOPSISThis primitive consists of one.B M_PROTOmessage block followed by one or more.B M_DATAmessage blocks.The.B M_PROTOmessage block is optional.The.B M_PROTOmessage block is structured as follows:.sp.nf\fC\s-1\.\"/*.\" * CD_UNITDATA_IND, optional M_PROTO type, with M_DATA block(s).\" */typedef struct {    cd_ulong cd_primitive;    cd_ulong cd_state;    cd_ulong cd_src_addr_length;    cd_ulong cd_src_addr_offset;    cd_ushort cd_addr_type;    cd_ushort cd_priority;    cd_ulong cd_dest_addr_length;    cd_ulong cd_dest_addr_offset;} cd_unitdata_ind_t;\fR\s+1.fi.SH DESCRIPTIONThis provider originated primitives indicates that data has arrived for thespecified source and destination addresses with the specified priority..PPThe.B M_PROTOmessage block is only necessary when the parameters included in the primitiveare not implied by the communications device..SS ParametersThis primitive contains the following parameters:.TP.I cd_primitiveIndicates the primitives type..TP.I cd_stateIndicates the state of the CD provider following the indication primitive..I cd_statecan be one fo the following values:.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_src_addr_lengthIndicates the length of the source address associated with the recieved data.When sending endpoint uses the CDI, this address is the same as the.I cd_dest_addr_lenghtof the corresponding.BR CD_UNITDATA_REQ (7)primitive.When no source address is provided, or the source address is implicit to thedata, this field is coded zero (0)..TP.I cd_src_addr_offsetIndicates the offset of the source address from the beginning of the.B M_PROTOmessage block.  When.I cd_src_addr_lengthis zero (0), this field is also zero (0)..TP.I cd_addr_type.RS.TP.B CD_SPECIFICIndicates that an address is contained in the primitive.  When.I cd_addr_typeis set to.BR CD_SPECIFIC ,a destination address is indicated in the.I cd_dest_addr_lengthand.I cd_dest_addr_offsetfields..TP.B CD_BROADCASTIndicates that the data was sent to the implicit broadcast address and nospecific address follows.  When.I cd_addr_typeis set to.BR CD_BROADCAST ,the fields.I cd_dest_addr_lengthand.I cd_dest_addr_offsetare coded zero (0) and should be ignored by the CD user..TP.B CD_IMPLICITIndicates that an implicit address was used, or that the address isembedded in the data.  When.I cd_addr_typeis set to.BR CD_IMPLICIT ,the fields.I cd_dest_addr_lengthand.I cd_dest_addr_offsetare coded zero (0) and should be ignored by the CD user..RE.TP.I cd_priorityIndicates the priority of the received data.  The priority is provider- anddevice-specific..TP.I cd_dest_addr_lengthIndicates the length of the destination addres.  When this field is coded zero(0), it indicates that no destination address is included in the message..TP.I cd_dest_addr_offsetIndicates the offset of the destination address from the start of the.B M_PROTOmessage block.  When.I cd_dest_addr_lengthis zero (0), this field is also coded zero (0) and should be ignored by the CDuser..SS StateThis primitive is valid in any state where the device is allowed to receivedata (i.e..BR CD_READ_ACTIVE ,and.BR CD_INPUT_ALLOWED ).The state remains unchanged..SH FILES<sys/cdi.h>.SH "SEE ALSO".BR CD_ALLOW_INPUT_REQ (7),.BR CD_HALT_INPUT_REQ (7),.BR CD_UNITDATA_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 + -