Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dlb(7) [osf1 man page]

dlb(7)							 Miscellaneous Information Manual						    dlb(7)

NAME
dlb, dlpi - STREAMS pseudodevice driver for bridging BSD Drivers to STREAMS SYNOPSIS
#include <sys/dlpihdr.h> #include <fcntl.h> fd = open ("/dev/streams/dlb", O_RDWR, 0); DESCRIPTION
The dlb STREAMS pseudodevice driver provides a communication path between BSD-style device drivers and STREAMS protocol stacks. The dlb STREAMS pseudodevice driver is the Stream end in a Stream that communicates with BSD-based device drivers. When the /dev/streams/dlb character device is open, a Stream is constructed between a Stream head and the dlb pseudodevice driver. After the Stream that is intended to communicate with the BSD-based driver or drivers is created, the protocol module or modules can be pushed onto it. Tru64 UNIX supports a subset of the Data Link Provider Interface (DLPI) connectionless mode of communication. The attach DLPI primitive is required to associate a particular physical point of attachment (PPA) with a Stream in Tru64 UNIX's implementation of the style 2 provider. On the write side, the dlb pseudodevice driver translates connectionless style 2 DLPI messages to the appropriate BSD ifnet interface mes- sages. On the read side, the user-bound Service Access Point (SAP) messages received from a selected PPA over BSD based driver or drivers are sent upstream. RELATED INFORMATION
Network Programmer's Guide specification in /usr/share/doclib/dlpi/dlpi.ps delim off dlb(7)

Check Out this Related Man Page

ifnet(7)						 Miscellaneous Information Manual						  ifnet(7)

NAME
ifnet - STREAMS ifnet module for bridging STREAMS device drivers to sockets SYNOPSIS
#include <sys/stropts.h> #define PIFNET_IOCTL_UNIT 1236 int ioctl( type fildes, type command, type arg ); int fildes, command; DESCRIPTION
ifnet is a STREAMS-based module that provides a bridge between STREAMS-based device drivers written to the Data Link Provider Interface (DLPI) and sockets. By using ifnet, STREAMS-based DLPI device drivers can work with TCP/IP, or any other networking protocols, implemented using sockets. An application pushes the ifnet module onto a Stream opened to the device driver. The application must then send an I_STR ioctl with a command of IFNET_IOCTL_UNIT to notify ifnet of the driver's unit number. It must then send a DL_BIND_REQ downstream to bind the appropri- ate protocol. Once the Stream or Streams are set up, the application has no work to do but must stay around to keep the Streams alive. This can be done with the pause(3) function. EXAMPLES
The following example illustrates how to send an I_STR ioctl with a command of IFNET_IOCTL_UNIT to notify ifnet of the driver's unit num- ber. struct strioctl str; int unit; . . . str.ic_cmd = IFNET_IOCTL_UNIT; str.ic_dp = &unit; /* unit number of device */ ioctl(fd, I_STR, &str); RELATED INFORMATION
Commands: pause(3). Network Programmer's Guide delim off ifnet(7)
Man Page