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

📄 en.4

📁 早期freebsd实现
💻 4
字号:
.\" Copyright (c) 1983, 1991, 1993.\"	The Regents of the University of California.  All rights reserved..\".\" Redistribution and use in source and binary forms, with or without.\" modification, are permitted provided that the following conditions.\" are met:.\" 1. Redistributions of source code must retain the above copyright.\"    notice, this list of conditions and the following disclaimer..\" 2. Redistributions in binary form must reproduce the above copyright.\"    notice, this list of conditions and the following disclaimer in the.\"    documentation and/or other materials provided with the distribution..\" 3. All advertising materials mentioning features or use of this software.\"    must display the following acknowledgement:.\"	This product includes software developed by the University of.\"	California, Berkeley and its contributors..\" 4. Neither the name of the University nor the names of its contributors.\"    may be used to endorse or promote products derived from this software.\"    without specific prior written permission..\".\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION).\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF.\" SUCH DAMAGE..\".\"     @(#)en.4	8.1 (Berkeley) 6/5/93.\".Dd June 5, 1993.Dt EN 4 vax.Os BSD 4.2.Sh NAME.Nm en.Nd Xerox 3 Mb/s Ethernet interface.Sh SYNOPSIS.Cd "device en0 at uba0 csr 161000 vector enrint enxint encollide".Sh DESCRIPTIONThe.Nm eninterface provides access to a 3 Mb/s Ethernet network.Due to limitations in the hardware,.Tn DMAtransfersto and from the network must take place in the lower 64K bytesof the.Tn UNIBUSaddress space, and thus this must be among the first.Tn UNIBUSdevices enabled after boot..PpEach of the host's network addressesis specified at boot time with an.Dv SIOCSIFADDR.Xr ioctl 2 .The station address is discovered by probing the on-board Ethernetaddress register, and is used to verify the protocol addresses.No packets will be sent or accepted until a network address is supplied..PpThe interface software implements an exponential backoff algorithmwhen notified of a collision on the cable.  This algorithm utilizesa 16-bit mask and the.Tn VAX-11 Ns 'sinterval timer in calculating a seriesof random backoff values.  The algorithm is as follows:.Pp.Bl -enum -offset indent.ItInitialize the mask to be all 1's..ItIf the mask is zero, 16 retries have been made and we giveup..ItShift 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)..ItUse the value calculated in step 3 to delay before retransmittingthe packet..El.PpThe interface handles both Internet and.Tn NSprotocol families.It normally tries to use a.Dq trailerencapsulationto minimize copying data on input and output.The use of trailers is negotiated with.Tn ARP .This negotiation may be disabled, on a per-interface basis,by setting the.Dv IFF_NOTRAILERSflag with an.Dv SIOCSIFFLAGS.Xr ioctl ..Sh DIAGNOSTICS.Bl -diag.It en%d: output error.The hardware indicated an error onthe previous transmission..Pp.It en%d: send error.After 16 retransmissions using theexponential backoff algorithm described above, the packetwas dropped..Pp.It en%d: input error.The hardware indicated an errorin reading a packet off the cable..Pp.It en%d: can't handle af%d.The interface was handeda message with addresses formatted in an unsuitable addressfamily; the packet was dropped..El.Sh SEE ALSO.Xr netintro 4 ,.Xr inet 4.Sh HISTORYThe.Nmdriver appeared in.Bx 4.2 ..Sh BUGSThe device has insufficient buffering to handle back toback packets.  This makes use in a production environmentpainful..PpThe hardware does word at a time.Tn DMAwithout byte swapping.To compensate, byte swapping of user data must either be done by the user or by the system.  A kludge to byte swap only.Tn IPpackets is provided if the.Dv ENF_SWABIPSflag is defined inthe driver and set at boot time with an .Dv SIOCSIFFLAGS .Xr ioctl .

⌨️ 快捷键说明

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