la(7) (TCP/IP) la(7)
NAME
la - ethernet device driver
SYNOPSIS
fd = open("/dev/en0", ORDWR);
DESCRIPTION
The la is a STREAMS-based cloned software driver used with the Riebl
Lance VME bus Ethernet board/driver. The la interface conforms to the
Data Link Provider Interface (DLPI).
During the TCP/IP startup, the la device is opened and linked to the
IP and ARP STREAMS modules via the slink command. From then on, la
converts all the outgoing packets, received from IP/ARP, to the
format defined by Common Environment/BPP interface and passes these
packets to the Riebl Board.
Upon receiving incoming packets from the Riebl board, la converts
these packets to the STREAMS-based DLPI format messages and passes
these packets to IP/ARP.
The name of the device node is``/dev/en0''. This device name is used
as the Ethernet network interface name in two places: by
ifconfig(1M) in the script /etc/inet/rc.inet; by cenet in the
database file /etc/inet/strcf.
The device supports two ioctls.
LA_GETADDR
returns the ethernet address stored in battery backed up ram on
the board.
LA_SETADDR
sets the ethernet address, and stores it in the battery backed
up ram.
SEE ALSO
enaddr(1M), slink(1M), strcf(4N), arp(7), ip(7).
McGrath, G, A STREAMS-based Data Link Provider Interface (DLPI) Issue
2, Version 1.2, AT&T Bell Laboratories, Summit, N.J., February 1989.
8/91 Page 1