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

📄 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 页
字号:
.TP.I XTI_SNDLOWAT.TP.I T_IP_REUSEADDR.TP.I T_IP_DONTROUTE.TP.I T_IP_BROADCAST.TP.I T_SCTP_HEARTBEAT_ITVLsets the heartbeat interval to be used on all destination addresses during theconnection.This value can be changed for specific connection by providing this option to the.BR t_accept (3).This value may be changed during the transport connection using the.I T_SCTP_HBoption to.BR t_optmgmt (3)..TP.I T_SCTP_RTO_INITIALsets the initial retransmission timeout for all destinations.This value can be changed for specific connection by providing this option to the.BR t_accept (3).This value may be changed during the transport connection using the.I T_SCTP_RTOoption to.BR t_optmgmt (3)..TP.I T_SCTP_RTO_MINsets the minimum retransmission timeout interval for all destinations.This value can be changed for specific connection by providing this option to the.BR t_accept (3).This value may be changed during the transport connection using the.I T_SCTP_RTOoption to.BR t_optmgmt (3)..TP.I T_SCTP_RTO_MAXsets the maximum retransmission timeout interval for all destinations.This value can be changed for specific connection by providing this option to the.BR t_accept (3).This value may be changed during the transport connection using the.I T_SCTP_RTOoption to.BR t_optmgmt (3)..TP.I T_SCTP_PATH_MAX_RETRANSsets the maximum number of times that a retransmission will be directed at adestination address until the destination address is deemed inactive.This value can be changed for specific connection by providing this option to the.BR t_accept (3).This value may be changed during the transport connection using the.I T_SCTP_RTOoption to.BR t_optmgmt (3)..I T_SCTP_MAX_INIT_RETRIESsets the maximum number of COOKIE-ACK retransmissions that will be performeduntil the destination transport address is abandoned.This value is.I read-onlyin other than the.BR T_IDLE " or " T_OUTCONstates.This value can be changed for specific connection by providing this option to the.BR t_accept (3)..PPIf the provider indicates that connect data can be included in the response to.BR t_getinfo (3),the XTI/TLI user can provide connection data in the.I call->udataparameter..\".\".SS t_bind\fR(3).PPSCTP supports this XTI/TLI library call as described in.BR t_bind (3),with the additional considerations described here..PPWhen the XTI/TLI user provides a transport endpoint address in.IR req->addr ,the address to bind can contain multiple.B sockaddr_instructures, each representing a local IP address to which to bind a multi-homedSCTP transport endpoint.Each address in the array must have the same.I req->addr[i].sin_familyand.I req->addr[i].sin_portvalue..PPWhen the SCTP transport service provider returns the bound address in.IR ret->addr ,the address bound can contain multiple.B sockaddr_instructures, each representing a bound local IP address.  The SCTP conformingtransport service provider will return the same values in each.I ret->addr[i].sin_familyand.I ret->addr[i].sin_portfields..PPThe.BR INET (4)implementation treats port number zero (0) as a request to bind to anyunused port.  Other than that value, the.I req->addr.sin_portpart of the binding is specific.  The.I req->addr.sin_addr.in_addrpart of the binding can represent a single IP address or a wildcard binding toan address that could represent multiple IP addresses that are legal for thehost.RB ( INADDR_ANY )..PPUnder recent versions of.BR INET (4),.BR t_bind (3)called with a.B NULL.I reqargument is equivalent to binding to a wildcard port number with a wildcard IPaddress..PPUnder.BR INET (4),when bound to a wildcard port or IP address, assignment of a specific portnumber and IP address can be deferred until an incoming or outgoing connectionis initiated.  Under these situations, any address returned in the.I retargument to.BR t_bind (3)or the.I locargument to.BR t_getprotaddr (3)will return the wildcard address and port number instead of an assignedlist of addresses and port number.Only once a connection has been established will the local address returned by.BR t_getprotaddr (3)be assured to be an assigned address list rather than a wildcard address..\".\".SS t_close\fR(3).PPSCTP supports this XTI/TLI library call as described in.BR t_close (3)without modifications..PPThe.BR t_close (3)call will result in a.BR close (2)call on the descriptor of this XTI/TLI communication endpoint.  If there are noother descriptors in this process which reference the communications endpoint,the.BR close (2)call will perform an orderly connection termination according to the rules ofa TCP CLOSE call on this transport endpoint as specified in the standards.I RFC 793.[rfc 793.]and.IR "RFC 1122" ..[rfc 1122.]If the.B XTI_LINGERoption is supported and is used to enable the linger option, the linger timewill affect the time an implementation lingers in the execution of.BR t_close (3)or.BR close (2).A linger time of zero (0) specified with the.B XTI_LINGERoption may cause an abortive release of a TCP connection, resulting in lostdata..\".\".SS t_connect\fR(3).PPSCTP supports this XTI/TLI library call as described in.BR t_connect (3),with the additional considerations described here..PPThe.I sndcall->addrstructure specifies the remote socket.  In the present version, the returnedaddress set in.I rcvcall->addrwill have the same value.  Note that the peer SCTP, and not the peer transportuser, confirms the connection..PPWhen the XTI/TLI user provides a transport endpoint address to which to connect in.IR sndcall->addr ,the address can be an array of.B sockaddr_instructures, each indicating a remote address for the endpoint to which toconnect.Only one address is necessary to successfully form a multi-homed transportconnection; however, if additional addresses are provided, the transportconnection is initialized in a more secure and reliable fashion..PPSCTP provides a number of options, described in.IR \(lqOPTIONS\(rq ,above, that may be included in this XTI/TLI callin the.I sndcall->optparameter to change local ad end-to-end characteristics of the transportendpoint accepting the connection.The options of end-to-end significance that can be included in this XTI/TLI librarycall are:.TP.I T_SCTP_CKSUM_TYPEset the type of checksum to be performed on all packets for the connection.This option is useful if the connecting XTI/TLI user is aware that the destinationtransport endpoint only supports the older Adler 32 checksum..TP.I T_SCTP_ISTREAMSset the maximum number of incoming streams for the connection.  The peer mustrespect this value and negotiate the number of incoming streams to be lessthan or equal to this value or the transport connection will fail..TP.I T_SCTP_OSTREAMSset the requested number of outgoing streams for the connection.  The peer maynegotiate a smaller number of outgoing streams depending on its maximumincoming stream requirements.  It is the XTI/TLI user's responsibility to checkthe number of outgoing streams in the.I rcvcall->optresponse or in the.I call->optresponse from a call to.BR t_rcvconnect (3).If the negotiated number of outgoing streams is not acceptable, it is theresponsibility of the XTI/TLI user to disconnect the transport connection..TP.I T_SCTP_ECNsets whether explicit congestion notification is to be supported for thetransport connection..TP.I T_SCTP_ALIsets which adaptation layer information is to be communicated and negotiatedfor the connection.  If the negotiated adaptation layer information is lessthan the capabilities sent on connection request, it is the XTI/TLI user'sresponsibility to check the adaptation layer information returned in the.I rcvcall->optresponse or in the.I call->optresponse from a call to.BR t_rcvconnect (3).If the negotiated capabilities is not acceptable, it is the responsibility ofthe XTI/TLI user to disconnect the transport connection..PPThe options of local significance that can be included in this XTI/TLI callinclude (other options of local significance may also be included):.TP.I T_SCTP_HEARTBEAT_ITVLsets the heartbeat interval to be used on all destination addresses during theconnection.This value can be changed during the transport connection for specificdestinations using the.I T_SCTP_HBoption to.BR t_optmgmt (3)..TP.I T_SCTP_RTO_INITIALsets the initial retransmission timeout for all destinations.This value can be changed during the transport connection for specificdestinations using the.I T_SCTP_RTOoption to.BR t_optmgmt (3)..TP.I T_SCTP_RTO_MINsets the minimum retransmission timeout interval for all destinations.This value can be changed during the transport connection for specificdestinations using the.I T_SCTP_RTOoption to.BR t_optmgmt (3)..TP.I T_SCTP_RTO_MAXsets the maximum retransmission timeout interval for all destinations.This value can be changed during the transport connection for specificdestinations using the.I T_SCTP_RTOoption to.BR t_optmgmt (3)..TP.I T_SCTP_PATH_MAX_RETRANSsets the maximum number of times that a retransmission will be directed at adestination adress until the destination address is deemed inactive.This value can be changed during the transport connection for specificdestinations using the.I T_SCTP_RTOoption to.BR t_optmgmt (3)..TP.I T_SCTP_MAX_INIT_RETRIESsets the maximum number of INIT retransmissions that will be performed untilthe destination transport address is abandoned.  When multiple transportendpoint addresses are provided to.BR t_connect (3),each destination transport address will be tried this many times in turn..PPIf the provider indicates that connection data can be included in the responseto.BR t_getinfo (3),the XTI/TLI user can provide connection data in the.I sndcall->udataparameter..PPFor information that may be returned in the.I rcvcallargument to.BR t_connect (3),see the considerations for the.I callargument to.I \(lqt_rcvconnect\(rqXTI/TLI library call, below..\".\".SS t_getinfo\fR(3).PPSCTP supports this XTI/TLI library call as described in.BR t_connect (3)with the additional considerations described here..PP.TP \w'servtype\(em'u.I addrFor compatibility with the.BR sockets (3)library,.B SCTPuses a.B sockaddr_instructured address.  However, a number of XTI/TLI library calls support multiple.B sockaddr_inaddress to be specified in a single call.  This size will be an integer multiple of thesize of the.B sockaddr_instructure size, indicating how many.B sockaddr_instructures can be included in a single address specification..TP.I optionsThe maximum size of options is provider specific.  The.B OpenSS7SCTP implementation.RB ( sctp (4))returns the maximum size of an options structure containing all SCTP options..TP.I tsduThe maximum size of a transport service data unit.  For SCTP this is themaximum size of a message, considering that it may be fragmented and sent inmultiple DATA chunks.  For.BR sctp (4)this value could be.BR T_INFINITE .SCTP.[RFC 2960.]has some limitations resulting from stream blockage due to large messages thatneed to be fragmented and sent in multiple chunks.  Some implementations maywant to restrict the maximum size of a TSDU to something smaller for thispurpose..TP.I etsdu.B SCTPsupports the concept of expedited data as data that is sent unordered.  SCTPconforming transport provides will not return.B T_INVALIDfor this field.  The maximum ETSDU size is subject to the same considerationsas the TSDU size above.  Some implementations may wish to restrict the size ofthe ETSDU to smaller than the TSDU because unordered data causes more problemswith stream blocking due to fragmentation in SCTP..[RFC 2960.].TP.I connectSCTP supports the concept of connection data.  Although SCTP also supportssending the first fragments of a TSDU or ETSDU with the COOKIE-ECHO orCOOKIE-ACK chunks, and subsequent fragements later, this value represents themaximum size of a TSDU that can be completely contained in the COOKIE-ECHO orCOOKIE-ACK chunks.  This value will typically be substantially less than theTSDU size above.  Implementations that do not support sending of DATA chunksbundled with the COOKIE-ECHO or COOKIE-ACK may return.B T_INVALIDfor this field..sp(Note that there is no way in TPI.[TPI Revision 2.0.0.]to send a.BR T_CONNECT_REQ (7)indicated expedited data.  Therefore, it is only possible to send a TSDU with.BR t_connect (3)in.BR xti (3)..TP.I disconAlthough SCTP supports orderly release, SCTP does not support the concept ofdisconnection data.  SCTP conforming transport providers will always return.B T_INVALIDin this field..TP.I servtypeSCTP supports only connection-oriented modes with orderly release.  SCTPconforming transport service providers will return.B T_COTS_ORDwhenever the SCTP implementation supports orderly release (i.e. SHUTDOWN andSHUTDOWN-ACK).SCTP conforming transport service providers may return.B T_COTSif the SCTP implementation does not support orderly release.SCTP conforming transport service providers will not return.BR T_CLTS ..TP.I flagsSCTP support orderly release but does not support orderly release data anddoes not support sending null data.  SCTP conforming transport providers willnot return.BR T_ORDRELDATA " or " T_SNDZEROflags.SCTP conforming transport service providers may return the.B XPG4_1flag..\".\".SS t_listen\fR(3).PPSCTP supports this XTI/TLI library call as described in.BR t_listen (3)with the additional considerations described here..PPUpon successful return.BR t_listen (3)indicates an existing connection and not a connection indication.  Since userdata cannot be exchanged during the connection establishment phase,.I call->udata.maxlenmust be set to zero (0) before the call to.BR t_listen (3).The.I call->addrstructure contains the remote calling socket..PP.B XTI-SCTPdoes not support the same semantics with regard to indication ofconnections, acceptance of indicated connections, and ne

⌨️ 快捷键说明

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