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

📄 n_bind_ack.7

📁 7号信令功能代码,为开源代码
💻 7
字号:
'\" rt.\" -*- nroff -*-.\".\" @(#) N_BIND_ACK.7,v 1.1.4.1 2004/01/12 23:45:16 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:16 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 N_BIND_ACK 7 "2004/01/12 23:45:16" "LiS-2_16_18-8" "Linux STREAMS".SH NAME.BR N_BIND_ACK " (" N_bind_ack_t )\- bind protocol address acknowledgment.SH SYNOPSISFormat The format of the message is one.B M_PCPROTOmessage block, and its structure is the following:.sp.nf\fC\s-1\typedef struct {    ulong PRIM_type;            /* always N_BIND_ACK */    ulong ADDR_length;          /* address length */    ulong ADDR_offset;          /* offset of address */    ulong CONIND_number;        /* connection indications */    ulong TOKEN_value;          /* NC response token value */    ulong PROTOID_length;       /* length of protocol id */    ulong PROTOID_offset;       /* offset from beg. of block */} N_bind_ack_t;\fR\s+1.fi.SH DESCRIPTIONThis primitive indicates to the NS user that the specified network user entityhas been bound to the requested network address and that the specified numberof connect indications are allowed to be queued by the NS provider for thespecified network address..SH PARAMETERS.TP.I PRIM_typeIndicates the primitive type..TP.I ADDR_lengthIs the length of the network address that was bound..TP.I ADDR_offsetIs the offset from the beginning of the.B M_PCPROTOblock where the network address begins..TP.I CONIND_numberIs the accepted number of connect indications allowed to be outstanding by theNS provider for the specified network address.  If its value is zero, thisstream cannot accept.BR N_CONN_IND (7)messages.  If its value is greater than zero, then the NS user can accept.BR N_CONN_IND (7)messages up to the value specified in this parameter before having to respondwith a.BR N_CONN_RES (7)or a.BR N_DISCON_REQ (7)message.  This field should be ignored for CLNS..TP.I TOKEN_valueConveys the value of the "token" assigned to this stream that canbe used bythe NS user in a.BR N_CONN_RES (7)primitive to accept a NC on this stream.  It is a non-zero value, and is uniqueto all streams bound to the NS provider.  This field should be ignored forCLNS..TP.I PROTOID_lengthConveys the length of the protocol ids that were bound..TP.I PROTOID_offsetConveys the offset of the protocol ids that were bound.  The proper alignmentof the address in the.B M_PCPROTOmessage block is not guaranteed..SH RULESBind Rules: The following rules apply to the binding of the specified networkaddress to the stream.IP \- 4If the.I ADDR_lengthfield in the.BR N_BIND_REQ (7)primitive is zero, then the NS provider is to assign a network address to theuser..IP \-The NS provider is to bind the network address as specified in the.BR N_BIND_REQ (7)primitive.  If the NS provider cannot bind the specified address, it may assignanother network address to the user.  It is the network user's responsibilityto check the network address returned in the.B N_BIND_ACKprimitive to see if it is the same as the one requested..PPThe following rules apply to negotiating.I CONIND_numberargument:.IP \- 4The.I CONIND_numberin the.B N_BIND_ACKprimitive must be less than or equal to thecorresponding requested number as indicated in the.BR N_BIND_REQ (7)primitive..IP \-Only one stream that is bound to the indicated network address may havea negotiated accepted number of maximum connect requests greater than zero.  Ifa.BR N_BIND_REQ (7)primitive specifies a value greater than zero, but another streamhas already bound itself to the given network address with a value greater thanzero, the NS provider should assign another protocol address to the user..IP \-If a stream with.I CONIND_numbergreater than zero is used to accept a connection, the stream will be foundbusy during the duration of that connection and no other streams may be boundto that network address with a.I CONIND_numbergreater than zero.  This will prevent more than one stream boundto the identical network address from accepting connect indications..IP \-A stream requesting a.I CONIND_numberof zero should always be legal.  This indicates to the NS provider that thestream is to be used to request connections only..IP \-A stream with a negotiated.I CONIND_numbergreater than zero may generate connect requests or accept connect indications..SH RESPONSEIf the above rules result in an error condition, then the NS provider mustissue an.BR N_ERROR_ACK (7)primitive to the NS user specifying the error as definedin the description of the.BR N_BIND_REQ (7)primitive..SH STATEThis primitive is in response to a.BR N_BIND_REQ (7)primitive and is valid in thestate.BR NS_WACK_BREQ ..SH "NEW STATE"The new state is.BR NS_IDLE ..SH VERSIONS.PPThis manpage was written for.B LiS\c..[LiS.].brThe Network Provider Interface first appeared in SVR 4..[svr4.].brThis interface conforms to NPI Revision 2..XX.[npi.].[magic.].[advprog.].[$LIST$.].T2

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -