📄 xti_sctp.3.man
字号:
RTO (Retransmission Time Out) value when sending packets.This option if formatted as a.BR t_scalar_t .Value values arezero or greater and must be less than or equal to the value.IR T_SCTP_RTO_MAX .To be effective, this option must be set with the call to.BR t_connect "(3) or before the call to " t_listen (3),or when a passive connection indication is accepted with.BR t_accept (3).Active destinations can be controlled with the option.IR T_SCTP_RTO ,below..\".\".TP.B T_SCTP_RTO_MAXDetermine the time interval (in milliseconds) that will be used as a maximumRTO (Retransmission Time Out) value when sending packets.This option if formatted as a.BR t_scalar_t .Value values arezero or greater and must be greater than or equal to the value.IR T_SCTP_RTO_MIN .To be effective, this option must be set with the call to.BR t_connect "(3) or before the call to " t_listen (3),or when a passive connection indication is accepted with.BR t_accept (3).Active destinations can be controlled with the option.IR T_SCTP_RTO ,below..\".\".TP.B T_SCTP_PATH_MAX_RETRANSThis option determines the number of times that the sending endpoint willattempt retransmitting a packet to a given destination transport address beforeit considers that destination transport address inactive. This option isformatted as a.BR t_scalar_t .Value values include zero.This options is used with.BR t_optmgmt "(3), " t_connect "(3) or " t_accept (3)..spThe value set with.BR t_optmgmt (3)is the value that will be assigned to new destinations.To be effective, this option must be set with the call to.BR t_connect "(3) or before the call to " t_listen (3),or when a passive connection indication is accepted with.BR t_accept (3).Active destinations can be controlled with the option.IR T_SCTP_RTO ,below..\".\".TP.B T_SCTP_RTOThis option determines the retransmission timeout parameters associated with aspecific destination address.The option value is formatted as a.B t_sctp_rtostructure, formatted as follows:.sp.nf\fC\s-1\typedef struct t_sctp_rto { uint32_t rto_dest; /* destination address */ t_uscalar_t rto_initial; /* RTO.Initial (millisec) */ t_uscalar_t rto_min; /* RTO.Min (millisec) */ t_uscalar_t rto_max; /* RTO.Max (millisec) */ t_uscalar_t max_retrans; /* Path.Max.Retrans (retries) */} t_sctp_rto_t;\s+1\fR.fi.spThe.B t_sctp_rtostructure has the following fields:.RS.TP \w'max_retrans\(em'u.I rto_destis a.B sockaddr_instructure that contains the destination address to which the rto parametersettings apply..PD 0.TP.I rto_initialis the.B t_uscalar_tinitial retransmission timeout value in milliseconds. For valid values, see.IR T_SCTP_RTO_INITIAL ..TP.I rto_minis the.B t_uscalar_tminimum retransmission timeout value in milliseconds. For valid values, see.IR T_SCTP_RTO_MIN ..TP.I rto_maxis the.B t_uscalar_tmaximum retransmission timeout value in milliseconds. For valid values, see.IR T_SCTP_RTO_MAX ..TP.I max_retransis the.B t_uscalar_tmaximum number of retransmissions. For valid values, see.IR T_SCTP_PATH_MAX_RETRANS ..PD.PPFor use with.BR t_optmgmt (3),.I destmust be one of the valid destination addresses associated with the transportconnection..RE.\".\".TP.B T_SCTP_CKSUM_TYPEThis option determines the checksum type that will be used to checksum SCTPpackets.The option value is formatted as a.BR t_scalar_t ,and can have on of the following values:.RS.TP.I T_SCTP_CSUM_ADLER_32use the older RFC 2960.[RFC 2960.]Adler 32 checksum to checksum SCTP packets..TP.I T_SCTP_CSUM_CRC_32Cuse the newer RFC 3309.[RFC 3309.]CRC32 checksum to checksum SCTP packets..PPTo be effective, this option must be set with the call to.BR t_connect "(3) or before the call to " t_listen (3),or when a passive connection indication is accepted with.BR t_accept (3)..RE.\".\".TP.B T_SCTP_MAC_TYPEThis option determines the MAC (Message Authentication Code) type that will beused with signing cookies in INIT-ACK messages.The option value is formatted as a.BR t_scalar_t ,and can have one of the following values:.RS.TP.I T_SCTP_HMAC_NONENo message authentication code will be used. The MAC field will be populatedwith all ones. This completely disables the MAC features of.BR SCTP ,and should be used with caution..TP.I T_SCTP_HMAC_SHA_1The message authentication code will use SHA-1 message digest..TP.I T_SCTP_HMAC_MD5The message authentication code will use MD5 message digest..PPTo be effective, this option must be set before the call to.BR t_listen (3),or when a passive connection indication is accepted with.BR t_accept (3).The option can be read at any time and reflects the current setting..RE.\".\".TP.B T_SCTP_COOKIE_LIFEDetermines the cookie lifetime associated with a transport endpoint. This isthe amount of time that cookies sent to the peer endpoint in an INIT-ACKmessage will be valid. For.B SCTPthis also limits the maximum for which the HMAC secret key for the cookie willbe valid. The option value is formatted as a.B t_scalar_tthat contains the time interval in milliseconds. Valid values are zero (0) orgreater. The default value is that proscribed by RFC 2960..[RFC 2960.]This options is used with.BR t_optmgmt "(3), " t_connect "(3) or " t_accept (3)..spThe value set with.BR t_optmgmt (3)is the value assigned to the transport endpoint.To be effective, this option must be set with the call to.BR t_connect "(3) or before the call to " t_listen (3),or when a passive connection indication is accepted with.BR t_accept (3)..spReducing this value will increase the changes that passive connection attemptswill fail due to expired cookies. Increasing the value will reduce theoverall security of the system by permitting attackers an increased intervalto crack HMACs and guess verification tags. This value may be adjusted inconjunction with the.I T_SCTP_COOKIE_INCto meet most objected for successful passive connection attempts with the bestsecurity afforded by smaller values of.IR T_SCTP_COOKIE_LIFE ..spUnfortunately the.IR T_SCTP_COOKIE_LIFE " and " T_SCTP_COOKIE_INCmust be adjusted to accommodate the slowest peer on the slowest connection.The default setting is adequate for Internet applications..\".\".TP.B T_SCTP_COOKIE_INCThis option determines the time increment (in milliseconds) that will be addedto the lifespan of the cookie in an INIT-ACK if the sender of the INITrequested cookie preservation to lengthen the lifespan of the cookie.The option value is formatted as a.BR t_scalar_t .Valid values include zero.To be effective, this option must be set before the call to.BR t_listen (3),or when a passive connection indication is accepted with.BR t_accept (3).The option can be read at any time and reflects the current setting..\".\".TP.B T_SCTP_THROTTLE_ITVLDetermines the interval (in milliseconds) within which the receiver will notaccept more than one INIT or COOKIE-ECHO.The option value is formatted as a.BR t_scalar_t .Zero (don't throttle) is a valid value.To be effective, this option must be set before the call to.BR t_listen (3),or when a passive connection indication is accepted with.BR t_accept (3).The option can be read at any time and reflects the current setting..\".\".TP.B T_SCTP_ISTREAMSSets the maximum number of inbound streams or gets the actual number ofinbound streams associated with the transport connection.The option value is formatted as a.BR t_scalar_t .Valid values are from 1 to 16,736.To be effective, this option must be set with the call to.BR t_connect "(3) or before the call to " t_listen (3),or when a passive connection indication is accepted with.BR t_accept (3).For active transport connections, setting this option has no effect on thecurrent transport connection..\".\".TP.B T_SCTP_OSTREAMSSets the maximum number of outbound streams or gets the actual number ofoutbound streams associated with the transport connection.The option value is formatted as a.BR t_scalar_t .Valid values are from 1 to 16,736.To be effective, this option must be set with the call to.BR t_connect "(3) or before the call to " t_listen (3),or when a passive connection indication is accepted with.BR t_accept (3).For active transport connections, setting this option has no effect on thecurrent transport connection..\".\".TP.B T_SCTP_SSNThis option determines the SCTP Stream Sequence Number that is to be associatedwith a given data transmission. The option value is formatted as a.B t_scalar_tthat contains the numeric value of the SCTP Stream Sequence Number. This optionsis used with.BR t_optmgmt (3).The SCTP transport provider determines which values will be used on all packets sent with.BR t_snd "(3), " t_sndv "(3), " write "(2) or " writev (2).The current value, when read, using.BR t_optmgmt (3),will return the value that was contained in the last packet read with.BR t_rcv "(3), " t_rcvv "(3), " read "(2) or " readv (2)..\".\".TP.B T_SCTP_ECNThis option determines whether the Explicit Congestion Notification (ECN)capability of RFC 3168.[RFC 3168.]and Appendix A of RFC 2960.[RFC 2960.]is used on the transport connection.The option value is formatted as a.B t_scalar_tand have have valid values.BR T_YES " or " T_NO ..spWhen set to.BR T_YES ,explicit congestion notification is enabled on the transport connection.When set to.BR T_NO ,explicit congestion notification is disabled on the transport connection.To be effective, this option must be set with the call to.BR t_connect "(3) or before the call to " t_listen (3),or when a passive connection indication is accepted with.BR t_accept (3).For active transport connections, setting this option has no effect on thecurrent transport connection..\".\".TP.B T_SCTP_ALIThis option determines the adaptation layer information(described in draft-ietf-tsvwg-addip-sctp-07.txt).[draft-ietf-tsvwg-addip-sctp-07.txt.]to be used in the INITor INIT-ACK on all passive or active connection attempts on the transportendpoint, or gets the adaptation layer information provided by the transportpeer on a connected transport endpoint.The option value is formatted as a.B t_scalar_tthat contains the adaptation layer information..spWhen set to zero (0), no adaptation layer information will be included in theINIT or INIT-ACK; when non-zero, it contains the flag bits that will be sentin the adaptation layer information in the INIT or INIT-ACK.To be effective, this option must be set with the call to.BR t_connect "(3) or before the call to " t_listen (3),or when a passive connection indication is accepted with.BR t_accept (3)..spIf the transport endpoint is in a disconnected state (and has never beenconnected), getting this option returns zero (0). If the transport endpointhas been in a connected state, getting this option returns zero (0) if noadaptation layer information was present during the connection, or returnsthe adaptation layer information bits if provided by the peer..spThis option supports the adaptation layer information features described indraft-ietf-tsvwg-addip-sctp-07.txt..[draft-ietf-tsvwg-addip-sctp-07.txt.].\".\".TP.B T_SCTP_PRThis option determines whether partial reliability (described indraft-ietf-tsvwg-prsctp-00.txt).[draft-ietf-tsvwg-prsctp-00.txt.]will be supported or required on transport connection establishment, or getsthe indication of support for partial reliability provided by the peer on aconnected transport endpoint.The option value is formatted as a.B t_scalar_tand can contain one of the following values:.RS.TP.I T_SCTP_PR_NONEdo not place or response with a Forward TSN parameter in an INIT or INIT-ACKindicating to the peer that we do not support partial reliability for thistransport connection..TP.I T_SCTP_PR_PREFERREDplace and response with a Forward TSN parameter in an INIT or INIT-ACKindicating to the peer that we support partial reliability, but do no requirethe peer to support partial reliability..TP.I T_SCTP_PR_REQUIREDplace and response with a Forward TSN parameter in an INIT or INIT-ACKindicating to the peer that we support partial reliability and require thepeer to do the same..PPFor a connected transport endpoint, when this options is set to.BR T_SCTP_PR_PREFERRED " or " T_SCTP_PR_REQUIRED ,it indicates that the peer supports partial reliability. When set to.BR T_SCTP_PR_NONE ,it indicates that the peer does not support partial reliability..RE.\".\".TP.B T_SCTP_MAX_INIT_RETRIESThis option determines the number of times that an INIT or COOKIE-ECHO will beresent before abandoning the transport connection initialization.This option value is formatted as a.BR t_scalar_t .To be effective, this option must be set with the call to.BR t_connect "(3) or before the call to " t_listen (3),or when a passive connection indication is accepted with.BR t_accept (3)..\".\".TP.B T_SCTP_MAX_BURSTThis option determines the number of MTUs of data that will be sent in asingle burst, as defined indraft-ietf-tsvwg-sctpimpguide-08.txt..[draft-ietf-tsvwg-sctpimpguide-08.txt.]The option value is formatted as a.BR t_scalar_t .Valid values are one (1) or greater. This option may be changed at any timeduring the transport connection lifetime. This option is of localsignificance only..\".\".TP.B T_SCTP_ASSOC_MAX_RETRANSDetermines the number of times that the sending endpoint will attemptretransmitting a packet on a given transport connection before it aborts theconnection.This option is formatted as a.BR t_scalar_t .Value values include zero. This value should be larger than the sum of allthe.I T_SCTP_PATH_MAX_RETRANSvalues of each of the destinations. This option may be changed on the streamat any time during the life of the transport connection..\".\".TP.B T_SCTP_SACK_DELAYThis option determines the maximum SACK delay as the interval of time (inmilliseconds) that the sending endpoint will delay an acknowledgment of areceived DATA chunk.The option value is formatted as a.BR t_scalar_t .Valid values are zero (0) or greater, however, the maximum SACK delay shouldnot exceed 500 milliseconds (setting this value to greater than 500milliseconds is forbidden by RFC 2960).[RFC 2960.]for Internet Applications.This option may be changed at any time during the life of the transport
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -