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

📄 xti_sctp.3.man

📁 This a separate release of the OpenSS7 X/Open XTI/TLI library, TLI modules (timod, tirdwr) and the I
💻 MAN
📖 第 1 页 / 共 5 页
字号:
'\" rtp.\" -*- nroff -*- vim: ft=nroff noautoindent nocindent nosmartindent.\".\" @(#) xti_sctp.3.man,v 1.1.2.1 2004/05/16 02:35:38 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:38 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 XTI-SCTP 3 "2004/05/16 02:35:38" "strxnet-0_9_2-4" "X/Open Transport Interface".\".\".SH NAME.B xti_sctp\- X/Open Transport Interface \- Corrigendum for Stream Control Transmission Protocol (SCTP) Conformance.\".\".SH SYNOPSIS.PP.B #include <xti.h>.br.B #include <xti_ip.h>.br.B #include <xti_sctp.h>.HP.BI "int " sctp_xtistr " = t_open(" \fR\*(lq/dev/sctp_t\*(rq\fI ", " flags );.\".\".SH DESCRIPTION.PPThis manual section describes the protocol-specific information that isrelevant for SCTP transport providers.  This section also describes theprotocol-specific information that is relevant when SCTP services are providedover an IP network using SCTP..PPThis section also defines the data structures and constants required for SCTPtransport providers that are exposed through the.B <xti_sctp.h>header file..\".\".SH "ADDRESS FORMAT".PPThe SCTP address format is structured as follows:.PP.nf\fC\s-1\struct sockaddr_in {    sa_family_t         sin_family;  /* Address family */    unsigned short int  sin_port;    /* Port number */    struct in_addr      sin_addr;    /* Interned address */    /* padding */};\s+1\fP.fi.PPThe.B sockaddr_instructure contains the following members:.TP \w'sin_family\(em'u.I sin_familyThe address family.  Always set to.BR AF_INET " or " AF_UNSPEC ..PD 0.TP.I sin_portThe port number of the transport endpoint..TP.I sin_addrThe IP address of the transport endpoint..TP.I (padding)Padding to pad the size of the.B sockaddr_instructure to the size of a.B sockaddrstructure..PD.PPThe structure is padded to the size of a.BR sockaddrstructure..\".\".SH OPTIONS.PPOptions are formatted according to the.B t_opthdrstructure as described in.BR xti (3).An SCTP transport provider compliant to this specification supports none, allor any subset of the options defined here.  An implementation may restrict theuse of any of these options by offering them only in a privileged read-onlymode..PPAn SCTP transport provider supports three levels of options.  These three levelsare described below..\".\".SS "XTI_GENERIC".PPOptions with this level are specific to the X/Open Transport Interface (XTI/TLI)and are common to all transport providers.  For more information see.BR xti (3)..PPThe options defined with the option level.B XTI_GENERICare as follows:.TP.B XTI_DEBUGSets debugging flags for the stream.This option is formatted as an array of.BR t_uscalar_t .Legal values are implementation defined.For more information, see.BR xti (3)..TP.B XTI_LINGERSets whether, and the amount of time if, the stream will linger waiting forunsent data to be delivered.This option is formatted as a.B t_lingerstructure as follows:.RS.PP.nf\fC\s-1\struct t_linger {    t_scalar_t l_onoff;   /* option on/off */    t_scalar_t l_linger;  /* linger time */};\s+1\fP.fi.TP \w'l_linger\(em'u.I l_onoffSpecifies whether to linger.RB ( T_YES )or not.RB ( T_NO ).Legal values are.BR T_YES " and " T_NO ..TP.I l_lingerSpecifies the amount of time (in seconds) to linger.Legal values are.BR T_INFINITE ", " T_UNSPECand all positive numbers including zero..PPFor more information, see.BR xti (3)..RE.TP.B XTI_RCVBUFSpecifies the size, in bytes, of the receive buffer.This option is formatted as a.BR t_uscalar_t .Legal values are all positive, non-zero numbers.For more information, see.BR xti (3)..TP.B XTI_RCVLOWATSpecifies the low water mark above which received data will be indicated anddelivered to the user.This option is formatted as a.BR t_uscalar_t .Legal values are all positive, non-zero numbers.For more information, see.BR xti (3)..TP.B XTI_SNDBUFSpecifies the size, in bytes, of the transmit buffer.This option is formatted as a.BR t_uscalar_t .Legal values are all positive, non-zero numbers.For more information, see.BR xti (3)..TP.B XTI_SNDLOWATSpecifies the low water mark above which queued data will be transmitted tothe peer.This option is formatted as a.BR t_uscalar_t .Legal values are all positive, non-zero numbers.For more information, see.BR xti (3)..\".\".SS "T_INET_IP".PPOptions within this level are specific to the Internet Protocol (IP) and arecommon to all the protocol levels in IP.  For more information, see.BR xti_ip (3)..PPThe options defined with the option level.B T_INET_IPare as follows:.\".\".TP.B T_IP_OPTIONSThis option determines the IP options to be sent with every packet from thistransport endpoint.  See.BR xti_ip (3)for additional information..\".\".TP.B T_IP_PKTINFODetermines whether a.I T_IP_PKTINFOoption indicating additional packet information associated with the receivedpacket will be included in a.BR T_OPTDATA_IND (7)messge as well as reflected in the response to the current value.B T_GEToperation to.BR t_optmgmt (3).The option value is a.B t_scalar_twith valid values.BR T_YES " or " T_NO .This option is for use with.BR t_optmgmt (3)..spThis option is for use with the.BR sockets (3)library.For.BR xti (3)it changes the semantics of the value returned to a.B T_GEToperation to.BR t_optmgmt (3).When set to.BR T_YES ,the current value obtained with a.B T_GEToperation to.BR t_optmgmt (3)will be the value of the last received message.When set to.BR T_NO ,the current value obtains with a.B T_GEToperation to.BR t_optmgmt (3)will be the default value or the value last set with a.B T_NEGOTIATEoperation to.BR t_optmgmt (3).\".\".TP.B T_IP_RECVTOSDetermine whether a.I T_IP_TOSoption indicating the type of service field for the received packet will beincluded in a.BR T_OPTDATA_IND (7)messge as well as reflected in the response to the current value.B T_GEToperation to.BR t_optmgmt (3).The option value is a.B t_scalar_twith valid values.BR T_YES " or " T_NO .This option is for use with.BR t_optmgmt (3)..spThis option is for use with the.BR sockets (3)library.For.BR xti (3)it changes the semantics of the value returned to a.B T_GEToperation to.BR t_optmgmt (3).When set to.BR T_YES ,the current value obtained with a.B T_GEToperation to.BR t_optmgmt (3)will be the value of the last received message.When set to.BR T_NO ,the current value obtains with a.B T_GEToperation to.BR t_optmgmt (3)will be the default value or the value last set with a.B T_NEGOTIATEoperation to.BR t_optmgmt (3)See.IR T_IP_TOS ..\".\".TP.B T_IP_RECVTTLDetermine whether a.I T_IP_TTLoption indicating the time to live for the received packet will beincluded in a.BR T_OPTDATA_IND (7)messge as well as reflected in the response to the current value.B T_GEToperation to.BR t_optmgmt (3).The option value is a.B t_scalar_twith valid values.BR T_YES " or " T_NO .This option is for use with.BR t_optmgmt (3)..spThis option is for use with the.BR sockets (3)library.For.BR xti (3)it changes the semantics of the value returned to a.B T_GEToperation to.BR t_optmgmt (3).When set to.BR T_YES ,the current value obtained with a.B T_GEToperation to.BR t_optmgmt (3)will be the value of the last received message.When set to.BR T_NO ,the current value obtains with a.B T_GEToperation to.BR t_optmgmt (3)will be the default value or the value last set with a.B T_NEGOTIATEoperation to.BR t_optmgmt (3)See.IR T_IP_TTL ..\".\".TP.B T_IP_RECVOPTSDetermine whether a.I T_IP_OPTIONSoption indicating the IP options for the received packet will beincluded in a.BR T_OPTDATA_IND (7)messge as well as reflected in the response to the current value.B T_GEToperation to.BR t_optmgmt (3).The option value is a.B t_scalar_twith valid values.BR T_YES " or " T_NO .This option is for use with.BR t_optmgmt (3)..spThis option is for use with the.BR sockets (3)library.For.BR xti (3)it changes the semantics of the value returned to a.B T_GEToperation to.BR t_optmgmt (3).When set to.BR T_YES ,the current value obtained with a.B T_GEToperation to.BR t_optmgmt (3)will be the value of the last received message.When set to.BR T_NO ,the current value obtains with a.B T_GEToperation to.BR t_optmgmt (3)will be the default value or the value last set with a.B T_NEGOTIATEoperation to

⌨️ 快捷键说明

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