de(4)
NAME
de − DEC DEUNA 10 Mb/s Ethernet interface
DESCRIPTION
The de interface provides access to a 10 Mb/s Ethernet network through a DEUNA controller.
The host’s Internet address is specified at boot time with an SIOCSIFADDR ioctl. The de interface employs the address resolution protocol described in arp(4p) to dynamically map between Internet and Ethernet addresses on the local network.
The interface normally tries to use a “trailer” encapsulation to minimize copying data on input and output. This can be disabled for an interface by setting the IFF_NOTRAILERS flag with an SIOCSIFFLAGS ioctl. Trailers are only used for packets destined for Internet hosts.
The SIOCSPHYSADDR ioctl can be used to change and SIOCRPHYSADDR can be used to read the physical address of the DEUNA. SIOCADDMULTI and SIOCDELMULTI can be used to add or delete multicast addresses. The DEUNA recognizes at most 10 multicast addresses. The argument to the latter ioctls is a pointer to an ifreq structure found in <net/if.h>.
SIOCCRDCTRS and SIOCRDZCTRS ioctls can be used to read or "read and clear" the deuna counters. The argument to the latter two ioctls is a pointer to a counter structure "ctrreq" found in <net/if.h>.
The ioctls SIOCENABLBACK and SIOCDISABLBACK can be used to enable and disable the interface loopback mode respectively.
RESTRICTIONS
The PUP protocol family is not supported.
DIAGNOSTICS
de%d: command failed, csr0=%b csr1=%b. Here command is one of reset, pcbb, rdphyad, wtring, or wtmode. This message is printed if there is an error on device initialization. The following command failures can occur during ioctl requests:
wtphyadd. An attempt to change the physical address failed.
rdphyadd. An attempt to read the physical address failed.
wtmulti. An attempt to add a new multicast address failed.
mtmulti failed, multicast list full. An attempt to add a new multicast address failed because the maximum number of multicast addresses has been reached.
rdcnts. An attempt to read the DEUNA counters failed.
The following messages occur while transmitting or receiving packets:
de%d: buffer unavailable. Packets are being received by the interface faster than they can be serviced by the driver.
de%d: can’t handle af%d. The interface was handed a message with addresses formatted in an unsuitable address family; the packet was dropped.