[comp.unix.i386] The LPI interface between IP and a Streams device driver, where?

hewett@uniol.UUCP (Andy Hewett) (08/23/90)

Environment
	Interactive Unix 386/ix 2.02 (V.3.2)
      	but probably also generic SysV.3.2

Does anybody know how I can get hold of a description of the 
Link Provider Interface which is used for passing messages 
between the IP driver and a Streams device driver?  The structures
are to be found in /usr/include/sys/lihdr.h (on 386/ix) and are
rather loosely described in llc(7).  Sorry if I'm a bit confused about
terms here but llc(7) calls this interface the "Link Provider Interface 
(LPI)" and lihdr.h calls it "Data Link Level Interface" !?!?!

I have figured out enough to get a driver for an ISDN card working with
tcp/ip, but there are several details that evade me (particularly the LSAP
portion of the remote address passed down from IP in a DL_UNITDATA_REQ).

In the next version of the driver I would like to get these details
straight and be able to link into the llc(7) driver if possible to 
avoid duplicate code. Does anybody have any information or hints on 
how to use the llc driver?

Perhaps I should mention that I have the Streams manuals (Primer,
Programmers Guide), Network Programmers Guide and BCI Driver Reference
Manual but they don't have anything on these topics.

Thanks in advance.

Andy Hewett.

-- 
/--------------------------------------------------------------------------\
| Andy Hewett                           	|  FB-10 Informatik        |
|                                       	|  Universitaet Oldenburg  |
| INET: hewett@informatik.uni-oldenburg.de	|  Postfach 2503           |
| UUCP: hewett@uniol.UUCP               	|  2900 Oldenburg          |
|      ... uunet!unido!uniol!hewett     	|  West Germany            |
| BITNET/EARN: 716697@DOLUNI11			|  TEL: (0441) 7982990/1   |
| Please use bitnet for Huge mail.		|  FAX: (0441) 7982155	   |
\--------------------------------------------------------------------------/