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

📄 n_discon_req.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.\".\" @(#) N_DISCON_REQ.7.man,v 0.9.2.3 2004/05/16 02:35:46 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:46 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 N_DISCON_REQ 7 "2004/05/16 02:35:46" "strxnet-0_9_2-4" "Network Provider Interface (NPI)".SH NAME.BR N_DISCON_REQ " (" N_disocn_req_t )\- Disconnect Request.SH DESCRIPTION.PPThis user-originated primitive requests that the NS provider deny a requestfor a network connection, or disconnect an existing connection..SH SYNOPSIS.PPThe format of the message is one.B M_PROTOmessage block, followed by one or more.B M_DATAmessage blocks (for NS user data).  The NS user data may be lost if the NSprovider initiates release before the.BR N_DISCON_IND (7)is delivered.  Therefore, the NS user data parameter is present only if theoriginator parameter (as discussed in.BR N_DISCON_IND (7)definition) indicates that the release was originated by an NS user.The NSuser may send any integral number of octets of data within a range supportedby the NS provider (see.BR N_INFO_ACK (7)).The structure of the.B M_PROTOmessage block is as follows:.sp.nf\fC\s-1\typedef struct {    ulong PRIM_type;		/* always N_DISCON_REQ */    ulong DISCON_reason;	/* reason */    ulong RES_length;		/* responding address length */    ulong RES_offset;		/* responding address offset */    ulong SEQ_number;		/* sequence number */} N_discon_req_t;\fR\s+1.fi.SH PARAMETERS.PP.TP.I PRIM_typeIndicates the primitive type..TP.I DISCON_reasonGives information about the cause of the release..TP.I RES_lengthIndicates the length of the address of the responding address parameter.  Theresponding address parameter is an optional parameter, and is present in theprimitive only in the case where the primitive is used to indicate rejectionof an NC establishment attempt by an NS user.  The responding address parameterconveys the network address of the NS user entity from which the.B N_DISCON_REQwas issued and under certain circumstances (e.g.  call redirection, genericaddressing, etc.) may be different from the "destination address" in thecorresponding.BR N_CONN_REQ (7)primitive..TP.I RES_offsetIs the offset from the beginning of the.B M_PROTOmessage block where the network address begins..TP.I SEQ_numberWhen non-zero, it identifies the sequence number of the.BR N_CONN_IND (7)message being rejected.  This number is used by the NS provider to associatethe.B N_DISCON_REQwith an unacknowledged N_CONN_IND that is to be rejected.  Ifthe.B N_DISCON_REQis rejecting a NC that is already established(or rejecting a.BR N_CONN_REQ (7)that the NS user had previously sent and has not yet been confirmed), thenthis field should have a value of 0..SH STATE.PPThis primitive is valid in states.BR NS_WCON_CREQ ,.BR NS_WRES_CIND ,.BR NS_DATA_XFER ,.BR NS_WCON_RREQ ,.BR NS_WRES_RIND ..SH "NEW STATE".PPThe new state depends on the original state (see Appendix B, Table B-8)..SH RESPONSE.PPThe NS provider should generate one of the following acknowledgments uponreceipt of this primitive:.HP.B Successful:Successful completion is indicated via the.BR N_OK_ACK (7)primitive..HP.B Unsuccessful (Non-fatal errors):Errors are indicated via the.BR N_ERROR_ACK (7)primitive..SH ERRORS.PPThe applicable non-fatal errors are as follows:.TP.RB [ NOUTSTATE ]The primitive was issued from an invalid state..TP.RB [ NBADDATA ]The amount of user data specified was outside the range supported by khe NSprovider..TP.RB [ NSYSERR ]A system error has occurred and the Linux system error is indicated in theprimitive..TP.RB [ NBADSEQ ]The specified sequence number referred to an invalid.BR N_CONN_IND (7)message, or the.B N_DISCON_REQis rejecting an NC that is already established (or rejecting an.BR N_CONN_REQ (7)that the NS user had previously sent and has not yet been confirmed) and thevalue of the sequence number is not 0..SH "SEE ALSO".PP.BR N_CONN_IND (7),.BR N_CONN_REQ (7),.BR N_DISCON_IND (7),.BR N_ERROR_ACK (7),.BR N_INFO_ACK (7)),.BR N_OK_ACK (7)..SH HISTORY.PPThe Network Provider Interface first appeared in SVR 4..[svr4.].SH CONFORMANCE.PPThis interface conforms to NPI Revision 2..[npi.].XX.[magic.].[advprog.].[$LIST$.].T2

⌨️ 快捷键说明

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