|HP-UX Reference > L
HP-UX 11i Version 3: February 2007
lan — network I/O card access information
This manual entry gives a brief description on how to access the LAN device driver at Layer 2 (Data Link Layer) of the OSI architecture. The LAN device driver controls the various LAN interface cards (e.g, Ethernet/IEEE 802.3, FDDI, Token Ring) at Layer 1 (Physical Layer).
The Data Link Provider Interface (DLPI) is the supported method for accessing the LAN device driver at Layer 2. DLPI is intended for use by knowledgeable network users only. Refer to the DLPI Programmer's Guide for complete programming details.
There are HP and non-HP drivers and interface cards which will provide their own DLPI module. These types of DLPI are referred to as "native" DLPI.
The Physical Point of Attachment (PPA) is a numerical value that uniquely identifies a particular device. The PPA value can be obtained from the nwmgr and lanscan commands. The "ClassInstance" identifier in the nwmgr output is the concatenation of the driver class (lan) and the PPA number. The "NamePPA" identifier in the lanscan output is a concatenation of the interface name and the PPA number. The card instance value for a lan device is equivalent to the PPA number for that device.
A single hardware device may have multiple "NamePPA" identifiers, which indicates multiple encapsulation methods supported for to the device. For Ethernet/IEEE 802.3 links, the "Name" lan is used to designate Ethernet encapsulation, and snap for IEEE 802.3 encapsulation. For other links (FDDI, Token Ring), only the lan encapsulation designation is used.
Methods of transfer over the DLPI interface through the lan devices include "raw", "connectionless", and "connection-oriented" data transfers.
The lanadmin, lanscan and linkloop commands are deprecated. These commands will be removed in a future HP-UX release. HP recommends the use of replacement command nwmgr(1M) to perform all network interface-related tasks.
DLPI Programmer's Guide, 1995, Hewlett-Packard
The Ethernet, A LAN: Data Link Layer and Physical Specification, Version 2.0, November 1982, Digital Equipment Corporation, Intel Corporation, Xerox Corporation
CSMA/CD Access Method and Physical Layer Specification, 1996, Institute of Electrical and Electronic Engineers
Demand-Priority Access Method, Physical Layer & Repeater Specifications, 1996, Institute of Electrical and Electronic Engineers
Fiber Distributed Data Interface (FDDI) Physical Layer Medium Dependent (PMD), 1995, ANSI
Token Ring Access Method and Physical Layer Specification, 1995, Institute of Electrical and Electronic Engineers
802.3u Media Access Control Parameters, Physical Layer, Medium Attachment Units, and Repeater for 100 Mb/s Operation, Type 100BASE-T, 1995, Institute of Electrical and Electronic Engineers