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

📄 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 页
字号:
.BR t_optmgmt (3)See.IR T_IP_OPTIONS ..\".\".TP.B T_IP_RETOPTSDetermine whether a.I T_IP_RETOPTSoption 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.BR t_optmgmt (3)For additional information, see.BR xti_ip (3)..\".\".TP.B T_IP_TOSThis option determines the type of service to be used in IP packets associatedwith a subsequent data transmission.The option value is formatted as a.B t_scalar_tthat contains the type of service value.This option is used with.BR t_optmgmt (3).The current value that is set will be used on all packets went with.BR t_snd "(3), " t_sndv "(3), " write "(2) or " writev (2)..I T_IP_RECVTOSis set, the current value, when read, using.BR t_optmgmt (3),will return the value that was contained in the last IP packet read (orpartially read) with.BR t_rcv "(3), " t_rcvv "(3), " read "(2) or " readv (2).See.BR xti_ip (3)for additional information..\".\".TP.B T_IP_TTLThis option determines the time to live to be used in IP packets associatedwith a subsequent data transmission.The option value is formatted as a.B t_scalar_tthat contains the time to live value.This option is used with.BR t_optmgmt (3).The current value that is set will be used on all packets went with.BR t_snd "(3), " t_sndv "(3), " write "(2) or " writev (2)..I T_IP_RECVTOSis set, the current value, when read, using.BR t_optmgmt (3),will return the value that was contained in the last IP packet read (orpartially read) with.BR t_rcv "(3), " t_rcvv "(3), " read "(2) or " readv (2).See.BR xti_ip (3)for additional information..\".\".TP.B T_IP_MTUThis option is a read-only option that returns the value of the Path MTU for theSCTP association.See SCTP level options for a mechanism for obtaining MTU on a per-destinationbasis.  When the peer is not multi-homed, this option returns the same valueas would be obtained on a per-destination basis (because there is only onedestination).See.BR xti_ip (3)for additional information..\".\".TP.B T_IP_RECVERRNot supported..\".\".TP.B T_IP_PMTU_DISCOVERSupported for SCTP transport service providers without modification.  See.BR xti_ip (3)for additional information..\".\".SS "T_INET_SCTP".PPOptions within this level are specific to the Stream Control TransmissionProtocol (SCTP) yet are used by protocol levels using SCTP transport..PPThe options defined with the option level.B T_INET_SCTPare as follows:.\".\".TP.B T_SCTP_NODELAYThis option determines whether to delay transmission of data to attempt tocoalesce smaller packets into larger packets.The option value is formatted as a.B t_uscalar_tthat can have the values.BR T_YES " or " T_NO .When set to.BR T_YES ,it conveys that packets are not to be delayed to coalesce smaller packets.When set to.BR T_NO ,it conveys that packets are being delayed to coalesce smaller packets.This option is used with.BR t_optmgmt (3)..spThis option parallels the.I T_TCP_NODELAYoption for compatibility with.BR xti_tcp (3)..IR T_SCTP_NODELAY " and " T_TCP_NODELAYcan be used interchangeably..spWhen Nagle is enabled,.B SCTPuses the Nagle algorithm.[RFC 896.]for bundling DATA chunks into a packet.  This results in far fewer shortpackets in the network.  The algorithm is that described in RFC 896.[RFC 896.]ane RFC 1122.[RFC 1122.]with the Minshall modifications to accommodate delayed SACK as described indraft-minshall-nagle-01.txt..[minshall-nagle-01.](Note: later version of.BR tcp (7)also include the Minshall modification)..\".\".TP.B T_SCTP_MAXSEGThis option determines the maximum segment size for outgoing packets.  Valuesgreater thatn the association MTU are ignored and have no effect.  Thisparallels the.I T_TCP_MAXSEGoption for compatibility with.BR xti_tcp (3)..IR T_SCTP_MAXSEG " and " T_TCP_MAXSEGcan be used interchangeably..spThis value determines the maximum size (in bytes) above which SCTP willfragment larger DATA chunks into smaller DATA chunks, and beneath which SCTPwill bundle DATA chunks into a single packet or combined smaller DATA chunksinto larger DATA chunks.  Normally this value is the association MTU valueminus the size of the current IP and SCTP headers, minus the size of one DATAchunk header.  If the user sets this to a lower value, the lower value will beused..spThis option is formatted as a.B t_scalar_tindicating the maximum size in bytes.This option is used with.BR t_optmgmt (3)..\".\".TP.B T_SCTP_CORKThis option determines whether to cork the transmission stream waiting forsubsequent packets.  When set, this option permits a number of.BR t_snd (3)operations to be performed without sending the data subsequent to the cork.When the cork is released, all subsequent data will be permitted to proceed.The option is formatted as a.B t_scalar_tthat can have the values.BR T_YES ,conveying that transmission is corked, or.BR T_NO ,conveying that transmission is uncorked.THis option is used with.BR t_optmgmt (3)..\".\".TP.B T_SCTP_SIDThis option determines the SCTP Stream Identifier 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 Identifier.  This optionsis used with.BR t_optmgmt (3).The current value that is set will be used on all packets sent with.BR t_snd "(3), " t_sndv "(3), " write "(2) or " writev (2).When option.I T_SCTP_RECVSIDis set, 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).See.IR T_SCTP_RECVSID ..\".\".TP.B T_SCTP_PPIThis option determines the SCTP Payload Protocol Identifier that is to beassociated with a given data transmission.  The option value is formatted as a.B t_scalar_tthat contains the numeric value of the SCTP Payload Protocol Identifier.  Thisoption is used with.BR t_optmgmt (3).The current value that is set will be used on all packets sent with.BR t_snd "(3), " t_sndv "(3), " write "(2) or " writev (2).When option.I T_SCTP_RECVPPIis set, 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).See.IR T_SCTP_RECVPPI ..\".\".TP.B T_SCTP_RECVSIDDetermine whether a.I T_SCTP_SIDoptionindicating the SCTP Stream Identifier of the received datawill be included in a.BR T_OPTDATA_IND (7)message as well as reflected in the response to a 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_SCTP_SID ..\".\".TP.B T_SCTP_RECVPPIDetermine whether a.I T_SCTP_PPIoptionindicating the SCTP Payload Protocol Identifier of the received datawill be included in a.BR T_OPTDATA_IND (7)message as well as reflected in the response to a 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_SCTP_PPI ..\".\".TP.B T_SCTP_HEARTBEAT_ITVLThis option determines the time interval (in seconds) between successiveHEARTBEAT messages used to probe destination transport addresses for RTTcalculation and activity.  This option is formatted as a.BR t_scalar_t .Valud values are zero (0), indicating do not heartbeat, or a value of 1 secondor greater indicating the heartbeat interval.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_HB ,below..\".\".TP.B T_SCTP_HBThis option determines the heartbeat activation and interval associated witha specific destination address.  The option value is a.B t_sctp_hbstructure.  This option will return an error if it is attempted on a stream inthe unconnected state.  The.B t_sctp_hbstructure is formatted as follows:.sp.nf\fC\s-1\typedef struct t_sctp_hb {    uint32_t hb_dest;        /* destination address */    t_uscalar_t hb_onoff;    /* activation flag */    t_uscalar_t hb_itvl;     /* interval in milliseconds */} t_sctp_hb_t;\s+1\fR.fi.spThe.B t_sctp_hbstructure has the following fields:.RS.TP \w'hb_onoff\(em'u.I hb_destis the.B sockaddr_instructure that contains the destination address to which the heartbeat settingapplies..PD 0.TP.I hb_onoffis an integer boolean activation flag indicating whether heartbeat is activeon the destination..TP.I hb_itvlis the integer heartbeat interval in milliseconds..PD.PPThis option is intended to be used with.BR t_optmgmt "(3)..I destmust be one of the valid addresses associated with the connection.Note that heartbeat activity can also be set on an association basis using theoption.IR T_SCTP_HEARTBEAT_ITVL ..RE.\".\".TP.B T_SCTP_RTO_INITIALThis option determines the time interval (in milliseconds) that will be usedas an initial RTO (Retransmission Time Out) value when sending packets to adestination for the first time.This option if formatted as a.BR t_scalar_t .Valid values are zero or greater and must be within the range from.IR T_SCTP_RTO_MIN " to " 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_MINDetermine the time interval (in milliseconds) that will be used as a minimum

⌨️ 快捷键说明

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