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

📄 ec.4

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 4
字号:
.\" SCCSID: @(#)ec.4	8.1	9/11/90.TH ec 4 VAX "" Unsupported.SH Nameec \- 3Com 10 Mb/s Ethernet interface.SH Syntax.B "device ec0 at uba0 csr 0161000 vector ecrint eccollide ecxint".SH DescriptionThe.PN ecinterface provides access to a 10 Mb/s Ethernet network througha 3com controller..PPThe hardware has 32 kilobytes of dual-ported memory on the UNIBUS. This memoryis used for internal buffering by the board, and the interface code readsthe buffer contents directly through the UNIBUS..PPThe host's Internet address is specified at boot time with an SIOCSIFADDRioctl.  The.PN ecinterface employs the address resolution protocol described in.MS arp 4pto dynamically map between Internet and Ethernet addresses on the localnetwork..PPThe interface software implements an exponential backoff algorithmwhen notified of a collision on the cable. This algorithm utilizesa 16-bit mask and the VAX-11's interval timer in calculating a seriesof random backoff values. The algorithm is as follows:.TP 51.Initialize the mask to be all 1's..TP 52.If the mask is zero, 16 retries have been made and we giveup..TP 53.Shift the mask left one bit and formulate a backoff bymasking the interval timer with the mask (this is actuallythe two's complement of the value)..TP 54.Use the value calculated in step 3 to delay before retransmittingthe packet.  The delay is done in a software busy loop..PPThe interface normally tries to use a ``trailer'' encapsulationto minimize copying data on input and output.  This may bedisabled, on a per-interface basis, by setting the IFF_NOTRAILERSflag with an SIOCSIFFLAGS ioctl..SH Diagnostics.BR "ec%d: send error" ..brAfter 16 retransmissions using theexponential backoff algorithm described above, the packetwas dropped..PP.BR "ec%d: input error (offset=%d)" ..brThe hardware indicated an errorin reading a packet off the cable or an illegally sized packet.The buffer offset value is printed for debugging purposes..PP.BR "ec%d: can't handle af%d" ..brThe interface was handeda message with addresses formatted in an unsuitable addressfamily; the packet was dropped..SH See Alsointro(4n), inet(4f), arp(4p)

⌨️ 快捷键说明

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