Technical data

SunOS 5.5 Devices llc1(7D)
NAME llc1 Logical Link Control Protocol Class 1 Driver
SYNOPSIS #include <sys/stropts.h>
#include <sys/ethernet.h>
#include <sys/dlpi.h>
#include <sys/llc1.h>
AVAILABILITY x86
DESCRIPTION The llc1 driver is a multi-threaded, loadable, clonable, STREAMS multiplexing driver
supporting the connectionlessData Link Provider Interface, dlpi(7P), implementing IEEE
802.2 Logical Link Control Protocol Class 1 over a STREAM to a MAC level driver. Mul-
tiple MAC level interfaces installed within the system can be supported by the driver.
The llc1 driver provides basic support for the LLC1 protocol. Functions provided
include frame transmit and receive, XID, and TEST, multicast support, and error
recovery and reporting.
The cloning, character-special device, /dev/llc1, is used to access all LLC1 controllers
configured under llc1.
The llc1 driver is a “Style 2” Data Link Service provider. All messages of types
M_PROTO and M_PCPROTO are interpreted as DLPI primitives. An explicit
DL_ATTACH_REQ message by the user is required to associate the opened stream with a
particular device (ppa). The ppa ID is interpreted as an unsignedlong and indicates the
corresponding device instance (unit) number. An error (DL_ERROR_ACK) is returned by
the driver if the ppa field value does not correspond to a valid device instance number
for this system.
The values returned by the driver in theDL_INFO_ACK primitive in response to the
DL_INFO_REQ from the user are as follows:
The maximum Service Data UNIT (SDU) is derived from the MAC layer linked
below the driver. In the case of an Ethernet driver, the SDU will be 1497.
The minimum SDU is 0.
The dlsap address length is 7.
The MAC type isDL_CSMACD or DL_TPR as determined by the driver linked
under llc1. If the driver reports that it is DL_ETHER, it will be changed to
DL_CSMACD; otherwise the type is the same as the MAC type.
The sap length value is 1, meaning the physical address component is followed
immediately by a 1-octet sap component within the DLSAP address.
The service mode is DL_CLDLS.
No optional quality of service (QOS) support is included at present, so the QOS
fields should be initializedto 0.
The provider style isDL_STYLE2.
The DLPI version isDL_VERSION_2.
modified 15 Oct 1993 7D-191