📄 cd_unitdata_ind.7
字号:
'\" rt.\" -*- nroff -*-.\".\" @(#) CD_UNITDATA_IND.7,v 1.1.4.1 2004/01/12 23:45:10 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:10 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_UNITDATA_IND 7 "2004/01/12 23:45:10" "LiS-2_16_18-8" "Linux STREAMS".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 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 + -