📄 tp.4p
字号:
means that upon receipt of the packet that representsthe high edge of the last window advertised, and AK TPDU is generated..\" ******************8.TP 25p_rx_strat4 bit mask[ TPRX_USE_CW | TPRX_FASTSTART overconnectionless network protocols ][ TPRX_USE_CW overconnection-oriented network protocols ].IPThis parameter applies only to class 4.The bit mask may include the following values:.IPTPRX_EACH: When a retransmission timer expires, retransmiteach packet in the send window rather thanjust the first unacknowledged packet..IPTPRX_USE_CW: Use a "congestion window" strategy borrowedfrom Van Jacobson's congestion window strategy for TCP.The congestion window size is set to one whenevera retransmission occurs..IPTPRX_FASTSTART: Begin sending the maximum amount of data permittedby the peer (subject to availability).The alternative is to start sending slowly by pretending the peer's window is smaller than it is, and lettingit slowly grow up to the real peer's window size.This is to smooth the effect of new connections on a congested networkby preventing a transport connection from suddenly overloading the network with a burst of packets.This strategy is also due to Van Jacobson..\" ******************8.TP 25p_class5 bit mask[ TP_CLASS_4 | TP_CLASS_0 ].IPBit mask including one or both of the values TP_CLASS_4 and TP_CLASS_0.The higher class indicated is the preferred class.If only one class is indicated, negotiation will not occurduring connection establishment..\" ******************8.TP 25p_xtd_formatBoolean.[ false ].IPBoolean indicating that extended format shall be negotiated.This parameter applies only to class 4..\" ******************8.TP 25p_xpd_serviceBoolean.[ true ].IPBoolean indicating that the expedited data transport service will be negotiated.This parameter applies only to class 4..\" ******************8.TP 25p_use_checksumBoolean.[ true ].IPBoolean indicating the the use of checksums will be negotiated.This parameter applies only to class 4..\" ******************8.TP 25p_use_nxpdReserved for future use..\" ******************8.TP 25p_use_rccReserved for future use..\" ******************8.TP 25p_use_efcReserved for future use..\" ******************8.TP 25p_no_disc_indicationsBoolean.[ false ].IPBoolean indicating that the local TP entity shall not issueindications (signals) when a TP connection is disconnected..\" ******************8.TP 25p_dont_change_paramsBoolean.[ false ].IPIf \fBtrue\fR the TP entity will not overrideany of the other values given in this structure.If the values cannot be used, the TP entity will drop, disconnect,or refuse to establish the connection to which this structure pertains..\" ******************8.TP 25p_netserviceOne of { ISO_CLNS, ISO_CONS, ISO_COSNS, IN_CLNS }.[ ISO_CLNS ].IPIndicates which network service is to be used..IPISO_CLNS indicates the connectionless network service providedby CLNP (ISO 8473)..IPISO_CONS indicates the connection-oriented network service providedby X.25 (ISO 8208) and ISO 8878..IPISO_COSNS indicates the connectionless network service running over aconnection-oriented subnetwork service : CLNP (ISO 8473) over X.25 (ISO 8208)..IPIN_CLNS indicates the DARPA Internet connectionless network service provided by IP (RFC 791)..\" ******************8.TP 25p_dummyReserved for future use..sp 1.PPThe TPOPT_FLAGS option is used for obtainingvarious boolean-valued options.Its meaning is as follows.The bit numbering used is that of the PC/RT, which means that bit0 is the most significant bit, while bit 8 is the least significant bit..nf.sp 1\fIValues for TPOPT_FLAGS:\fR.fi.TP 10\fBBits\fR\fBDescription [Default]\fR.TP 100TPFLAG_NLQOS_PDN : set when the quality of the network service issimilar to that of a public data network..TP 101TPFLAG_PEER_ON_SAMENET : set when the peer TP entityis considered to be on the same network as the localTP entity..TP 102Not used..TP 103TPFLAG_XPD_PRES : set when expedited data are present[ 0 ].TP 104..7Reserved..\".TP 10.\"4.\"Reserved..\".TP 10.\"5.\"TPFLAG_DISC_DATA_IN : read only flag, if set indicates that.\"data from a disconnect TPDU are present..\".TP 10.\"6.\"Reserved..\".TP 10.\"7.\"TPFLAG_CONN_DATA_IN : read only flag, if set indicates that.\"data from a connect TPDU are present..SH "LIBRARIES.PPThe new system calls \fIrecvv\fR and \fIsendv\fR are supported by alibrary, \fIlibtp.a\fR (rather than a modified C library). Also in thislibrary are new optional interfaces to the \fIconnect\fR and \fIaccept\fRsystem calls. See LIBTP(3)..SH FILES.PPThe following files in have entries necessary for the correct operationof the TP utilities..nf\fC /etc/isodir /etc/protocols\fR.fi.PPThe symbolic link is needed for users to write programs using IPCwith TP:.nf\fC /usr/include/netargo@ -> /sys/netargo\fR.fi.PPThe following utilities have changed:.nf netstat ifconfig config.fi.PPThe following are new utilities and daemons:.nf isoroute rlogin.iso, rcp.iso, rsh.iso, isod, rlogind tpdiscard tpping tppt (for maintenance and debugging) bark (for maintenance and debugging) tpfileget, tpfileput (for debugging) tpstat, tpmon tpset tppkt viid.fi.PPIn the kernel source, many files have changed or been added.For a list of these, see the installation guide,"Installing Wisconsin ARGO 1.0 on Academic Operating System 4.3Release 2"..SH "ERROR VALUES.PPThe TP entity returns \fIerrno\fR error values as defined in\fB<sys/errno.h>\fRand\fB<netargo/iso_errno.h>\fR.User programs may print messages associated with these value byusing an expanded version of \fIperror()\fRfound in the ISO library, \fIlibisodir.a\fR..PPIf the TP entity encounters asynchronous eventsthat will cause a transport connection to be closed,such astiming out while retransmitting a connect request TPDU,or receiving a DR TPDU,the TP entity issues a SIGURG signal, indicating thatdisconnection has occurred.If the signal is issued during a a system call, the system call may be interrupted,in which case the\fIerrno\fR value upon return from the system call is EINTR.If the signal SIGURGis being handled by readingfrom the socket, and it was a \fIaccept()\fR thattimed out, the read may result in ENOTSOCK,because the \fIaccept()\fR call had not yet returned alegitimate socket descriptor when the signal was handled.ETIMEDOUT (or a some other errno value appropriate to thetype of error) is returned if SIGURG is blockedfor the duration of the system call.A user program should take one of the following approaches:.IP "Block SIGURG." 5If the program is servicingonly one connection, it can block or ignore SIGURG during connection establishment.The advantage of this is that the \fIerrno\fR valuereturned is somewhat meaningful.The disadvantage of this is thatif ignored, disconnection and expedited data indications could bemissed.For some programs this is not a problem..IP "Handle SIGURG." 5If the program is servicing more than one connection at a timeor expedited data may arrive or both, the program mustservice SIGURG.It can use the \fIgetsockopt(...TPOPT_FLAGS...)\fR system call to see if the signalwas due to the arrival of expedited data or due to a disconnection.In the latter case, \fIgetsockopt()\fRwill return ENOTCONN..SH BUGS.PPWhen running TP over the token ring, if checksummingis NOT used, the TP entity sents packets to the lan driver faster thanthe driver can reasonably handle them.A bug in the lan driver causes it to reorder the packets in thissituation, causing an overall degradation of TP performance.In general, this is not a problem because very few applicationswill actually be able to send packets this fast.Nevertheless,in order to prevent this reordering, one may induce a delay in the TP entity by setting the 1-bytevalue\fItp_delay\fRto 1using the debugger.Hit the <pause> key, thentype \fB/b tp_delay\fR followed by the <enter key>.The debugger will print the value 00. You then type \fB1\fR followed by the <enter key>.Then type \fBend\fR <enter key>.Then type \fBgo\fR <enter key>..SH SEE ALSO.PPtcp(4P), sendv(2), recvv(2), libtp(3),isodir(3), isodir(5), netstat(1),iso(4F), clnp(4P), viid(8)tppt(8), tpstat(8), bark(8), tppkt(8), tpset(8), tpperf(8)isoroute(8), ifconfig(8), isod(8), rlogin.iso(1),"Installing Wisconsin ARGO 1.0 on Academic Operating System 4.3Release 2","ARGO 1.0 Kernel Programmer's Manual"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -