Deutsch |
These programming examples are tailored to Solaris SPARC and Intel
platforms. They are published under the
dlpi
DLPI test program (not a driver)
streams/pts
Example of how to handle streams pseudo-ttys (not a driver).
mypipe
Char device driver with two instances which function together as a pipe.
Demonstrates the use of conditions.
streams/loop
Streams loopback driver. The data is returned with comments.
streams/mux
Streams lower multiplexor. Demonstrates the use of ioctl(I_LINK)
and ioctl(I_PLINK).
streams/spy
Simple streams spy. It is pushed onto a stream where it then logs all
the data in the stream.
streams/superspy
More sophisticated streams spy implemented as a multiplexor.
It is permanently linked to the streams device to be monitored.
The log data is read out via a control device.
There is also a program for tracing DLPI devices. It can be used, for example, to monitor the effect of ifconfig on the network card.