This directory contains example programs that use the
Data Link Protocol Interface (DLPI).
 
The program lapb.c shows how to establish a link over LAPB protocol.
This program handles both DCE and DTE sides.

The program llc2.c shows how to establish a connection over LLC2 
protocol. This program handles both initiator and responder sides of the  
connection.
 
When X.25 is running on the station and is configured to use a LLC2 link
over the same LAN driver, it is not necessary to build the streams architecture
for using DLPI over LLC2.

The  program llc2.client.x25.c illustrates the initiating side of a LLC2
connection in that case.

Notes :  
- It is not possible to use the same link identifiers as the X.25 stack
when it is running.
(e.g. If the stack is running and configured to use link ID 0 and 1 (default conf)
you can use any values between 2 and 254, but not values 0 and 1)

- It is not possible to use DLPI/LAPB and X.25 over the same physical
interface at the same time. (e.g. you cannot use both DLPI over LAPB over zsh0,
and X.25 over LAPB over zsh0 at the same time).

