📄 dl_data_req.7
字号:
'\" rt.\" -*- nroff -*-.\".\" @(#) DL_DATA_REQ.7,v 1.1.4.1 2004/01/12 23:45:11 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:11 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 DL_DATA_REQ 7 "2004/01/12 23:45:11" "LiS-2_16_18-8" "Linux STREAMS".SH NAME.B DL_DATA_REQ\- conveys a complete DLSDU from the DLS user to the DLS provider fortransmission over the data link connection..SH SYNOPSISThe message consists of one or more.B M_DATAmessage blocks containing at least one byte of data..SH DECRIPTIONTo simplify the support of a.BR read (2)/ write (2)interface to the data link layer, the DLS provider must recognize and processmessages that consist of one or more.B M_DATAmessage blocks with non preceding.B M_PROTOmessage block. This message type may originate from the.BR write (2)system call..PPThis does not imply that DLPI will directly support a pure.BR read (2)/ write (2).If such an interface is desired, a STREAMS module could be implemented to bepushed above the DLS provider..SH STATEThe message is valid in state.BR DL_DATAXFER .If it is received in state.BR DL_IDLE " or " DL_PROV_RESET_PENDING ,it should be discarded without generating an error..SH "NEW STATE"The resulting state is unchanged..SH RESPONSEIf the request is valid, no response is generated..PPIf the request is erroneous, a STREAMS.B M_ERRORmessage should be issued to the DLS user specifying an.IR errno (3)value of.BR EPROTO .This action should be interpreted as a fatal, unrecoverable, protocol error.A request is considered erroneous under the following conditions:.IP \(em 4The primitive was issued from an invalid state. If the request is issued instate.BR DL_IDLE " or " DL_PROV_RESET_PENDING ,however,it is silently discarded with no fatal error generated..IP \(emThe amount of data in the current DLSDU is not within the DLS provider'sacceptable bounds as spcified by.IR dl_min_sdu " and " dl_max_sduin the.BR DL_INFO_ACK (7)..SH NOTESA STREAMS module would implement "more" field processing itself to supportdirect user-level access. This module could collect messages and send them inone larger message to the DLS provider, or break large DLSDUs passed to theDLS user into smaller messages. The module would only be pushed if the DLSuser was a user-level process..SH VERSIONS.PPThis manpage was written for.B LiS\c..[LiS.].brThe Data Link Provider Interface first appeared in SVR 4..[svr4.].brThis interface conforms to DLPI Revision 2..XX.[dlpi.].[magic.].[advprog.].[$LIST$.].T2
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -